Class ViewScope
- java.lang.Object
- 
- org.joinfaces.autoconfigure.viewscope.ViewScope
 
- 
- All Implemented Interfaces:
- org.springframework.beans.factory.config.Scope
 
 public class ViewScope extends java.lang.Object implements org.springframework.beans.factory.config.ScopeImplementation of view scope. This class exposes the JSFview mapas springScope.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringDESTRUCTION_CALLBACK_NAME_PREFIXConstant identifying theStringprefixed to the name of a destruction callback when it is stored in aview map.static java.lang.StringSCOPE_VIEWScope identifier for view scope: "view".
 - 
Constructor SummaryConstructors Constructor Description ViewScope()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget(java.lang.String name, org.springframework.beans.factory.ObjectFactory objectFactory)java.lang.StringgetConversationId()voidregisterDestructionCallback(java.lang.String name, java.lang.Runnable callback)java.lang.Objectremove(java.lang.String name)java.lang.ObjectresolveContextualObject(java.lang.String key)
 
- 
- 
- 
Field Detail- 
SCOPE_VIEWpublic static final java.lang.String SCOPE_VIEW Scope identifier for view scope: "view".- See Also:
- WebApplicationContext.SCOPE_SESSION,- WebApplicationContext.SCOPE_REQUEST, Constant Field Values
 
 - 
DESTRUCTION_CALLBACK_NAME_PREFIXpublic static final java.lang.String DESTRUCTION_CALLBACK_NAME_PREFIX Constant identifying theStringprefixed to the name of a destruction callback when it is stored in aview map.- See Also:
- ServletRequestAttributes.DESTRUCTION_CALLBACK_NAME_PREFIX
 
 
- 
 - 
Method Detail- 
getpublic java.lang.Object get(java.lang.String name, org.springframework.beans.factory.ObjectFactory objectFactory)- Specified by:
- getin interface- org.springframework.beans.factory.config.Scope
 
 - 
remove@Nullable public java.lang.Object remove(java.lang.String name) - Specified by:
- removein interface- org.springframework.beans.factory.config.Scope
 
 - 
getConversationId@Nullable public java.lang.String getConversationId() - Specified by:
- getConversationIdin interface- org.springframework.beans.factory.config.Scope
 
 - 
registerDestructionCallbackpublic void registerDestructionCallback(java.lang.String name, java.lang.Runnable callback)- Specified by:
- registerDestructionCallbackin interface- org.springframework.beans.factory.config.Scope
 
 - 
resolveContextualObject@Nullable public java.lang.Object resolveContextualObject(java.lang.String key) - Specified by:
- resolveContextualObjectin interface- org.springframework.beans.factory.config.Scope
 
 
- 
 
-