org.picocontainer.web.struts2
Class Struts2PicoServletContainerListener

java.lang.Object
  extended by org.picocontainer.web.PicoServletContainerListener
      extended by org.picocontainer.web.struts2.Struts2PicoServletContainerListener
All Implemented Interfaces:
Serializable, EventListener, javax.servlet.http.HttpSessionListener, javax.servlet.ServletContextListener

public class Struts2PicoServletContainerListener
extends org.picocontainer.web.PicoServletContainerListener

See Also:
Serialized Form

Nested Class Summary
static class Struts2PicoServletContainerListener.StrutsActionInstantiatingComponentMonitor
           
 
Field Summary
 
Fields inherited from class org.picocontainer.web.PicoServletContainerListener
PRINT_SESSION_SIZE, STATELESS_WEBAPP, WEBAPP_COMPOSER_CLASS
 
Constructor Summary
Struts2PicoServletContainerListener()
           
 
Method Summary
 void contextInitialized(javax.servlet.ServletContextEvent event)
           
protected  org.picocontainer.ComponentMonitor makeRequestComponentMonitor()
          Struts2 handles whole value objects in some configurations.
protected  org.picocontainer.web.ScopedContainers makeScopedContainers(boolean stateless)
           
 
Methods inherited from class org.picocontainer.web.PicoServletContainerListener
addRequestBehaviors, compose, contextDestroyed, loadComposer, makeAppComponentMonitor, makeLifecycleStrategy, makeParentContainer, makeScopedContainers, makeSessionComponentMonitor, sessionCreated, sessionDestroyed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Struts2PicoServletContainerListener

public Struts2PicoServletContainerListener()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent event)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
Overrides:
contextInitialized in class org.picocontainer.web.PicoServletContainerListener

makeScopedContainers

protected org.picocontainer.web.ScopedContainers makeScopedContainers(boolean stateless)
Overrides:
makeScopedContainers in class org.picocontainer.web.PicoServletContainerListener

makeRequestComponentMonitor

protected org.picocontainer.ComponentMonitor makeRequestComponentMonitor()
Struts2 handles whole value objects in some configurations. This enables lazy instantiation of them

Overrides:
makeRequestComponentMonitor in class org.picocontainer.web.PicoServletContainerListener


Copyright © 2010. All Rights Reserved.