Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.ioc
Interface ServiceDecorator

All Known Implementing Classes:
  ServiceDecoratorImpl

    public interface ServiceDecorator

A service decorator is derived from a `DecoratorDef` and is responsible for building an interceptor around an existing implementation (called the "delegate").

See Also:
  `ServiceAdvisor`

Method Summary
`java.lang.Object` | `createInterceptor(java.lang.Object delegate)` Creates a new interceptor object implementing the same service interface as the delegate object.

Method Detail

### createInterceptor

    java.lang.Object createInterceptor(java.lang.Object delegate)

  Creates a new interceptor object implementing the same service interface as the delegate object.

  Parameters:
    `delegate` - an existing object implementing the service interface.
  Returns:
    a new object implementing the same service interface, or delegate or null if the decorator chooses not to create a new interceptor.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.