A service decorator is derived from a
org.apache.tapestry.ioc.def.DecoratorDef and is
responsible for building an interceptor around an existing implementation (called the
"delegate").
createInterceptor(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.
Creates a new interceptor object implementing the same service interface as the delegate
object.
Parameters: delegate - an existing object implementing the service interface. a new object implementing the same service interface, or delegate or null if thedecorator chooses not to create a new interceptor.