public interface ApplicationGlobals
Infrastructure
. The servlet and portlet
implementations differentiate themselves by storing different values into these properties.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().
|
void storeActivator(WebActivator activator)
void storeSpecification(IApplicationSpecification applicationSpecification)
void storeServletContext(javax.servlet.ServletContext context)
void storeWebContext(WebContext context)
WebContext getWebContext()
#store(WebContext)}.
javax.servlet.ServletContext getServletContext()
storeServletContext(ServletContext)
WebActivator getActivator()
IApplicationSpecification getSpecification()
java.lang.String getActivatorName()
void storeFactoryServices(java.util.List factoryServices)
org.apache.tapestry.engine.IEngineService#getName()name
.factoryServices
- List of IEngineService
.java.util.List getFactoryServices()
IEngineService
.