Package com.sun.faces.push
Class WebsocketChannelManager.ViewScope
- java.lang.Object
-
- com.sun.faces.push.WebsocketChannelManager.ViewScope
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- WebsocketChannelManager
@ViewScoped public static class WebsocketChannelManager.ViewScope extends Object implements Serializable
This helps the web socket channel manager to hold view scoped web socket channel identifiers registered by<f:websocket>
.- Since:
- 2.3
- Author:
- Bauke Scholtz
- See Also:
WebsocketChannelManager
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ViewScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
deregisterViewScope()
When current view scope is about to be destroyed, deregister all view scope channels and explicitly close any open web sockets associated with it to avoid stale websockets.
-