Service Point tapestry.parse.TemplateSource | Interface: | org.apache.tapestry.services.TemplateSource |
A smart cache for localized templates for pages and components. Retrieves a template on
first reference, and returns it on subsequent references. |
Implementation |
- <invoke-factory service-id="hivemind.BuilderFactory" model="singleton" >
-
<construct class="org.apache.tapestry.services.impl.TemplateSourceImpl"
>
-
<set-service property="parser"
service-id="TemplateParser"
/>
-
<set-service property="delegate"
service-id="TemplateSourceDelegate"
/>
-
<set-object property="contextRoot"
value="infrastructure:contextRoot"
/>
-
<set-service property="componentSpecificationResolver"
service-id="tapestry.page.ComponentSpecificationResolver"
/>
-
<set-object property="componentPropertySource"
value="infrastructure:componentPropertySource"
/>
-
<set-object property="localizer"
value="infrastructure:resourceLocalizer"
/>
-
<set-service property="componentResourceResolver"
service-id="tapestry.page.ComponentResourceResolver"
/>
-
<event-listener service-id="tapestry.ResetEventHub"
/>
-
<event-listener service-id="tapestry.describe.ReportStatusHub"
/>
</construct>
</invoke-factory>
|