org.apache.tapestry5.ioc.internal
Class LifecycleWrappedServiceCreator

java.lang.Object
  extended by org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator
All Implemented Interfaces:
ObjectCreator

public class LifecycleWrappedServiceCreator
extends Object
implements ObjectCreator

Wrapper around a lifecycle, a set of resources for a service, and an underlying ObjectCreator for a service that allows the service lifecycle to alter the way that the service is created (this is needed for the more advanced, non-singleton types of service lifecycles).


Constructor Summary
LifecycleWrappedServiceCreator(ServiceLifecycle lifecycle, ServiceResources resources, ObjectCreator creator)
           
 
Method Summary
 Object createObject()
          Passes the resources and the service creator through the ServiceLifecycle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifecycleWrappedServiceCreator

public LifecycleWrappedServiceCreator(ServiceLifecycle lifecycle,
                                      ServiceResources resources,
                                      ObjectCreator creator)
Method Detail

createObject

public Object createObject()
Passes the resources and the service creator through the ServiceLifecycle.

Specified by:
createObject in interface ObjectCreator


Copyright © 2003-2012 The Apache Software Foundation.