org.ow2.jonas.cdi.weld.internal.easybeans
Class WeldLifecycleCallback

java.lang.Object
  extended by org.ow2.easybeans.container.EmptyLifeCycleCallBack
      extended by org.ow2.jonas.cdi.weld.internal.easybeans.WeldLifecycleCallback
All Implemented Interfaces:
org.ow2.easybeans.api.EZBContainerLifeCycleCallback

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

This class intercepts startup and shutdown events for EasyBeans containers in order populate the EZBFactoriesRegistry

Author:
Loic Albertin

Constructor Summary
WeldLifecycleCallback(EZBFactoriesRegistry factoriesRegistry)
           
 
Method Summary
 void start(org.ow2.easybeans.api.EZBContainerCallbackInfo info)
           
 void stop(org.ow2.easybeans.api.EZBContainerCallbackInfo info)
           
 
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

WeldLifecycleCallback

public WeldLifecycleCallback(EZBFactoriesRegistry factoriesRegistry)
Method Detail

start

public void start(org.ow2.easybeans.api.EZBContainerCallbackInfo info)
           throws org.ow2.easybeans.api.LifeCycleCallbackException
Specified by:
start in interface org.ow2.easybeans.api.EZBContainerLifeCycleCallback
Overrides:
start in class org.ow2.easybeans.container.EmptyLifeCycleCallBack
Throws:
org.ow2.easybeans.api.LifeCycleCallbackException

stop

public void stop(org.ow2.easybeans.api.EZBContainerCallbackInfo info)
          throws org.ow2.easybeans.api.LifeCycleCallbackException
Specified by:
stop in interface org.ow2.easybeans.api.EZBContainerLifeCycleCallback
Overrides:
stop in class org.ow2.easybeans.container.EmptyLifeCycleCallBack
Throws:
org.ow2.easybeans.api.LifeCycleCallbackException


Copyright © 2013 OW2 Consortium. All Rights Reserved.