| java.lang.Object org.apache.tapestry.tutorial.services.AppModule
AppModule | public class AppModule (Code) | | This module is automatically included as part of the Tapestry IoC Registry, it's a good place to
configure and extend Tapestry, or to place your own services.
|
buildTimingFilter | public RequestFilter buildTimingFilter(Log log)(Code) | | This is a service definition, the service will be named TimingFilter. The interface,
RequestFilter, is used within the RequestHandler service pipeline, which is built from the
RequestHandler service configuration. Tapestry IoC is responsible for passing in an
appropriate Log instance. Requests for static resources are handled at a higher level, so
this filter will only be invoked for Tapestry related requests.
|
contributeRequestHandler | public void contributeRequestHandler(OrderedConfiguration<RequestFilter> configuration, RequestFilter filter)(Code) | | This is a contribution to the RequestHandler service configuration. This is how we extend
Tapestry using the timing filter. A common use for this kind of filter is transaction
management or security.
|
|
|