Name

PhaseListener

Synopsis

This interface is implemented by all classes interested in handling PhaseEvent events.

Synopsis

Interface name:

javax.faces.event.PhaseListener

Extends:

java.util.EventListener

Implemented by:

All classes interested in handling PhaseEvent events.

Methods

public void afterPhase(javax.faces.event.PhaseEvent event)

Processes the event signaling the completion of a phase.

public void beforePhase(javax.faces.event.PhaseEvent event)

Processes the event signaling the beginning of a phase.

public javax.faces.event.PhaseId getPhaseId()

Returns the identifier for the request processing lifecycle phase when the event listeners wants to be notified of the event. Returning PhaseId.ANY_PHASE means that the listener wants to be notified in all phases.

Get JavaServer Faces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.