Package org.wildfly.clustering.service
Class CascadeRemovalLifecycleListener
- java.lang.Object
-
- org.wildfly.clustering.service.CascadeRemovalLifecycleListener
-
- All Implemented Interfaces:
LifecycleListener
public class CascadeRemovalLifecycleListener extends Object implements LifecycleListener
Lifecycle listener that cascades service removal to a series of services.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description CascadeRemovalLifecycleListener(Iterable<ServiceController<?>> controllers)CascadeRemovalLifecycleListener(ServiceController<?> controller)CascadeRemovalLifecycleListener(ServiceController<?>... controllers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleEvent(ServiceController<?> source, LifecycleEvent event)The service has entered new state
-
-
-
Constructor Detail
-
CascadeRemovalLifecycleListener
public CascadeRemovalLifecycleListener(ServiceController<?> controller)
-
CascadeRemovalLifecycleListener
public CascadeRemovalLifecycleListener(ServiceController<?>... controllers)
-
CascadeRemovalLifecycleListener
public CascadeRemovalLifecycleListener(Iterable<ServiceController<?>> controllers)
-
-
Method Detail
-
handleEvent
public void handleEvent(ServiceController<?> source, LifecycleEvent event)
Description copied from interface:LifecycleListenerThe service has entered new state- Specified by:
handleEventin interfaceLifecycleListener- Parameters:
source- the controllerevent- the lifecycle event
-
-