org.apache.tapestry5.ioc.internal
Class InterceptorStackBuilder

java.lang.Object
  extended by 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 ServiceDecorators).


Constructor Summary
InterceptorStackBuilder(ServiceDef3 serviceDef, ObjectCreator delegate, InternalRegistry registry)
           
 
Method Summary
 Object createObject()
          Create and return the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorStackBuilder

public InterceptorStackBuilder(ServiceDef3 serviceDef,
                               ObjectCreator delegate,
                               InternalRegistry registry)
Parameters:
serviceDef - service begin decorated
delegate - responsible for creating the object to be decorated
registry - 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 interface ObjectCreator


Copyright © 2003-2012 The Apache Software Foundation.