public class SpringScopeImpl extends Object implements org.springframework.beans.factory.config.Scope
| Constructor and Description |
|---|
SpringScopeImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String contractName,
org.springframework.beans.factory.ObjectFactory<?> factory) |
String |
getConversationId() |
ServiceLocator |
getServiceLocator()
Returns the
ServiceLocator associated with this
scope |
void |
registerDestructionCallback(String arg0,
Runnable arg1) |
Object |
remove(String arg0) |
Object |
resolveContextualObject(String arg0) |
void |
setServiceLocator(ServiceLocator locator)
Sets the service locator to use with this scope
|
void |
setServiceLocatorName(String name)
This can be used to configure the name of the service locator
to use
|
public void setServiceLocator(ServiceLocator locator)
locator - The (non-null) locator to use for this scopepublic void setServiceLocatorName(String name)
name - The name to be used. If null an anonymous service
locator will be usedpublic ServiceLocator getServiceLocator()
ServiceLocator associated with this
scopeServiceLocator to be used with this scopepublic Object get(String contractName, org.springframework.beans.factory.ObjectFactory<?> factory)
get in interface org.springframework.beans.factory.config.Scopepublic String getConversationId()
getConversationId in interface org.springframework.beans.factory.config.Scopepublic void registerDestructionCallback(String arg0, Runnable arg1)
registerDestructionCallback in interface org.springframework.beans.factory.config.Scopepublic Object remove(String arg0)
remove in interface org.springframework.beans.factory.config.ScopeCopyright © 2009-2017 Oracle Corporation. All Rights Reserved.