|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.struts.faces.taglib.LifecycleListener
LifecycleListener
to initialize the required lifecycle
objects, and perform other one-time setup tasks, for the
Struts-Faces Integration Library.
Field Summary | |
protected static org.apache.commons.logging.Log |
log
The logger for this instance. |
protected org.apache.struts.action.ActionServlet |
servlet
The ActionServlet we are associated with. |
protected javax.servlet.ServletContext |
servletContext
The ServletContext we are associated with. |
Constructor Summary | |
LifecycleListener()
|
Method Summary | |
void |
attributeAdded(javax.servlet.ServletContextAttributeEvent event)
Process an "attribute added" event. |
void |
attributeRemoved(javax.servlet.ServletContextAttributeEvent event)
Process an "attribute removed" event. |
void |
attributeReplaced(javax.servlet.ServletContextAttributeEvent event)
Process an "attribute replaced" event. |
void |
contextDestroyed(javax.servlet.ServletContextEvent event)
Process a "context destroyed" event. |
void |
contextInitialized(javax.servlet.ServletContextEvent event)
Process a "context initialized" event. |
private org.apache.struts.action.RequestProcessor |
createProcessor(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig modConfig)
Create and register a RequestProcessor instance
for the specified application module. |
private javax.faces.el.PropertyResolver |
createPropertyResolver()
Create and register a PropertyResolver instance
that supports DynaBean s. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.commons.logging.Log log
The logger for this instance.
protected org.apache.struts.action.ActionServlet servlet
The ActionServlet
we are associated with.
protected javax.servlet.ServletContext servletContext
The ServletContext
we are associated with.
Constructor Detail |
public LifecycleListener()
Method Detail |
public void attributeAdded(javax.servlet.ServletContextAttributeEvent event)
Process an "attribute added" event.
attributeAdded
in interface javax.servlet.ServletContextAttributeListener
event
- The ServletContextAttributeEvent
that has occurredpublic void attributeRemoved(javax.servlet.ServletContextAttributeEvent event)
Process an "attribute removed" event.
attributeRemoved
in interface javax.servlet.ServletContextAttributeListener
event
- The ServletContextAttributeEvent
that has occurredpublic void attributeReplaced(javax.servlet.ServletContextAttributeEvent event)
Process an "attribute replaced" event.
attributeReplaced
in interface javax.servlet.ServletContextAttributeListener
event
- The ServletContextAttributeEvent
that has occurredpublic void contextDestroyed(javax.servlet.ServletContextEvent event)
Process a "context destroyed" event.
contextDestroyed
in interface javax.servlet.ServletContextListener
event
- The ServletContextEvent
that has occurredpublic void contextInitialized(javax.servlet.ServletContextEvent event)
Process a "context initialized" event.
contextInitialized
in interface javax.servlet.ServletContextListener
event
- The ServletContextEvent
that has occurredprivate org.apache.struts.action.RequestProcessor createProcessor(org.apache.struts.action.ActionServlet servlet, org.apache.struts.config.ModuleConfig modConfig)
Create and register a RequestProcessor
instance
for the specified application module.
servlet
- ActionServlet instance we are associated withmodConfig
- ModuleConfig instance we are associated withprivate javax.faces.el.PropertyResolver createPropertyResolver()
Create and register a PropertyResolver
instance
that supports DynaBean
s.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |