org.richfaces.application.push.impl.jms

## Class JMSTopicsContextImpl

- java.lang.Object
- - org.richfaces.application.push.TopicsContext
  - - org.richfaces.application.push.impl.TopicsContextImpl
    - - org.richfaces.application.push.impl.jms.JMSTopicsContextImpl

-     public class JMSTopicsContextImpl
      extends TopicsContextImpl

  Author:
    Nick Belaevski

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JMSTopicsContextImpl(ThreadFactory threadFactory, InitialContext initialContext, Name connectionFactoryName, Name topicsNamespace, String username, String password)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected org.richfaces.application.push.Topic` | `createTopic(org.richfaces.application.push.TopicKey key)`
    `void` | `destroy()`
    `static JMSTopicsContextImpl` | `getInstanceInitializedFromContext(ThreadFactory threadFactory, javax.faces.context.FacesContext facesContext)`

    - ### Methods inherited from class org.richfaces.application.push.impl.TopicsContextImpl

      `getPublisherService, getThreadFactory`

    - ### Methods inherited from class org.richfaces.application.push.TopicsContext

      `getOrCreateTopic, getTopic, getTopicKeyWithResolvedExpressions, lookup, publish, removeTopic`

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

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

- - ### Constructor Detail

    - #### JMSTopicsContextImpl

          public JMSTopicsContextImpl(ThreadFactory threadFactory,
                              InitialContext initialContext,
                              Name connectionFactoryName,
                              Name topicsNamespace,
                              String username,
                              String password)

  - ### Method Detail

    - #### getInstanceInitializedFromContext

          public static JMSTopicsContextImpl getInstanceInitializedFromContext(ThreadFactory threadFactory,
                                                               javax.faces.context.FacesContext facesContext)
                                                                        throws NamingException

      Throws:
        `NamingException`

    - #### createTopic

          protected org.richfaces.application.push.Topic createTopic(org.richfaces.application.push.TopicKey key)

      Overrides:
        `createTopic` in class `TopicsContextImpl`

    - #### destroy

          public void destroy()

      Overrides:
        `destroy` in class `TopicsContextImpl`

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