|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.shale.tiger.register.faces.PhaseListenerAdapter
public final class PhaseListenerAdapter
Adapter class for a phase listener that specifies the
FacesPhaseListener
annotation, but does not actually
implement the PhaseListener
interface.
Constructor Summary | |
---|---|
PhaseListenerAdapter(Object instance)
Construct a new adapter instance around the specified object instance, whose defining class MUST specify the FacesPhaseListener annotation, and whose implementation
MUST NOT be an implementation of javax.faces.event.PhaseListener . |
Method Summary | |
---|---|
void |
afterPhase(javax.faces.event.PhaseEvent event)
Process an "after phase" event. |
void |
beforePhase(javax.faces.event.PhaseEvent event)
Process a "before phase" event. |
javax.faces.event.PhaseId |
getPhaseId()
Return the identifier of the phase(s) we are interested in. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PhaseListenerAdapter(Object instance)
Construct a new adapter instance around the specified object
instance, whose defining class MUST specify the
FacesPhaseListener
annotation, and whose implementation
MUST NOT be an implementation of javax.faces.event.PhaseListener
.
instance
- The object instance for which we should
construct a call-through adapter
IllegalArgumentException
- if the class for the specified
instance does not have a @FacesPhaseListener annotation
IllegalArgumentException
- if the method specified by theMethod Detail |
---|
public void afterPhase(javax.faces.event.PhaseEvent event)
Process an "after phase" event.
afterPhase
in interface javax.faces.event.PhaseListener
event
- The PhaseEvent
to be processed
javax.faces.FacesException
- if an exception occurs invoking the
appropriate event handling methodpublic void beforePhase(javax.faces.event.PhaseEvent event)
Process a "before phase" event.
beforePhase
in interface javax.faces.event.PhaseListener
event
- The PhaseEvent
to be processed
javax.faces.FacesException
- if an exception occurs invoking the
appropriate event handling methodpublic javax.faces.event.PhaseId getPhaseId()
Return the identifier of the phase(s) we are interested in.
getPhaseId
in interface javax.faces.event.PhaseListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |