jade.core
Interface ResourceManager
public interface ResourceManager
This is the interface that must be implemented by a class
managing Thread resources on a Container
- Author:
- Giovanni Caire - TILAB
- See Also:
FullResourceManager
USER_AGENTS
static final int USER_AGENTS
- See Also:
- Constant Field Values
SYSTEM_AGENTS
static final int SYSTEM_AGENTS
- See Also:
- Constant Field Values
TIME_CRITICAL
static final int TIME_CRITICAL
- See Also:
- Constant Field Values
getThread
java.lang.Thread getThread(int type,
java.lang.String name,
java.lang.Runnable r)
- Return a Thread without starting it.
- Parameters:
type - The type of the Thread that will be returned: valid
types are USER_AGENTS, SYSTEM_AGENTS,
TIME_CRITICAL.r - The Runnable object that will executed by the
returned Thread.
initialize
void initialize(Profile p)
releaseResources
void releaseResources()