public abstract class AbstractWebFlowScope extends Object implements org.springframework.beans.factory.config.Scope
Scope implementations that access a Web Flow scope from the current request.| Constructor and Description |
|---|
AbstractWebFlowScope() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String name,
org.springframework.beans.factory.ObjectFactory objectFactory) |
String |
getConversationId()
Always returns
null as most Spring Web Flow scopes do not have obvious conversation ids. |
void |
registerDestructionCallback(String name,
Runnable callback)
Will not register a destruction callback as Spring Web Flow does not support destruction of scoped beans.
|
Object |
remove(String name) |
public Object get(String name, org.springframework.beans.factory.ObjectFactory objectFactory)
get in interface org.springframework.beans.factory.config.Scopepublic Object remove(String name)
remove in interface org.springframework.beans.factory.config.Scopepublic String getConversationId()
null as most Spring Web Flow scopes do not have obvious conversation ids.
Subclasses should override this method where conversation ids can be intelligently returned.getConversationId in interface org.springframework.beans.factory.config.Scopenullpublic void registerDestructionCallback(String name, Runnable callback)
registerDestructionCallback in interface org.springframework.beans.factory.config.Scopename - the name of the bean to register the callback forcallback - the callback to execute