Top Description Constructors Methods
jakarta.faces.event

public abstract Class ActionListenerWrapper

extends Object
implements ActionListener, FacesWrapper<ActionListener>
Class Inheritance
All Implemented Interfaces
jakarta.faces.FacesWrapper, jakarta.faces.event.ActionListener, jakarta.faces.event.FacesListener, java.util.EventListener
Imports
jakarta.faces.FacesWrapper

Provides a simple implementation of ActionListener that can be subclassed by developers wishing to provide specialized behavior to an existing ActionListener instance. The default implementation of all methods is to call through to the wrapped ActionListener.

Usage: extend this class and override getWrapped to return the instance we are wrapping.

Since
2.2

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract ActionListener
getWrapped()

Redeclares jakarta.faces.FacesWrapper.getWrapped.

A class that implements this interface uses this method to return an instance of the class being wrapped.

public void
processAction(ActionEvent
The ActionEvent that has occurred
event
)

Implements jakarta.faces.event.ActionListener.processAction.

Invoked when the action described by the specified ActionEvent occurs.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ActionListenerWrapperback to summary
public ActionListenerWrapper()

Method Detail

getWrappedback to summary
public abstract ActionListener getWrapped()

Redeclares jakarta.faces.FacesWrapper.getWrapped.

Doc from jakarta.faces.FacesWrapper.getWrapped.

A class that implements this interface uses this method to return an instance of the class being wrapped.

Returns:ActionListener

the wrapped instance.

Annotations
@Override
processActionback to summary
public void processAction(ActionEvent event) throws AbortProcessingException

Implements jakarta.faces.event.ActionListener.processAction.

Doc from jakarta.faces.event.ActionListener.processAction.

Invoked when the action described by the specified ActionEvent occurs.

Parameters
event:ActionEvent

The ActionEvent that has occurred

Annotations
@Override
Exceptions
AbortProcessingException:
Signal the Jakarta Faces implementation that no further processing on the current event should be performed