| de.jwic.base.IApplicationSetup
All known Subclasses: de.jwic.base.XmlApplicationSetup, de.jwic.spring.IocApplicationSetup, de.jwic.base.ApplicationSetupBean,
IApplicationSetup | public interface IApplicationSetup extends Serializable(Code) | | Describes the properties of an jwic application used to manage the lifecycle.
author: Florian Lippisch version: $Revision: 1.1 $ |
Method Summary | |
public IApplication | createApplication() Returns the application class. | public String | getName() Returns the name of the application. | public String | getProperty(String key) Returns an application specific property. | public boolean | isRequireAuthentication() Returns if the application can be accessed only if the user is authenticated.
To use this feature, an IAuthenticator must be specified for the
invoker (i.e. | public boolean | isSerializable() Returns if the application is serializable. | public boolean | isSingleSession() Returns if the application should be loaded only once per client(-session). | public boolean | isUseAjaxRendering() Returns true if the application should be rendered using ajax
(Asynchronous JavaScript and XML) and DTHML. |
createApplication | public IApplication createApplication()(Code) | | Returns the application class.
|
getName | public String getName()(Code) | | Returns the name of the application.
|
getProperty | public String getProperty(String key)(Code) | | Returns an application specific property.
Parameters: key - |
isRequireAuthentication | public boolean isRequireAuthentication()(Code) | | Returns if the application can be accessed only if the user is authenticated.
To use this feature, an IAuthenticator must be specified for the
invoker (i.e. DispatcherServlet)
|
isSerializable | public boolean isSerializable()(Code) | | Returns if the application is serializable. Applications should be serializable by
default to allow the runtime to "swap out" sessions. If an application is marked
not serializable, the session will remain loaded until the application is terminated
or the session times out.
|
isSingleSession | public boolean isSingleSession()(Code) | | Returns if the application should be loaded only once per client(-session). If
set to true, each try to launch another instance of the application will only
reactivate an existing session if exists.
|
isUseAjaxRendering | public boolean isUseAjaxRendering()(Code) | | Returns true if the application should be rendered using ajax
(Asynchronous JavaScript and XML) and DTHML. The default value
is true.
|
|
|