|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.Application
org.apache.wicket.protocol.http.WebApplication
org.hackystat.projectbrowser.ProjectBrowserApplication
public class ProjectBrowserApplication
The top-level web application instance for this ProjectBrowser.
Field Summary |
---|
Fields inherited from class org.apache.wicket.Application |
---|
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT |
Constructor Summary | |
---|---|
ProjectBrowserApplication()
Creates a ProjectBrowserApplication, obtaining all ProjectBrowserProperties from the properties file. |
|
ProjectBrowserApplication(java.util.Properties properties)
Creates a ProjectBrowserApplication, in which the passed properties override the entries in the properties file. |
Method Summary | |
---|---|
java.lang.String |
getApplicationLogo()
Returns the application logo. |
java.lang.String |
getApplicationName()
Returns the application name. |
java.lang.String |
getDailyProjectDataHost()
Returns the DPD host. |
java.lang.Class<? extends org.apache.wicket.Page> |
getHomePage()
Returns the home page for this application (SigninPage). |
java.util.logging.Logger |
getLogger()
Returns the logger for this service. |
java.lang.String |
getPortfolioDefinitionDir()
Return the directroy of portfolio definition xmls. |
ProjectBrowserProperties |
getProjectBrowserProperties()
Returns the ProjectBrowserProperties instance associated with this web app. |
java.lang.String |
getProjectBrowserProperty(java.lang.String key)
Returns the value associated with key, or null if not found. |
java.lang.String |
getSensorBaseHost()
Returns the sensorbase host. |
java.lang.String |
getTelemetryHost()
Returns the telemetry host. |
boolean |
hasApplicationLogo()
Returns true if the user has supplied an application logo. |
void |
init()
Do default setup and initialization when this web application is started up. |
boolean |
isBackgroundProcessEnable(java.lang.String pageName)
|
boolean |
isLoggingUserUsage()
|
boolean |
isPageAvailable(java.lang.String pageName)
|
org.apache.wicket.Session |
newSession(org.apache.wicket.Request request,
org.apache.wicket.Response response)
Defines ProjectBrowserSession as the session instance created in this app. |
Methods inherited from class org.apache.wicket.protocol.http.WebApplication |
---|
getApplicationKey, getConfigurationType, getDefaultRequestCycleFactory, getInitParameter, getRequestCycleProcessor, getResourceFinder, getServletContext, getSessionAttributePrefix, getWicketFilter, internalDestroy, internalInit, logEventTarget, logResponseTarget, mount, mount, mountBookmarkablePage, mountBookmarkablePage, mountSharedResource, newAjaxRequestTarget, newRequestCycle, newRequestCycleProcessor, newSession, newSession, newSessionStore, newWebRequest, newWebResponse, outputDevelopmentModeWarning, sessionDestroyed, setApplicationKey, setWicketFilter, unmount |
Methods inherited from class org.apache.wicket.Application |
---|
addComponentInstantiationListener, addComponentOnAfterRenderListener, addComponentOnBeforeRenderListener, addRenderHeadListener, configure, destroy, exists, get, get, getApplicationKeys, getApplicationSettings, getConverterLocator, getDebugSettings, getExceptionSettings, getFrameworkSettings, getMarkupCache, getMarkupSettings, getMetaData, getName, getPageSettings, getRequestCycleFactory, getRequestCycleSettings, getRequestLogger, getRequestLoggerSettings, getResourceSettings, getSecuritySettings, getSessionFactory, getSessionSettings, getSessionStore, getSharedResources, initializeComponents, newConverterLocator, newRequestCycle, newRequestLogger, notifyRenderHeadListener, onDestroy, removeComponentInstantiationListener, removeComponentOnAfterRenderListener, removeComponentOnBeforeRenderListener, removeRenderHeadListener, set, setMetaData, unset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProjectBrowserApplication()
public ProjectBrowserApplication(java.util.Properties properties)
properties
- A properties instance, the contents of which will override any other
property settings.Method Detail |
---|
public java.lang.Class<? extends org.apache.wicket.Page> getHomePage()
getHomePage
in class org.apache.wicket.Application
public org.apache.wicket.Session newSession(org.apache.wicket.Request request, org.apache.wicket.Response response)
newSession
in class org.apache.wicket.protocol.http.WebApplication
request
- The request.response
- The response.
public void init()
init
in class org.apache.wicket.protocol.http.WebApplication
public boolean isPageAvailable(java.lang.String pageName)
pageName
- name of the page.
public java.lang.String getPortfolioDefinitionDir()
public boolean isBackgroundProcessEnable(java.lang.String pageName)
pageName
- name of the page.
public ProjectBrowserProperties getProjectBrowserProperties()
public java.lang.String getProjectBrowserProperty(java.lang.String key)
key
- The key.
public java.util.logging.Logger getLogger()
public java.lang.String getDailyProjectDataHost()
public java.lang.String getSensorBaseHost()
public java.lang.String getTelemetryHost()
public java.lang.String getApplicationName()
public java.lang.String getApplicationLogo()
public boolean hasApplicationLogo()
public boolean isLoggingUserUsage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |