org.apache.tapestry5.ioc.internal
Class InterceptorStackBuilder
java.lang.Object
org.apache.tapestry5.ioc.internal.InterceptorStackBuilder
- All Implemented Interfaces:
- ObjectCreator
public class InterceptorStackBuilder
- extends Object
- implements ObjectCreator
Responsible for constructing the interceptor stack, on demand, by invoking an ordered series of decorators (
DecoratorDef
(which are converted into ServiceDecorator
s).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterceptorStackBuilder
public InterceptorStackBuilder(ServiceDef3 serviceDef,
ObjectCreator delegate,
InternalRegistry registry)
- Parameters:
serviceDef
- service begin decorateddelegate
- responsible for creating the object to be decoratedregistry
- access to service decorators
createObject
public Object createObject()
- Description copied from interface:
ObjectCreator
- Create and return the object. In some limited circumstances, the implementation may cache the result, returning
the same object for repeated calls.
- Specified by:
createObject
in interface ObjectCreator
Copyright © 2003-2012 The Apache Software Foundation.