|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--springs.context.threads.AgentCreator | +--springs.context.threads.AgentCreator_RMIImpl
A Springs agent creator implemented in RMI.
Field Summary | |
private springs.context.ContextAddress |
_contextAddress
|
Fields inherited from class springs.context.threads.AgentCreator |
_agent, _error, _isMoving |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
AgentCreator_RMIImpl(springs.agent.SpringsAgent agent,
springs.context.ContextAddress contextAddress,
boolean isMoving)
Constructor. |
Method Summary | |
void |
createAgentTemplate()
Creates a Springs agent. |
Methods inherited from class springs.context.threads.AgentCreator |
createAgent, getError, isSuccessful, run |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private springs.context.ContextAddress _contextAddress
Constructor Detail |
public AgentCreator_RMIImpl(springs.agent.SpringsAgent agent, springs.context.ContextAddress contextAddress, boolean isMoving)
agent
- the agent.contextAddress
- the address of the context.isMoving
- a boolean indicating if the agent is sent because of a movement from another
context.SpringsAgent
,
ContextAddress
Method Detail |
public void createAgentTemplate() throws CreationException, AlreadyExistingAgentException
createAgentTemplate
in class AgentCreator
CreationException
- if error.
AlreadyExistingAgentException
- if the agent cannot be registered because it already
exist at the context.CreationException
,
AlreadyExistingAgentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |