|
||||||||||
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 javax.faces.lifecycle.ApplicationHandler |
handler
The ApplicationHandler to be used for request processing. |
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. |
private void |
configureComponents()
Add our UIComponent s to the default
RenderKit . |
private void |
configureRenderers()
Add our Renderer s to the default
RenderKit . |
void |
contextDestroyed(javax.servlet.ServletContextEvent event)
Process a "context destroyed" event. |
void |
contextInitialized(javax.servlet.ServletContextEvent event)
Process a "context initialized" event. |
private javax.faces.lifecycle.ApplicationHandler |
createHandler(org.apache.struts.action.ActionServlet servlet)
Create and register an ApplicationHandler instance. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected javax.faces.lifecycle.ApplicationHandler handler
The ApplicationHandler
to be used for request processing.
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 void configureComponents()
Add our UIComponent
s to the default
RenderKit
.
private void configureRenderers()
Add our Renderer
s to the default
RenderKit
.
private javax.faces.lifecycle.ApplicationHandler createHandler(org.apache.struts.action.ActionServlet servlet)
Create and register an ApplicationHandler
instance.
servlet
- ActionServlet instance we are associated withprivate 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 with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |