com.liferay.faces.util.event.internal
Class ApplicationStartupListenerCompat

java.lang.Object
  extended by com.liferay.faces.util.event.internal.ApplicationStartupListenerCompat
All Implemented Interfaces:
EventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListener
Direct Known Subclasses:
ApplicationStartupListenerCompat_2_2

public abstract class ApplicationStartupListenerCompat
extends Object
implements javax.faces.event.SystemEventListener

This class isolates differences between JSF1 <> JSF 2 in order to minimize diffs across branches.

Author:
Neil Griffin

Constructor Summary
ApplicationStartupListenerCompat()
           
 
Method Summary
protected  String getApplicationContextPath(javax.faces.context.ExternalContext externalContext)
           
 boolean isListenerForSource(Object source)
           
 void processEvent(javax.faces.event.SystemEvent systemEvent)
           
abstract  void processSystemEvent(EventObject systemEvent)
           
protected  void publishEvent(javax.faces.application.Application application, javax.faces.context.FacesContext facesContext, ApplicationConfig applicationConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationStartupListenerCompat

public ApplicationStartupListenerCompat()
Method Detail

processSystemEvent

public abstract void processSystemEvent(EventObject systemEvent)

processEvent

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

publishEvent

protected void publishEvent(javax.faces.application.Application application,
                            javax.faces.context.FacesContext facesContext,
                            ApplicationConfig applicationConfig)

getApplicationContextPath

protected String getApplicationContextPath(javax.faces.context.ExternalContext externalContext)

isListenerForSource

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


Copyright © 2015 Liferay, Inc.. All rights reserved.