| org.apache.tapestry.ioc.services.LoggingDecorator
All known Subclasses: org.apache.tapestry.ioc.internal.services.LoggingDecoratorImpl,
LoggingDecorator | public interface LoggingDecorator (Code) | | Service that can create a logging interceptor that wraps around a service implementation (or
interceptor). The interceptor works with the service's log to log, at debug level, method entry
(with arguments), method exit (with return value, if any) as well as any thrown exceptions.
|
Method Summary | |
T | build(Class<T> serviceInterface, T delegate, String serviceId, Log serviceLog) Builds a logging interceptor instance. |
build | T build(Class<T> serviceInterface, T delegate, String serviceId, Log serviceLog)(Code) | | Builds a logging interceptor instance.
< Parameters: T - > Parameters: serviceInterface - interface implemented by the delegate Parameters: delegate - existing object to be wrapped Parameters: serviceId - id of service Parameters: serviceLog - log used for debug level logging messages by the interceptor a new object implementing the interface that can be used in place of the delegate,providing logging behavior around each method call on the service interface |
|
|