|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.faces.application.ActionListenerImpl
public final class ActionListenerImpl
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 Summary | |
---|---|
ActionListenerImpl(javax.faces.event.ActionListener original)
Construct a new default ActionListener instance,
passing it the previously configured one. |
Method Summary | |
---|---|
protected RequestProcessor |
getRequestProcessor(ModuleConfig config,
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionListenerImpl(javax.faces.event.ActionListener original)
Construct a new default ActionListener
instance,
passing it the previously configured one.
original
- Original default ActionListener
NullPointerException
- if original
is null
Method Detail |
---|
public void processAction(javax.faces.event.ActionEvent event) throws javax.faces.event.AbortProcessingException
Process the specified ActionEvent
.
processAction
in interface javax.faces.event.ActionListener
event
- The ActionEvent
to be processed
javax.faces.event.AbortProcessingException
- to signal that no further
event processing should be performedprotected RequestProcessor getRequestProcessor(ModuleConfig config, 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 application
IllegalStateException
- if we cannot instantiate a
RequestProcessor instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |