jdave
Class DefaultLifecycleListener

java.lang.Object
  extended by jdave.DefaultLifecycleListener
All Implemented Interfaces:
ILifecycleListener

public class DefaultLifecycleListener
extends java.lang.Object
implements ILifecycleListener

Author:
Mikko Peltonen

Constructor Summary
DefaultLifecycleListener()
           
 
Method Summary
 void afterContextCreation(java.lang.Object contextInstance, java.lang.Object createdContext)
          Called just after context's create method has been called.
 void afterContextDestroy(java.lang.Object contextInstance)
          Called just after context's destroy method has been called.
 void afterContextInstantiation(java.lang.Object contextInstance)
          Called just after a context has been instantiated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLifecycleListener

public DefaultLifecycleListener()
Method Detail

afterContextCreation

public void afterContextCreation(java.lang.Object contextInstance,
                                 java.lang.Object createdContext)
Description copied from interface: ILifecycleListener
Called just after context's create method has been called.

Specified by:
afterContextCreation in interface ILifecycleListener
Parameters:
contextInstance - the holding context
createdContext - the object which was returned from create method

afterContextDestroy

public void afterContextDestroy(java.lang.Object contextInstance)
Description copied from interface: ILifecycleListener
Called just after context's destroy method has been called.

Specified by:
afterContextDestroy in interface ILifecycleListener
Parameters:
contextInstance - the context instance

afterContextInstantiation

public void afterContextInstantiation(java.lang.Object contextInstance)
Description copied from interface: ILifecycleListener
Called just after a context has been instantiated.

Specified by:
afterContextInstantiation in interface ILifecycleListener
Parameters:
contextInstance - the instantiated context


Copyright © 2008. All Rights Reserved.