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. The Infrastructure and InfrastructureOverrides
configuration points define which services are mapped to which
Infrastructure properties. |
Implementation |
- <invoke-factory service-id="hivemind.BuilderFactory" model="singleton" >
-
<construct class="impl.InfrastructureImpl"
>
-
<set-service property="threadLocale"
service-id="hivemind.ThreadLocale"
/>
-
<set-configuration configuration-id="Infrastructure"
property="normalContributions"
/>
-
<set-configuration configuration-id="InfrastructureOverrides"
property="overrideContributions"
/>
</construct>
</invoke-factory>
|