public class ViewScope extends Object implements org.springframework.beans.factory.config.Scope
view map
as spring Scope
.Modifier and Type | Field and Description |
---|---|
static String |
DESTRUCTION_CALLBACK_NAME_PREFIX
Constant identifying the
String prefixed to the name of a
destruction callback when it is stored in a view map . |
static String |
SCOPE_VIEW
Scope identifier for view scope: "view".
|
Constructor and Description |
---|
ViewScope() |
Modifier and Type | Method and Description |
---|---|
Object |
get(String name,
org.springframework.beans.factory.ObjectFactory objectFactory) |
String |
getConversationId() |
void |
registerDestructionCallback(String name,
Runnable callback) |
Object |
remove(String name) |
Object |
resolveContextualObject(String key) |
public static final String SCOPE_VIEW
WebApplicationContext.SCOPE_SESSION
,
WebApplicationContext.SCOPE_REQUEST
,
Constant Field Valuespublic Object get(String name, org.springframework.beans.factory.ObjectFactory objectFactory)
get
in interface org.springframework.beans.factory.config.Scope
public Object remove(String name)
remove
in interface org.springframework.beans.factory.config.Scope
public String getConversationId()
getConversationId
in interface org.springframework.beans.factory.config.Scope
public void registerDestructionCallback(String name, Runnable callback)
registerDestructionCallback
in interface org.springframework.beans.factory.config.Scope
Copyright © 2016–2018 JoinFaces. All rights reserved.