org.richfaces.application.push

## Class TopicsContext

- java.lang.Object
- - org.richfaces.application.push.TopicsContext

-     public abstract class TopicsContext
      extends Object

  Author:
    Nick Belaevski

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TopicsContext()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract Topic` | `createTopic(TopicKey key)`
    `Topic` | `getOrCreateTopic(TopicKey key)`
    `Topic` | `getTopic(TopicKey key)`
    `protected TopicKey` | `getTopicKeyWithResolvedExpressions(TopicKey key)`
    `static TopicsContext` | `lookup()`
    `void` | `publish(TopicKey key, Object data)`
    `void` | `removeTopic(TopicKey key)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TopicsContext

          public TopicsContext()

  - ### Method Detail

    - #### createTopic

          protected abstract Topic createTopic(TopicKey key)

    - #### getOrCreateTopic

          public Topic getOrCreateTopic(TopicKey key)

    - #### getTopic

          public Topic getTopic(TopicKey key)

    - #### removeTopic

          public void removeTopic(TopicKey key)

    - #### publish

          public void publish(TopicKey key,
                     Object data)
                       throws MessageException

      Throws:
        `MessageException`

    - #### lookup

          public static TopicsContext lookup()

    - #### getTopicKeyWithResolvedExpressions

          protected TopicKey getTopicKeyWithResolvedExpressions(TopicKey key)

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.