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 intoServiceDecorator
s).
-
-
Constructor Summary
Constructors Constructor Description InterceptorStackBuilder(ServiceDef3 serviceDef, ObjectCreator delegate, InternalRegistry registry)
-
-
-
Constructor Detail
-
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
-
-
Method Detail
-
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 interfaceObjectCreator
-
-