|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Tapestry infrastructure ... key services required by the IEngine
instance.
Method Summary | |
java.lang.String |
getApplicationId()
Returns the application's id; a unique name that is incorporated into various session attribute keys and into certain paths when searching for resources. |
IPropertySource |
getApplicationPropertySource()
Returns an IPropertySource configured to search the application specification, etc. |
IApplicationSpecification |
getApplicationSpecification()
Returns the IApplicationSpecification for the current
application. |
ApplicationStateManager |
getApplicationStateManager()
Accesses application state objects (Visit and Global from Tapestry 3.0, but now more can be created). |
org.apache.hivemind.ClassResolver |
getClassResolver()
Returns the ClassResolver used by the Tapestry HiveMind module, which should be sufficient for use throughout the application. |
ComponentMessagesSource |
getComponentMessagesSource()
Returns the source of component message bundles. |
ComponentPropertySource |
getComponentPropertySource()
Returns an object used to access component meta-data properties. |
java.lang.String |
getContextPath()
Returns the context path, which identifies the application within the application server. |
org.apache.hivemind.Resource |
getContextRoot()
Returns the root context resource, which is the starting point when looking for resources within the application. |
DataSqueezer |
getDataSqueezer()
The DataSqueezer, used when constructing and decoding values stored in URLs (as query parameters or hidden form fields). |
IPropertySource |
getGlobalPropertySource()
Returns an IPropertySource configured to search
the servlet, servlet context, and factory defaults. |
LinkFactory |
getLinkFactory()
Constructs ILink instances for
IEngineService s. |
ObjectPool |
getObjectPool()
Returns a generic, shared ObjectPool instance. |
IPageSource |
getPageSource()
Returns the source for pages. |
javax.servlet.http.HttpServletRequest |
getRequest()
Returns the request for the current request. |
RequestCycleFactory |
getRequestCycleFactory()
Used by the IEngine to create instances of
IRequestCycle . |
RequestExceptionReporter |
getRequestExceptionReporter()
Service used to report exceptions to the console. |
ResetEventCoordinator |
getResetEventCoordinator()
Returns the coordinator to be notified of reset events (which will, in turn, notify other services). |
javax.servlet.http.HttpServletResponse |
getResponse()
Returns the response for the current request. |
ResponseRenderer |
getResponseRenderer()
Renders the active page as the response. |
IScriptSource |
getScriptSource()
The source for read-to-execute versions of Tapestry script templates. |
ServiceMap |
getServiceMap()
The object from which engine services are obtained. |
ISpecificationSource |
getSpecificationSource()
Returns the source of all application, page, component and library specifications. |
TemplateSource |
getTemplateSource()
Returns component or page template contents. |
Method Detail |
public IApplicationSpecification getApplicationSpecification()
IApplicationSpecification
for the current
application.
public IPropertySource getApplicationPropertySource()
IPropertySource
configured to search the application specification, etc.
See tapestry.ApplicationPropertySource
.
public IPropertySource getGlobalPropertySource()
IPropertySource
configured to search
the servlet, servlet context, and factory defaults.
public ResetEventCoordinator getResetEventCoordinator()
public ComponentMessagesSource getComponentMessagesSource()
public TemplateSource getTemplateSource()
public ISpecificationSource getSpecificationSource()
public ObjectPool getObjectPool()
public IPageSource getPageSource()
public org.apache.hivemind.ClassResolver getClassResolver()
public DataSqueezer getDataSqueezer()
public IScriptSource getScriptSource()
public ServiceMap getServiceMap()
public RequestExceptionReporter getRequestExceptionReporter()
public ResponseRenderer getResponseRenderer()
public LinkFactory getLinkFactory()
ILink
instances for
IEngineService
s.
public RequestCycleFactory getRequestCycleFactory()
IEngine
to create instances of
IRequestCycle
.
public ApplicationStateManager getApplicationStateManager()
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public java.lang.String getContextPath()
public java.lang.String getApplicationId()
public org.apache.hivemind.Resource getContextRoot()
public ComponentPropertySource getComponentPropertySource()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |