org.apache.tapestry5.ioc.internal
Class AdvisorStackBuilder
java.lang.Object
org.apache.tapestry5.ioc.internal.AdvisorStackBuilder
- All Implemented Interfaces:
- ObjectCreator
public class AdvisorStackBuilder
- extends Object
- implements ObjectCreator
Equivalent of InterceptorStackBuilder
, but works using an
AspectInterceptorBuilder
that receives advice from
ServiceAdvisor
s.
- Since:
- 5.1.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 the AspectInterceptorBuilder
passed to each
ServiceAdvisor
registry
-
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.