org.objectweb.deployment.scheduling.component.lib
Class AbstractInstallationTask

java.lang.Object
  extended by org.objectweb.deployment.scheduling.core.lib.AbstractTask
      extended by org.objectweb.deployment.scheduling.component.lib.AbstractFactoryProviderTask
          extended by org.objectweb.deployment.scheduling.component.lib.AbstractInstallationTask
All Implemented Interfaces:
FactoryProviderTask, InstallationTask, Task

public abstract class AbstractInstallationTask
extends AbstractFactoryProviderTask
implements InstallationTask

AbstractInstallationTask implements InstallationTask. Subclasses must implement: - public void execute(Object context) throws Exception;

Version:
0.2
Author:
Philippe Merle, Frédéric Briclet

Constructor Summary
AbstractInstallationTask()
          The default constructor.
 
Method Summary
 Object getImplementation()
          Return the implementation of a component factory.
 void setImplementation(Object implementation)
          Set the implementation of a component factory.
 
Methods inherited from class org.objectweb.deployment.scheduling.component.lib.AbstractFactoryProviderTask
getFactory, getResult, setFactory, setResult
 
Methods inherited from class org.objectweb.deployment.scheduling.core.lib.AbstractTask
addPreviousTask, getPreviousTaskList, getPreviousTasks, removePreviousTask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.deployment.scheduling.component.api.FactoryProviderTask
getFactory, setFactory
 
Methods inherited from interface org.objectweb.deployment.scheduling.core.api.Task
addPreviousTask, execute, getPreviousTasks, getResult, removePreviousTask, setResult
 

Constructor Detail

AbstractInstallationTask

public AbstractInstallationTask()
The default constructor.

Method Detail

getImplementation

public Object getImplementation()
Return the implementation of a component factory.

Specified by:
getImplementation in interface InstallationTask
Returns:
The implementation of a component factory.

setImplementation

public void setImplementation(Object implementation)
Set the implementation of a component factory.

Specified by:
setImplementation in interface InstallationTask
Parameters:
implementation - - The implementation of a component factory.