org.objectweb.deployment.scheduling.component.lib
Class AbstractInitializationTask
java.lang.Object
org.objectweb.deployment.scheduling.core.lib.AbstractTask
org.objectweb.deployment.scheduling.component.lib.AbstractRequireInstanceProviderTask
org.objectweb.deployment.scheduling.component.lib.AbstractInitializationTask
- All Implemented Interfaces:
- InitializationTask, RequireInstanceProviderTask, Task
public abstract class AbstractInitializationTask
- extends AbstractRequireInstanceProviderTask
- implements InitializationTask
AbstractInitializationTask implements InitializationTask.
Subclasses must implement:
- public void execute(Object context) throws Exception;
- Version:
- 0.2
- Author:
- Philippe Merle, Frédéric Briclet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractInitializationTask
public AbstractInitializationTask()
- The default constructor.
getConfigurationTasks
public ConfigurationTask[] getConfigurationTasks()
- Return all the configuration tasks to execute before.
- Specified by:
getConfigurationTasks
in interface InitializationTask
- Returns:
- All the configuration tasks to execute before.
getResult
public Object getResult()
- Return the result of the execution.
- Specified by:
getResult
in interface Task
- Returns:
- The result of the execution.
setResult
public void setResult(Object result)
- Set the result of the execution.
- Specified by:
setResult
in interface Task
- Parameters:
result
- - The result of the execution.
TODO: Is it really useful to provide this method?