org.richfaces.application.push

## Interface PushContext

- All Known Implementing Classes:
    PushContextImpl

      public interface PushContext

  PushContext serves as container class holding references to `TopicsContext`, `SessionFactory` and `SessionManager`.

  It has been introduced to isolate details of particular messaging bus integration from using classes.

  Author:
    Nick Belaevski

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `INSTANCE_KEY_NAME`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `destroy()` Destroys this `PushContext` instance once the application is teared down.
    `String` | `getPushHandlerUrl()` Returns the URL on which listens Push handler
    `SessionFactory` | `getSessionFactory()`
    `SessionManager` | `getSessionManager()`
    `TopicsContext` | `getTopicsContext()`
    `void` | `init(javax.faces.context.FacesContext facesContext)` Initializes `PushContext` instance once the application is started.

- - ### Field Detail

    - #### INSTANCE_KEY_NAME

          static final String INSTANCE_KEY_NAME

  - ### Method Detail

    - #### getTopicsContext

          TopicsContext getTopicsContext()

    - #### getSessionFactory

          SessionFactory getSessionFactory()

    - #### getSessionManager

          SessionManager getSessionManager()

    - #### init

          void init(javax.faces.context.FacesContext facesContext)

      Initializes `PushContext` instance once the application is started.

    - #### destroy

          void destroy()

      Destroys this `PushContext` instance once the application is teared down.

    - #### getPushHandlerUrl

          String getPushHandlerUrl()

      Returns the URL on which listens Push handler

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