|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.faces.application.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.
Field Summary | |
private static org.apache.commons.logging.Log |
log
The logger for this instance. |
private javax.faces.event.ActionListener |
original
The previously configured ActionListener instance. |
Constructor Summary | |
ActionListenerImpl(javax.faces.event.ActionListener original)
Construct a new default ActionListener instance,
passing it the previously configured one. |
Method Summary | |
protected org.apache.struts.action.RequestProcessor |
getRequestProcessor(org.apache.struts.config.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 . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final org.apache.commons.logging.Log log
The logger for this instance.
private javax.faces.event.ActionListener original
The previously configured ActionListener
instance.
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
java.lang.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 org.apache.struts.action.RequestProcessor getRequestProcessor(org.apache.struts.config.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 application
java.lang.IllegalStateException
- if we cannot instantiate a
RequestProcessor instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |