org.apache.webbeans.web.lifecycle
Class WebContainerLifecycle
java.lang.Object
org.apache.webbeans.lifecycle.AbstractLifeCycle
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
|
Constructor Summary |
WebContainerLifecycle()
Creates a new lifecycle instance and initializes
the instance variables. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebContainerLifecycle
public WebContainerLifecycle()
- Creates a new lifecycle instance and initializes
the instance variables.
startApplication
public void startApplication(Object startupObject)
throws Exception
-
- Specified by:
startApplication in interface ContainerLifecycle- Overrides:
startApplication in class AbstractLifeCycle
- Throws:
Exception
stopApplication
public void stopApplication(Object endObject)
-
- Specified by:
stopApplication in interface ContainerLifecycle- Overrides:
stopApplication in class AbstractLifeCycle
afterStartApplication
protected void afterStartApplication(Object startupObject)
throws Exception
-
- Overrides:
afterStartApplication in class AbstractLifeCycle
- Throws:
Exception
beforeStartApplication
protected void beforeStartApplication(Object startupObject)
- Overrides:
beforeStartApplication in class AbstractLifeCycle
beforeStopApplication
protected void beforeStopApplication(Object stopObject)
throws Exception
-
- Overrides:
beforeStopApplication in class AbstractLifeCycle
- Throws:
Exception
afterStopApplication
protected void afterStopApplication(Object stopObject)
throws Exception
-
- Overrides:
afterStopApplication in class AbstractLifeCycle
- Throws:
Exception
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.