Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.server.webapp
Class BaseWebApplication

java.lang.Object
  extended by org.apache.wicket.Application
      extended by org.apache.wicket.protocol.http.WebApplication
          extended by eu.esdihumboldt.hale.server.webapp.BaseWebApplication
All Implemented Interfaces:
org.apache.wicket.event.IEventSink, org.apache.wicket.session.ISessionStore.UnboundListener
Direct Known Subclasses:
ConsoleApplication, ProjectsApplication, RootApplication, StatusApplication, WebTransformApplication

public abstract class BaseWebApplication
extends org.apache.wicket.protocol.http.WebApplication

A basic class for web applications

Author:
Michel Kraemer, Simon Templer

Field Summary
static String DEFAULT_TITLE
          The default title of a web application
static String SYSTEM_PROPERTY_LOGIN_PAGE
          Name of the system property that allows enabling/disabling the login page.
static String SYSTEM_PROPERTY_MAIN_TITLE
          Name of the system property that allows to specify a custom main title.
 
Fields inherited from class org.apache.wicket.protocol.http.WebApplication
META_INF_RESOURCES
 
Fields inherited from class org.apache.wicket.Application
CONFIGURATION
 
Constructor Summary
BaseWebApplication()
           
 
Method Summary
static String getDefaulTitle()
          Get the default application title.
 String getMainTitle()
           
 void init()
           
 boolean isLoginPageEnabled()
          States if the login page is enabled for this application.
 
Methods inherited from class org.apache.wicket.protocol.http.WebApplication
addResourceReplacement, addResourceReplacement, get, getAjaxRequestTargetListeners, getAjaxRequestTargetProvider, getAndRemoveBufferedResponse, getApplicationKey, getConfigurationType, getFilterFactoryManager, getInitParameter, getMimeType, getServletContext, getSessionAttributePrefix, getWicketFilter, hasBufferedResponse, hasFilterFactoryManager, internalDestroy, internalInit, logEventTarget, logResponseTarget, mount, mountPackage, mountPage, mountResource, newAjaxRequestTarget, newSession, newWebRequest, newWebResponse, outputDevelopmentModeWarning, renderXmlDecl, sessionUnbound, setAjaxRequestTargetProvider, setConfigurationType, setServletContext, setWicketFilter, storeBufferedResponse, unmount
 
Methods inherited from class org.apache.wicket.Application
configure, createRequestCycle, decorateHeaderResponse, exists, fetchCreateAndSetSession, get, getApplicationKeys, getApplicationListeners, getApplicationSettings, getBehaviorInstantiationListeners, getComponentInitializationListeners, getComponentInstantiationListeners, getComponentOnAfterRenderListeners, getComponentPostOnBeforeRenderListeners, getComponentPreOnBeforeRenderListeners, getConverterLocator, getDebugSettings, getExceptionMapperProvider, getExceptionSettings, getFrameworkSettings, getHeaderContributorListenerCollection, getHomePage, getInitializers, getJavaScriptLibrarySettings, getMapperContext, getMarkupSettings, getMetaData, getName, getPageFactory, getPageManagerContext, getPageManagerProvider, getPageRendererProvider, getPageSettings, getRequestCycleListeners, getRequestCycleProvider, getRequestCycleSettings, getRequestLogger, getRequestLoggerSettings, getResourceBundles, getResourceReferenceRegistry, getResourceSettings, getRootRequestMapper, getRootRequestMapperAsCompound, getSecuritySettings, getSessionListeners, getSessionStore, getSessionStoreProvider, getSharedResources, getStoreSettings, initApplication, initializeComponents, newConverterLocator, newMapperContext, newPageFactory, newRequestLogger, newResourceBundles, newResourceReferenceRegistry, newSharedResources, onDestroy, onEvent, setApplicationSettings, setDebugSettings, setExceptionSettings, setFrameworkSettings, setHeaderResponseDecorator, setJavaScriptLibrarySettings, setMarkupSettings, setMetaData, setName, setPageManagerProvider, setPageRendererProvider, setPageSettings, setRequestCycleProvider, setRequestCycleSettings, setRequestLoggerSettings, setResourceSettings, setRootRequestMapper, setSecuritySettings, setSessionStoreProvider, setStoreSettings, usesDeploymentConfig, usesDevelopmentConfig, validateInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TITLE

public static final String DEFAULT_TITLE
The default title of a web application

See Also:
Constant Field Values

SYSTEM_PROPERTY_MAIN_TITLE

public static final String SYSTEM_PROPERTY_MAIN_TITLE
Name of the system property that allows to specify a custom main title.

See Also:
Constant Field Values

SYSTEM_PROPERTY_LOGIN_PAGE

public static final String SYSTEM_PROPERTY_LOGIN_PAGE
Name of the system property that allows enabling/disabling the login page.

See Also:
Constant Field Values
Constructor Detail

BaseWebApplication

public BaseWebApplication()
Method Detail

getDefaulTitle

public static String getDefaulTitle()
Get the default application title. Is either the value of the system property "hale.webapp.maintitle" or DEFAULT_TITLE.

Returns:
the default title

getMainTitle

public String getMainTitle()
Returns:
the main title of this application

isLoginPageEnabled

public boolean isLoginPageEnabled()
States if the login page is enabled for this application. The default implementation looks at the "hale.webapp.loginpage" system property for this, if not specified the default is false.

Returns:
if the login page is enabled

init

public void init()
Overrides:
init in class org.apache.wicket.protocol.http.WebApplication

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d