public static class AbstractScope.ScopeContainer extends Object implements org.springframework.beans.factory.config.Scope
| Constructor and Description |
|---|
ScopeContainer(String conversationId) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Calls all registered destruction callbacks and removes all bean references from the
container.
|
protected void |
finalize()
For orphan containers.
|
Object |
get(String name,
org.springframework.beans.factory.ObjectFactory<?> objectFactory) |
String |
getConversationId() |
void |
registerDestructionCallback(String name,
Runnable callback)
Register a bean destruction callback.
|
Object |
remove(String key) |
Object |
resolveContextualObject(String key) |
public ScopeContainer(String conversationId)
public Object remove(String key)
remove in interface org.springframework.beans.factory.config.Scopepublic Object get(String name, org.springframework.beans.factory.ObjectFactory<?> objectFactory)
get in interface org.springframework.beans.factory.config.Scopepublic void registerDestructionCallback(String name, Runnable callback)
registerDestructionCallback in interface org.springframework.beans.factory.config.Scopename - Bean name.callback - Callback.protected void finalize()
throws Throwable
public void destroy()
public Object resolveContextualObject(String key)
resolveContextualObject in interface org.springframework.beans.factory.config.Scopepublic String getConversationId()
getConversationId in interface org.springframework.beans.factory.config.ScopeCopyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.