|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.creamtec.ajaxswing.core.ClientAgentManager
public class ClientAgentManager
Centralized manager of virtual client instances. Used to establish and maintain the association between objects such as windows and threads and the instances of ClientAgent that own those objects.
Constructor Summary | |
---|---|
ClientAgentManager()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientAgentManager() throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public static ClientAgentManager getInstance()
public static ClientAgent getMyAgent(java.lang.Object obj)
obj
- object parameter
public 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |