Weaver 3.1.0a1-D1

com.oldlight.weaver.clientbinding
Interface WeaverApplicationLifeCycleListener


public interface WeaverApplicationLifeCycleListener

The WeaverApplicationLifeCycleListener is implemented by W-Beans that wish to be informed of application initialisation and destruction. Any W-Bean (that is any class that implements the WeaverBean interface) that implements this interface is automatically called on application initialisation and destruction.

Author:
Paul Harvey

Method Summary
 void destroyApplication(WeaverExecutionContext context)
          Called when the application is destroyed.
 void initApplication(WeaverExecutionContext context)
          Called when the application is initialised.
 

Method Detail

initApplication

public void initApplication(WeaverExecutionContext context)
                     throws WeaverClientException
Called when the application is initialised.

Parameters:
context - Current execution context.
Throws:
WeaverClientException

destroyApplication

public void destroyApplication(WeaverExecutionContext context)
                        throws WeaverClientException
Called when the application is destroyed.

Parameters:
context - Current execution context.
Throws:
WeaverClientException

Copyright ©Paul Harvey