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

All Superinterfaces:
Task
All Known Subinterfaces:
InstantiationTask
All Known Implementing Classes:
AbstractInstanceProviderTask, AbstractInstantiationTask

public interface InstanceProviderTask
extends Task

InstanceProviderTask is the base interface of any deployment tasks which provide after execution a reference to a component instance.

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

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

Method Detail

getInstance

Object getInstance()
Return the reference of a component instance.

Returns:
The reference of a component instance.

setInstance

void setInstance(Object reference)
Set the reference of a component instance.

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