public class ApplicationGlobalsImpl extends java.lang.Object implements ApplicationGlobals
ApplicationGlobals.| Constructor and Description |
|---|
ApplicationGlobalsImpl() |
| Modifier and Type | Method and Description |
|---|---|
WebActivator |
getActivator() |
java.lang.String |
getActivatorName() |
java.util.List |
getFactoryServices()
Returns the factory default services as a List of
IEngineService. |
javax.servlet.ServletContext |
getServletContext()
Returns the previously stored context.
|
IApplicationSpecification |
getSpecification() |
WebContext |
getWebContext()
Returns the previously stored context.
|
void |
storeActivator(WebActivator activator)
Invoked by the (indirectly) by the servlet at init(), after parsing the application
specification.
|
void |
storeFactoryServices(java.util.List factoryServices)
Stores the default set of engine service definitions.
|
void |
storeServletContext(javax.servlet.ServletContext context)
Invoked (indirectly) by the servlet at init().
|
void |
storeSpecification(IApplicationSpecification applicationSpecification) |
void |
storeWebContext(WebContext context)
Invoked (indirectly) by the servlet at init().
|
public ApplicationGlobalsImpl()
public void storeActivator(WebActivator activator)
ApplicationGlobalsstoreActivator in interface ApplicationGlobalspublic void storeSpecification(IApplicationSpecification applicationSpecification)
storeSpecification in interface ApplicationGlobalspublic WebActivator getActivator()
getActivator in interface ApplicationGlobalspublic IApplicationSpecification getSpecification()
getSpecification in interface ApplicationGlobalspublic java.lang.String getActivatorName()
getActivatorName in interface ApplicationGlobalspublic WebContext getWebContext()
ApplicationGlobalsgetWebContext in interface ApplicationGlobals#store(WebContext)}.public void storeWebContext(WebContext context)
ApplicationGlobalsstoreWebContext in interface ApplicationGlobalspublic void storeFactoryServices(java.util.List factoryServices)
ApplicationGlobalsorg.apache.tapestry.engine.IEngineService#getName()name.storeFactoryServices in interface ApplicationGlobalsfactoryServices - List of IEngineService.public java.util.List getFactoryServices()
ApplicationGlobalsIEngineService.getFactoryServices in interface ApplicationGlobalspublic javax.servlet.ServletContext getServletContext()
ApplicationGlobalsgetServletContext in interface ApplicationGlobalsApplicationGlobals.storeServletContext(ServletContext)public void storeServletContext(javax.servlet.ServletContext context)
ApplicationGlobalsstoreServletContext in interface ApplicationGlobals