Class WebsocketApplicationBean


  • @ApplicationScoped
    public class WebsocketApplicationBean
    extends Object
    • Constructor Detail

      • WebsocketApplicationBean

        public WebsocketApplicationBean()
    • Method Detail

      • isChannelAvailable

        public boolean isChannelAvailable​(String channel)
        Indicate if the channel mentioned is valid for view scope. A channel is valid if there is at least one token that represents a valid connection to this channel.
        Parameters:
        channel -
        Returns:
      • getChannelTokensFor

        public List<String> getChannelTokensFor​(String channel)