RichFaces Core Implementation 4.1.0.Final

org.richfaces.application.push.impl
Class PushContextImpl

java.lang.Object
  extended by org.richfaces.application.push.impl.PushContextImpl
All Implemented Interfaces:
EventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListener, org.richfaces.application.push.PushContext

public class PushContextImpl
extends Object
implements org.richfaces.application.push.PushContext, javax.faces.event.SystemEventListener

Author:
Nick Belaevski

Field Summary
 
Fields inherited from interface org.richfaces.application.push.PushContext
INSTANCE_KEY_NAME
 
Constructor Summary
PushContextImpl(String pushHandlerUrl)
           
 
Method Summary
 void destroy()
           
 String getPushHandlerUrl()
           
 org.richfaces.application.push.SessionFactory getSessionFactory()
           
 org.richfaces.application.push.SessionManager getSessionManager()
           
 org.richfaces.application.push.TopicsContext getTopicsContext()
           
 void init(javax.faces.context.FacesContext facesContext)
           
 boolean isListenerForSource(Object source)
           
 void processEvent(javax.faces.event.SystemEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PushContextImpl

public PushContextImpl(String pushHandlerUrl)
Method Detail

init

public void init(javax.faces.context.FacesContext facesContext)
Specified by:
init in interface org.richfaces.application.push.PushContext

destroy

public void destroy()
Specified by:
destroy in interface org.richfaces.application.push.PushContext

processEvent

public void processEvent(javax.faces.event.SystemEvent event)
                  throws javax.faces.event.AbortProcessingException
Specified by:
processEvent in interface javax.faces.event.SystemEventListener
Throws:
javax.faces.event.AbortProcessingException

isListenerForSource

public boolean isListenerForSource(Object source)
Specified by:
isListenerForSource in interface javax.faces.event.SystemEventListener

getTopicsContext

public org.richfaces.application.push.TopicsContext getTopicsContext()
Specified by:
getTopicsContext in interface org.richfaces.application.push.PushContext

getSessionFactory

public org.richfaces.application.push.SessionFactory getSessionFactory()
Specified by:
getSessionFactory in interface org.richfaces.application.push.PushContext

getSessionManager

public org.richfaces.application.push.SessionManager getSessionManager()
Specified by:
getSessionManager in interface org.richfaces.application.push.PushContext

getPushHandlerUrl

public String getPushHandlerUrl()
Specified by:
getPushHandlerUrl in interface org.richfaces.application.push.PushContext

RichFaces Core Implementation 4.1.0.Final

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.