org.openspaces.events.support
Class UnregisterEventContainerTask
java.lang.Object
  
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
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
UnregisterEventContainerTask
protected UnregisterEventContainerTask()
UnregisterEventContainerTask
public UnregisterEventContainerTask(String containerName)
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
 
 
Copyright © GigaSpaces.