public class ThreadScopeAttributes extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
hBeans |
protected Map<String,Runnable> |
hRequestDestructionCallbacks |
Constructor and Description |
---|
ThreadScopeAttributes() |
Modifier and Type | Method and Description |
---|---|
protected void |
clear()
Clears beans and processes all bean destruction callbacks.
|
protected Map<String,Object> |
getBeanMap()
Gets bean
Map . |
protected void |
registerRequestDestructionCallback(String name,
Runnable callback)
Register the given callback as to be executed after request completion.
|
protected final void registerRequestDestructionCallback(String name, Runnable callback)
name
- The name of the bean.callback
- The callback of the bean to be executed for destruction.protected final void clear()
Copyright © 2008-2014 Spring by Example. All Rights Reserved.