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

Field Summary
static int SYSTEM_AGENTS
           
static int TIME_CRITICAL
           
static int USER_AGENTS
           
 
Method Summary
 java.lang.Thread getThread(int type, java.lang.String name, java.lang.Runnable r)
          Return a Thread without starting it.
 void initialize(Profile p)
           
 void releaseResources()
           
 

Field Detail

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
Method Detail

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()