org.objectweb.dream.control.activity.task.thread
Class ThreadTaskImpl
java.lang.Object
org.objectweb.dream.control.activity.task.thread.AbstractThreadTaskImpl
org.objectweb.dream.control.activity.task.thread.ThreadTaskImpl
- All Implemented Interfaces:
- Runnable, Task, BindingController, LifeCycleController
public class ThreadTaskImpl
- extends AbstractThreadTaskImpl
- implements Runnable
Basic implementation of a Dream thread.
- See Also:
AbstractThreadTaskImpl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
thread
protected Thread thread
executing
protected boolean executing
ThreadTaskImpl
public ThreadTaskImpl()
isExecuting
protected boolean isExecuting()
- Description copied from class:
AbstractThreadTaskImpl
- Called by
AbstractThreadTaskImpl.execute(Object)method.
- Specified by:
isExecuting in class AbstractThreadTaskImpl
- Returns:
false if the AbstractThreadTaskImpl.execute(Object)method must
return.- See Also:
AbstractThreadTaskImpl.isExecuting()
setExecuting
protected void setExecuting(boolean b)
- Description copied from class:
AbstractThreadTaskImpl
- Called by
AbstractThreadTaskImpl.execute(Object)method. Sets its execution state.
- Specified by:
setExecuting in class AbstractThreadTaskImpl
- Parameters:
b - false if the AbstractThreadTaskImpl.execute(Object)method must
return.- See Also:
AbstractThreadTaskImpl.setExecuting(boolean)
run
public void run()
- Specified by:
run in interface Runnable
- See Also:
Runnable.run()
startFc
public void startFc()
throws IllegalLifeCycleException
- Specified by:
startFc in interface LifeCycleController- Overrides:
startFc in class AbstractThreadTaskImpl
- Throws:
IllegalLifeCycleException- See Also:
LifeCycleController.startFc()
stopFc
public void stopFc()
throws IllegalLifeCycleException
- Specified by:
stopFc in interface LifeCycleController- Overrides:
stopFc in class AbstractThreadTaskImpl
- Throws:
IllegalLifeCycleException- See Also:
LifeCycleController.stopFc()
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.