public class ClientAgentManager extends java.lang.Object implements ClientAgentManagerRemote
Constructor and Description |
---|
ClientAgentManager() |
Modifier and Type | Method and Description |
---|---|
static void |
clearMyAgent(java.lang.Object obj)
Removes the association between the object and the client agent
|
static ClientAgentManager |
getInstance()
Implementation of a singleton pattern for ClientAgentManager
|
static ClientAgent |
getMyAgent(java.lang.Object obj)
Returns the agent associated with the given object
|
static void |
setMyAgent(java.lang.Object obj,
ClientAgent agent)
Establishes the association between an object and a client agent
|
static void |
stopAllAgentsThreads() |
public ClientAgentManager() throws java.lang.Exception
java.lang.Exception
public static ClientAgentManager getInstance()
public static ClientAgent getMyAgent(java.lang.Object obj)
obj
- object parameterpublic static void setMyAgent(java.lang.Object obj, ClientAgent agent)
obj
- objectagent
- client agentpublic static void clearMyAgent(java.lang.Object obj)
obj
- objectpublic static void stopAllAgentsThreads()
Copyright © 2000-2012 CreamTec LLC. All Rights Reserved.