Package org.openspaces.events.support
Class UnregisterEventContainerTask
java.lang.Object
org.openspaces.events.support.UnregisterEventContainerTask
- All Implemented Interfaces:
Serializable,Task<Boolean>,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
UnregisterDistributedEventContainerTask
public class UnregisterEventContainerTask
extends Object
implements Task<Boolean>, org.springframework.context.ApplicationContextAware
A task that unregisters (stops and disposes it) a dynamically added event container (using
Polling or Notify. Returns
true if the event container was found and unregistered correctly.- Author:
- kimchy
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()Computes a result, or throws an exception if unable to do so.voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
UnregisterEventContainerTask
protected UnregisterEventContainerTask() -
UnregisterEventContainerTask
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
execute
Description copied from interface:TaskComputes a result, or throws an exception if unable to do so.
-