Service Point tapestry.Infrastructure | Interface: | org.apache.tapestry.services.Infrastructure |
---|
A kind of "clearing house" of other services. The Infrastructure is provided to the
IEngine instance via the InvokeEngineTerminator service (using an HttpServletRequest
attribute). The engine can then get the other services it depends upon.
The infrastructure: object provider allows access to the properties
of this service. |
Implementation |
---|
- <invoke-factory service-id="hivemind.BuilderFactory" model="singleton" >
- <construct
class="org.apache.tapestry.services.impl.InfrastructureImpl"
>
- <set-object
property="applicationSpecification"
value="service-property:tapestry.globals.ApplicationGlobals:specification"
/>
- <set-service
property="applicationPropertySource"
service-id="tapestry.props.ApplicationPropertySource"
/>
- <set-service
property="globalPropertySource"
service-id="tapestry.props.GlobalPropertySource"
/>
- <set-service
property="componentMessagesSource"
service-id="ComponentMessagesSource"
/>
- <set-service
property="resetEventCoordinator"
service-id="ResetEventCoordinator"
/>
- <set-service
property="templateSource"
service-id="tapestry.parse.TemplateSource"
/>
- <set-service
property="specificationSource"
service-id="tapestry.parse.SpecificationSource"
/>
- <set-service
property="objectPool"
service-id="GlobalObjectPool"
/>
- <set-service
property="pageSource"
service-id="tapestry.page.PageSource"
/>
- <set-service
property="dataSqueezer"
service-id="tapestry.data.DataSqueezer"
/>
- <set-service
property="scriptSource"
service-id="tapestry.script.ScriptSource"
/>
- <set-service
property="serviceMap"
service-id="tapestry.services.ServiceMap"
/>
- <set-service
property="requestExceptionReporter"
service-id="RequestExceptionReporter"
/>
- <set-service
property="responseRenderer"
service-id="tapestry.request.ResponseRenderer"
/>
- <set-service
property="linkFactory"
service-id="tapestry.url.LinkFactory"
/>
- <set-service
property="requestCycleFactory"
service-id="tapestry.request.RequestCycleFactory"
/>
- <set-service
property="applicationStateManager"
service-id="tapestry.state.ApplicationStateManager"
/>
- <set-service
property="request"
service-id="tapestry.globals.HttpServletRequest"
/>
- <set-service
property="response"
service-id="tapestry.globals.HttpServletResponse"
/>
- <set-service
property="componentPropertySource"
service-id="tapestry.props.ComponentPropertySource"
/>
- <set-object
property="applicationId"
value="service-property:tapestry.globals.ApplicationGlobals:servletName"
/>
- <set-object
property="context"
value="service-property:tapestry.globals.ApplicationGlobals:context"
/>
</construct>
</invoke-factory>
|