org.ow2.jonas.ws.axis2.easybeans.ext
Class LifeCycleCallback

java.lang.Object
  extended by org.ow2.easybeans.container.EmptyLifeCycleCallBack
      extended by org.ow2.jonas.ws.axis2.easybeans.ext.LifeCycleCallback
All Implemented Interfaces:
org.ow2.easybeans.api.EZBContainerLifeCycleCallback

public class LifeCycleCallback
extends org.ow2.easybeans.container.EmptyLifeCycleCallBack

Callback for Axis2.

Author:
youchao, Guillaume Sauthier, Florent Benoit, xiaoda

Constructor Summary
LifeCycleCallback()
           
 
Method Summary
 void setManager(IWebServiceDeploymentManager manager)
           
 void start(org.ow2.easybeans.api.EZBContainerCallbackInfo info)
          Called when container is starting.
 void stop()
          This stop method is not directly called by the EJB container.
 void stop(org.ow2.easybeans.api.EZBContainerCallbackInfo info)
          Called when container is stopping.
 
Methods inherited from class org.ow2.easybeans.container.EmptyLifeCycleCallBack
beforeBind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifeCycleCallback

public LifeCycleCallback()
Method Detail

setManager

public void setManager(IWebServiceDeploymentManager manager)
Parameters:
manager - the manager to set

start

public void start(org.ow2.easybeans.api.EZBContainerCallbackInfo info)
Called when container is starting.

Specified by:
start in interface org.ow2.easybeans.api.EZBContainerLifeCycleCallback
Overrides:
start in class org.ow2.easybeans.container.EmptyLifeCycleCallBack
Parameters:
info - some information on the container which is starting.

stop

public void stop(org.ow2.easybeans.api.EZBContainerCallbackInfo info)
Called when container is stopping.

Specified by:
stop in interface org.ow2.easybeans.api.EZBContainerLifeCycleCallback
Overrides:
stop in class org.ow2.easybeans.container.EmptyLifeCycleCallBack
Parameters:
info - some information on the container which is stopping.

stop

public void stop()
This stop method is not directly called by the EJB container. The lifecycle object itself has decided to stop (maybe one of its dependencies is now unavailable)



Copyright ? 2009 OW2 Consortium. All Rights Reserved.