org.objectweb.deployment.scheduling.component.api
Interface FactoryProviderTask

All Superinterfaces:
Task
All Known Subinterfaces:
InstallationTask
All Known Implementing Classes:
AbstractFactoryProviderTask, AbstractInstallationTask

public interface FactoryProviderTask
extends Task

FactoryProviderTask is the base interface of any deployment task which provides after execution a reference to a component factory instance.

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

Method Summary
 Object getFactory()
          Return the reference of a component factory.
 void setFactory(Object reference)
          Set the reference of a component factory.
 
Methods inherited from interface org.objectweb.deployment.scheduling.core.api.Task
addPreviousTask, execute, getPreviousTasks, getResult, removePreviousTask, setResult
 

Method Detail

getFactory

Object getFactory()
Return the reference of a component factory.

Returns:
The reference of a component factory.

setFactory

void setFactory(Object reference)
Set the reference of a component factory.

Parameters:
reference - - The reference of a component factory.