Package org.apache.myfaces.push.cdi
Class WebsocketScopeManager
- java.lang.Object
- 
- org.apache.myfaces.push.cdi.WebsocketScopeManager
 
- 
 @ApplicationScoped public class WebsocketScopeManager extends Object 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classWebsocketScopeManager.AbstractScopestatic classWebsocketScopeManager.AbstractUserScopestatic classWebsocketScopeManager.ApplicationScopestatic classWebsocketScopeManager.SessionScopeThis map holds all tokens related to the current session and its associated metadata, that will be used in the websocket handshake to validate if the incoming request is valid and to store the user object into the Session object.static classWebsocketScopeManager.ViewScopeThis map hold all tokens related to the current view.
 - 
Field SummaryFields Modifier and Type Field Description static StringSCOPE_APPLICATIONstatic StringSCOPE_SESSIONstatic StringSCOPE_VIEW
 - 
Constructor SummaryConstructors Constructor Description WebsocketScopeManager()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description WebsocketScopeManager.ApplicationScopegetApplicationScope(boolean create)WebsocketScopeManager.AbstractScopegetScope(String scope, boolean create)WebsocketScopeManager.SessionScopegetSessionScope(boolean create)WebsocketScopeManager.ViewScopegetViewScope(boolean create)
 
- 
- 
- 
Field Detail- 
SCOPE_APPLICATIONpublic static final String SCOPE_APPLICATION - See Also:
- Constant Field Values
 
 - 
SCOPE_SESSIONpublic static final String SCOPE_SESSION - See Also:
- Constant Field Values
 
 - 
SCOPE_VIEWpublic static final String SCOPE_VIEW - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getScopepublic WebsocketScopeManager.AbstractScope getScope(String scope, boolean create) 
 - 
getApplicationScopepublic WebsocketScopeManager.ApplicationScope getApplicationScope(boolean create) 
 - 
getSessionScopepublic WebsocketScopeManager.SessionScope getSessionScope(boolean create) 
 - 
getViewScopepublic WebsocketScopeManager.ViewScope getViewScope(boolean create) 
 
- 
 
-