@ViewScoped protected static class SocketChannelManager.ViewScope extends Object implements Serializable
<o:socket>
.SocketChannelManager
,
Serialized FormModifier | Constructor and Description |
---|---|
protected |
ViewScope() |
Modifier and Type | Method and Description |
---|---|
protected void |
deregisterViewScope()
When current view scope is about to be destroyed, deregister all view scoped channels and explicitly close
any open web sockets associated with it to avoid stale websockets.
|
protected Map<String,String> |
getChannels()
Returns the view scoped channels.
|
protected Map<String,String> getChannels()
@PreDestroy protected void deregisterViewScope()
Copyright © 2012–2020 OmniFaces. All rights reserved.