public class PushContextImpl extends Object implements PushContext, javax.faces.event.SystemEventListener
PushContextINSTANCE_KEY_NAME| Constructor and Description |
|---|
PushContextImpl(String pushHandlerUrl) |
| 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. |
boolean |
isListenerForSource(Object source) |
void |
processEvent(javax.faces.event.SystemEvent event)
Destroyes this push context before the application is destroyed
|
public PushContextImpl(String pushHandlerUrl)
public void init(javax.faces.context.FacesContext facesContext)
PushContextPushContext instance once the application is started.init in interface PushContextpublic void destroy()
PushContextPushContext instance once the application is teared down.destroy in interface PushContextpublic void processEvent(javax.faces.event.SystemEvent event)
throws javax.faces.event.AbortProcessingException
processEvent in interface javax.faces.event.SystemEventListenerjavax.faces.event.AbortProcessingExceptionpublic boolean isListenerForSource(Object source)
isListenerForSource in interface javax.faces.event.SystemEventListenerpublic TopicsContext getTopicsContext()
getTopicsContext in interface PushContextpublic SessionFactory getSessionFactory()
getSessionFactory in interface PushContextpublic SessionManager getSessionManager()
getSessionManager in interface PushContextpublic String getPushHandlerUrl()
PushContextgetPushHandlerUrl in interface PushContextCopyright © 2014 JBoss by Red Hat. All Rights Reserved.