Class ViewScope
- java.lang.Object
-
- org.joinfaces.autoconfigure.viewscope.ViewScope
-
-
Field Summary
Fields Modifier and Type Field Description static String
DESTRUCTION_CALLBACK_NAME_PREFIX
static String
SCOPE_VIEW
Scope identifier for view scope: "view".
-
Constructor Summary
Constructors Constructor Description ViewScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(String name, ObjectFactory objectFactory)
String
getConversationId()
void
registerDestructionCallback(String name, Runnable callback)
Object
remove(String name)
Object
resolveContextualObject(String key)
-
-
-
Method Detail
-
get
public Object get(String name, ObjectFactory objectFactory)
-
getConversationId
@Nullable public String getConversationId()
- Specified by:
getConversationId
in interfaceScope
-
registerDestructionCallback
public void registerDestructionCallback(String name, Runnable callback)
- Specified by:
registerDestructionCallback
in interfaceScope
-
resolveContextualObject
@Nullable public Object resolveContextualObject(String key)
- Specified by:
resolveContextualObject
in interfaceScope
-
-