public class PerThreadServiceLifecycle extends Object implements ServiceLifecycle
| Constructor and Description | 
|---|
| PerThreadServiceLifecycle(PerthreadManager perthreadManager,
                                                  PlasticProxyFactory proxyFactory) | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | createService(ServiceResources resources,
                          ObjectCreator creator)Returns the same creator, or a new one, that encapsulates the creation of the core service implementation. | 
| boolean | isSingleton()Returns false; this lifecycle represents a service that will be created many times (by each thread). | 
public PerThreadServiceLifecycle(@Builtin PerthreadManager perthreadManager, @Builtin PlasticProxyFactory proxyFactory)
public boolean isSingleton()
isSingleton in interface ServiceLifecyclepublic Object createService(ServiceResources resources, ObjectCreator creator)
ServiceLifecyclecreateService in interface ServiceLifecycleresources - source of information about the service to be created, and source of additional services or
                  other resources that may be needed when constructing the core service implementationcreator - object capable of creating the service implementation on demand. This is a wrapper around the
                  service's builder method.${project.version} - Copyright © 2003-2015 The Apache Software Foundation.