From Documentation

Jump to: navigation, search








Syntax:

<web-app-factory-class>a_class_name</web-app-factory-class>
[Default: none (and SimpleWebApp is used)]
[since 6.0.0]

It specifies which class is used to instantiate the instance of the implementation of the Web application. The class must have a default constructor (without any argument), and implement the WebAppFactory interface.

<system-config>
  <web-app-factory-class>foo.MyKillerAppFactory</web-app-factory-class>
</system-config>

Alternatively, you could use the web-app-class element instead. Notice, if both specified, the web-app-factory-class element has the higher priority.

Version History

Last Update : 2011/10/3


Version Date Content
6.0.0 September 2011 This feature was introduced



Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.



You got stuck here?
Let us know how we can improve this page
For specific questions please use the forum