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.
| Modifier and Type | Field and Description |
|---|---|
static String |
INSTANCE_KEY_NAME |
| 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. |
static final String INSTANCE_KEY_NAME
TopicsContext getTopicsContext()
SessionFactory getSessionFactory()
SessionManager getSessionManager()
void init(javax.faces.context.FacesContext facesContext)
PushContext instance once the application is started.void destroy()
PushContext instance once the application is teared down.String getPushHandlerUrl()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.