org.apache.myfaces.extensions.validator.core.startup
Class AbstractStartupListener

java.lang.Object
  extended by org.apache.myfaces.extensions.validator.core.startup.AbstractStartupListener
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.faces.event.PhaseListener
Direct Known Subclasses:
ExtValStartupListener

public abstract class AbstractStartupListener
extends java.lang.Object
implements javax.faces.event.PhaseListener

In order to execute logic just once. e.g. register artifacts via api

Since:
1.x.1
Author:
Gerhard Petracek
See Also:
Serialized Form

Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Constructor Summary
protected AbstractStartupListener()
           
 
Method Summary
 void afterPhase(javax.faces.event.PhaseEvent event)
           
 void beforePhase(javax.faces.event.PhaseEvent event)
           
 javax.faces.event.PhaseId getPhaseId()
           
protected abstract  void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Constructor Detail

AbstractStartupListener

protected AbstractStartupListener()
Method Detail

afterPhase

public void afterPhase(javax.faces.event.PhaseEvent event)
Specified by:
afterPhase in interface javax.faces.event.PhaseListener

beforePhase

public void beforePhase(javax.faces.event.PhaseEvent event)
Specified by:
beforePhase in interface javax.faces.event.PhaseListener

getPhaseId

public javax.faces.event.PhaseId getPhaseId()
Specified by:
getPhaseId in interface javax.faces.event.PhaseListener

init

protected abstract void init()


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.