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)
ApplicationGlobals
storeActivator
in interface ApplicationGlobals
public void storeSpecification(IApplicationSpecification applicationSpecification)
storeSpecification
in interface ApplicationGlobals
public WebActivator getActivator()
getActivator
in interface ApplicationGlobals
public IApplicationSpecification getSpecification()
getSpecification
in interface ApplicationGlobals
public java.lang.String getActivatorName()
getActivatorName
in interface ApplicationGlobals
public WebContext getWebContext()
ApplicationGlobals
getWebContext
in interface ApplicationGlobals
#store(WebContext)}.
public void storeWebContext(WebContext context)
ApplicationGlobals
storeWebContext
in interface ApplicationGlobals
public void storeFactoryServices(java.util.List factoryServices)
ApplicationGlobals
org.apache.tapestry.engine.IEngineService#getName()name
.storeFactoryServices
in interface ApplicationGlobals
factoryServices
- List of IEngineService
.public java.util.List getFactoryServices()
ApplicationGlobals
IEngineService
.getFactoryServices
in interface ApplicationGlobals
public javax.servlet.ServletContext getServletContext()
ApplicationGlobals
getServletContext
in interface ApplicationGlobals
ApplicationGlobals.storeServletContext(ServletContext)
public void storeServletContext(javax.servlet.ServletContext context)
ApplicationGlobals
storeServletContext
in interface ApplicationGlobals