org.objectweb.dream.control.activity.scheduler
Class ForwarderSchedulerImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.control.activity.scheduler.ForwarderSchedulerImpl
- All Implemented Interfaces:
- BindingController, LifeCycleController, Loggable, Scheduler
- public class ForwarderSchedulerImpl
- extends AbstractComponent
- implements Scheduler
Basic implementation of a forwarder scheduler. This scheduler is only bound
to one upper-level that it executes. The schedule
method only
executes the upper-level task to which this scheduler is bound.
Field Summary |
protected Task |
task
The task that is executed. |
Fields inherited from interface org.objectweb.dream.control.activity.scheduler.Scheduler |
ITF_NAME |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
task
protected Task task
- The task that is executed.
ForwarderSchedulerImpl
public ForwarderSchedulerImpl()
schedule
public Object schedule(Object hints)
throws InterruptedException,
StoppedSchedulerException
- Description copied from interface:
Scheduler
- Scheduling method.
- Specified by:
schedule
in interface Scheduler
- Parameters:
hints
- scheduling parameters.
- Returns:
- An object that represents the scheduling result.
- Throws:
StoppedSchedulerException
- if the scheduler is stopped.
InterruptedException
- if the scheduler has been interrupted while
scheduling.- See Also:
Scheduler.schedule(Object)
bindFc
public void bindFc(String clientItfName,
Object serverItf)
throws NoSuchInterfaceException,
IllegalBindingException,
IllegalLifeCycleException
- Specified by:
bindFc
in interface BindingController
- Overrides:
bindFc
in class AbstractComponent
- Throws:
NoSuchInterfaceException
IllegalBindingException
IllegalLifeCycleException
- See Also:
BindingController.bindFc(String,
Object)
listFc
public String[] listFc()
- Specified by:
listFc
in interface BindingController
- See Also:
BindingController.listFc()
Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.