Class AdvisorStackBuilder
- java.lang.Object
-
- org.apache.tapestry5.ioc.internal.AdvisorStackBuilder
-
- All Implemented Interfaces:
ObjectCreator
public class AdvisorStackBuilder extends java.lang.Object implements ObjectCreator
Equivalent ofInterceptorStackBuilder
, but works using anAspectInterceptorBuilder
that receives advice fromServiceAdvisor
s.- Since:
- 5.1.0.0
-
-
Constructor Summary
Constructors Constructor Description AdvisorStackBuilder(ServiceDef3 serviceDef, ObjectCreator delegate, AspectDecorator aspectDecorator, InternalRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
createObject()
Create and return the object.
-
-
-
Constructor Detail
-
AdvisorStackBuilder
public AdvisorStackBuilder(ServiceDef3 serviceDef, ObjectCreator delegate, AspectDecorator aspectDecorator, InternalRegistry registry)
- Parameters:
serviceDef
- the service that is ultimately being constructeddelegate
- responsible for creating the object to be decoratedaspectDecorator
- used to create theAspectInterceptorBuilder
passed to eachServiceAdvisor
registry
-
-
-
Method Detail
-
createObject
public java.lang.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
-
-