GigaSpaces XAP 9.7.2 API

org.openspaces.events.support
Class UnregisterEventContainerTask

java.lang.Object
  extended by org.openspaces.events.support.UnregisterEventContainerTask
All Implemented Interfaces:
Serializable, Task<Boolean>, Aware, ApplicationContextAware
Direct Known Subclasses:
UnregisterDistributedEventContainerTask

public class UnregisterEventContainerTask
extends Object
implements Task<Boolean>, 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:
Serialized Form

Constructor Summary
protected UnregisterEventContainerTask()
           
  UnregisterEventContainerTask(String containerName)
           
 
Method Summary
 Boolean execute()
          Computes a result, or throws an exception if unable to do so.
 void setApplicationContext(ApplicationContext applicationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnregisterEventContainerTask

protected UnregisterEventContainerTask()

UnregisterEventContainerTask

public UnregisterEventContainerTask(String containerName)
Method Detail

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)
                           throws BeansException
Specified by:
setApplicationContext in interface ApplicationContextAware
Throws:
BeansException

execute

public Boolean execute()
                throws Exception
Description copied from interface: Task
Computes a result, or throws an exception if unable to do so.

Specified by:
execute in interface Task<Boolean>
Returns:
computed result
Throws:
Exception - if unable to compute a result

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.