|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.deployment.scheduling.core.lib.AbstractTask
org.objectweb.deployment.scheduling.component.lib.AbstractFactoryProviderTask
public abstract class AbstractFactoryProviderTask
AbstractFactoryProviderTask implements FactoryProviderTask. Subclasses must implement: - public void execute(Object context) throws Exception;
Constructor Summary | |
---|---|
AbstractFactoryProviderTask()
The default constructor. |
Method Summary | |
---|---|
Object |
getFactory()
Return the reference of a component factory. |
Object |
getResult()
Return the result of the execution. |
void |
setFactory(Object reference)
Set the reference of a component factory. |
void |
setResult(Object result)
Set the result of the execution. |
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.core.api.Task |
---|
addPreviousTask, execute, getPreviousTasks, removePreviousTask |
Constructor Detail |
---|
public AbstractFactoryProviderTask()
Method Detail |
---|
public Object getFactory()
getFactory
in interface FactoryProviderTask
public void setFactory(Object reference)
setFactory
in interface FactoryProviderTask
reference
- - The reference of a component factory.public Object getResult()
getResult
in interface Task
public void setResult(Object result)
setResult
in interface Task
result
- - The result of the execution.
TODO: Is it really useful to provide this method?
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |