com.atlassian.config.db
Class DatabaseLowerPropertyCheck

java.lang.Object
  extended by com.atlassian.config.db.DatabaseLowerPropertyCheck
All Implemented Interfaces:
LifecycleItem

public class DatabaseLowerPropertyCheck
extends java.lang.Object
implements LifecycleItem


Constructor Summary
DatabaseLowerPropertyCheck()
           
 
Method Summary
 void setBootstrapManager(AtlassianBootstrapManager bootstrapManager)
           
 void shutdown(LifecycleContext context)
          Called on application shutdown
 void startup(LifecycleContext context)
          Called on application startup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseLowerPropertyCheck

public DatabaseLowerPropertyCheck()
Method Detail

setBootstrapManager

public void setBootstrapManager(AtlassianBootstrapManager bootstrapManager)

startup

public void startup(LifecycleContext context)
             throws java.lang.Exception
Description copied from interface: LifecycleItem
Called on application startup.

Specified by:
startup in interface LifecycleItem
Parameters:
context - the application's lifecycle context
Throws:
java.lang.Exception - if something goes wrong during startup. No more startup items will be run, and the application will post a fatal error, shut down all LifecycleItems that have run previously, and die horribly.

shutdown

public void shutdown(LifecycleContext context)
              throws java.lang.Exception
Description copied from interface: LifecycleItem
Called on application shutdown

Specified by:
shutdown in interface LifecycleItem
Parameters:
context - the application's lifecycle context
Throws:
java.lang.Exception - if something goes wrong during the shutdown process. The remaining shutdown items will still be run, but the lifecycle manager will log the error.


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