Clearspace API (1.10.16) Core Javadocs

com.jivesoftware.community.lifecycle
Interface ApplicationLifeCycle.Listener

Enclosing interface:
ApplicationLifeCycle

public static interface ApplicationLifeCycle.Listener

An interface for an application life cycle listener.

See Also:
ApplicationLifeCycle.addListener(ApplicationLifeCycle.Listener)

Method Summary
 void beforeDestroy()
          This method is called when the application is about to shutdown.
 void beforeInitialize()
          Called by the initialization code prior to any initialization.
 void destroyed()
          This method is called when the application has completely shutdown.
 void doInitialization()
          Called by the initialization code after all Jive managers are initialized but prior to clustering and the task engine being started.
 void initialized()
          This method is called by the initialization code when application initialization is complete.
 

Method Detail

beforeInitialize

void beforeInitialize()
Called by the initialization code prior to any initialization.


doInitialization

void doInitialization()
Called by the initialization code after all Jive managers are initialized but prior to clustering and the task engine being started. Use this method as one way to initialize custom code (The other is described in the class documentation for ApplicationLifeCycle).


initialized

void initialized()
This method is called by the initialization code when application initialization is complete.


beforeDestroy

void beforeDestroy()
This method is called when the application is about to shutdown. Listener authors may use this method to destroy resources used by custom code.


destroyed

void destroyed()
This method is called when the application has completely shutdown.


Clearspace Project Page

Copyright © 1999-2007 Jive Software.