public final class ActionListenerImpl extends Object implements javax.faces.event.ActionListener
Concrete implementation of ActionListener that replaces
the default provided implementation. It converts application-level events
into execution of the corresponding Struts request processing lifecycle.
| Constructor and Description |
|---|
ActionListenerImpl(javax.faces.event.ActionListener original)
Construct a new default
ActionListener instance,
passing it the previously configured one. |
| Modifier and Type | Method and Description |
|---|---|
protected RequestProcessor |
getRequestProcessor(ModuleConfig config,
javax.servlet.ServletContext context)
Look up and return the
RequestProcessor responsible for
the specified module, creating a new one if necessary. |
void |
processAction(javax.faces.event.ActionEvent event)
Process the specified
ActionEvent. |
public ActionListenerImpl(javax.faces.event.ActionListener original)
Construct a new default ActionListener instance,
passing it the previously configured one.
original - Original default ActionListenerNullPointerException - if original
is nullpublic void processAction(javax.faces.event.ActionEvent event)
throws javax.faces.event.AbortProcessingException
Process the specified ActionEvent.
processAction in interface javax.faces.event.ActionListenerevent - The ActionEvent to be processedjavax.faces.event.AbortProcessingException - to signal that no further
event processing should be performedprotected RequestProcessor getRequestProcessor(ModuleConfig config, javax.servlet.ServletContext context)
Look up and return the RequestProcessor responsible for
the specified module, creating a new one if necessary. This method is
based on the corresponding code in ActionServlet, which
cannot be used directly because it is a protected method.
config - The module configuration for which to
acquire and return a RequestProcessorcontext - The ServletContext instance
for this web applicationIllegalStateException - if we cannot instantiate a
RequestProcessor instanceCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.