Class SocketChannelManager.ViewScope

    • Constructor Detail

      • ViewScope

        protected ViewScope()
    • Method Detail

      • getChannels

        protected Map<String,​String> getChannels()
        Returns the view scoped channels.
        Returns:
        The view scoped channels.
      • deregisterViewScope

        @PreDestroy
        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.