org.apache.webbeans.web.lifecycle
Class WebContainerLifecycle

java.lang.Object
  extended by org.apache.webbeans.lifecycle.AbstractLifeCycle
      extended by org.apache.webbeans.web.lifecycle.WebContainerLifecycle
All Implemented Interfaces:
ContainerLifecycle

public final class WebContainerLifecycle
extends AbstractLifeCycle

Manages container lifecycle.

Behaves according to the request, session, and application contexts of the web application.

Version:
$Rev: 911764 $ $Date: 2010-02-19 11:52:54 +0200 (Fri, 19 Feb 2010) $
See Also:
WebBeansConfigurationListener

Field Summary
 
Fields inherited from class org.apache.webbeans.lifecycle.AbstractLifeCycle
contextsService, logger, scannerService, started, webBeansContext
 
Constructor Summary
WebContainerLifecycle()
          Creates a new lifecycle instance and initializes the instance variables.
WebContainerLifecycle(WebBeansContext webBeansContext)
          Creates a new lifecycle instance and initializes the instance variables.
 
Method Summary
protected  void afterStartApplication(Object startupObject)
          
protected  void afterStopApplication(Object stopObject)
          
protected  void beforeStartApplication(Object startupObject)
           
protected  void beforeStopApplication(Object stopObject)
          
 void startApplication(Object startupObject)
          
 void stopApplication(Object endObject)
          
 
Methods inherited from class org.apache.webbeans.lifecycle.AbstractLifeCycle
afterInitApplication, beforeInitApplication, bootstrapApplication, getBeanManager, getContextService, getWebBeansContext, initApplication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebContainerLifecycle

public WebContainerLifecycle()
Creates a new lifecycle instance and initializes the instance variables.


WebContainerLifecycle

public WebContainerLifecycle(WebBeansContext webBeansContext)
Creates a new lifecycle instance and initializes the instance variables.

Method Detail

startApplication

public void startApplication(Object startupObject)

Specified by:
startApplication in interface ContainerLifecycle
Overrides:
startApplication in class AbstractLifeCycle

stopApplication

public void stopApplication(Object endObject)

Specified by:
stopApplication in interface ContainerLifecycle
Overrides:
stopApplication in class AbstractLifeCycle

afterStartApplication

protected void afterStartApplication(Object startupObject)

Overrides:
afterStartApplication in class AbstractLifeCycle

beforeStartApplication

protected void beforeStartApplication(Object startupObject)
Overrides:
beforeStartApplication in class AbstractLifeCycle

beforeStopApplication

protected void beforeStopApplication(Object stopObject)

Overrides:
beforeStopApplication in class AbstractLifeCycle

afterStopApplication

protected void afterStopApplication(Object stopObject)

Overrides:
afterStopApplication in class AbstractLifeCycle


Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.