org.objectweb.dream.control.activity.manager
Class ThreadManagerImpl
java.lang.Object
org.objectweb.dream.AbstractComponent
org.objectweb.dream.control.activity.manager.ThreadManagerImpl
- All Implemented Interfaces:
- ThreadManager, ContextualBindingController, NeedAsyncStartController, PrepareStopLifeCycleController, Loggable, BindingController, LifeCycleController
public class ThreadManagerImpl
- extends AbstractComponent
- implements ThreadManager
Implementation of the ThreadManager
interface.
Methods inherited from class org.objectweb.dream.AbstractComponent |
beforeFirstStart, bindFc, getFcNeedAsyncStart, getFcState, initComponent, lookupFc, prepareStopFc, setLogger, startFc, stopFc, unbindFc |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACTIVITY_CONTENT_CONTROLLER_ITF_NAME
public static final String ACTIVITY_CONTENT_CONTROLLER_ITF_NAME
- Name of the content controller client interface of this component.
- See Also:
- Constant Field Values
ThreadManagerImpl
public ThreadManagerImpl()
addThread
public Task addThread()
- Description copied from interface:
ThreadManager
- Creates, and returns a thread component.
- Specified by:
addThread
in interface ThreadManager
- Returns:
- the task interface of the created thread.
- See Also:
ThreadManager.addThread()
removeThread
public void removeThread(Task task)
throws IllegalTaskException
- Description copied from interface:
ThreadManager
- Removes the thread, the given task interface belong.
- Specified by:
removeThread
in interface ThreadManager
- Parameters:
task
- a task interface of a thread component.
- Throws:
IllegalTaskException
- if the given task interface is unknown.- See Also:
ThreadManager.removeThread(Task)
listFc
public String[] listFc()
- Specified by:
listFc
in interface BindingController
- See Also:
BindingController.listFc()
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)
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.