com.atlassian.config.lifecycle
Interface LifecycleManager

All Known Implementing Classes:
DefaultLifecycleManager

public interface LifecycleManager

Manages operations that must be performed on startup and shutdown of the application. These operations will typically be implemented as plugin modules. Important: There is no real way the application can guarantee that any of the shutdown tasks will be called in the event of an unfriendly server shutdown. They are mostly useful for cleanup in situations (like an appserver-triggered reload) where it can be assumed that the application will have the time to run the shutdown cleanly.


Method Summary
 void shutDown(javax.servlet.ServletContext servletContext)
          Perform all the shutdown tasks for the application.
 void startUp(javax.servlet.ServletContext servletContext)
          Perform all the startup tasks for the application.
 

Method Detail

startUp

void startUp(javax.servlet.ServletContext servletContext)
Perform all the startup tasks for the application.

Parameters:
servletContext - the web application servlet context

shutDown

void shutDown(javax.servlet.ServletContext servletContext)
Perform all the shutdown tasks for the application.

Parameters:
servletContext - the web application servlet context


Copyright © 2006-2008 Atlassian Pty Ltd. All Rights Reserved.