|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.base.agent.jmx.proxy.AgentIdJMXProxy
public class AgentIdJMXProxy
Makes it possible to control agent running in remote JVM through JMX protocol.
| Constructor Summary | |
|---|---|
AgentIdJMXProxy(AgentJMXProxy agentProxy)
|
|
| Method Summary | |
|---|---|
long[] |
getIds()
|
cz.cuni.amis.utils.flag.Flag<String> |
getName()
Contains a human-readable name of the agent. |
String |
getToken()
Must return token that is unique even across different JVMs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgentIdJMXProxy(AgentJMXProxy agentProxy)
throws MalformedURLException,
IOException,
MalformedObjectNameException
MalformedURLException
IOException
MalformedObjectNameException| Method Detail |
|---|
public cz.cuni.amis.utils.flag.Flag<String> getName()
IAgentId
Note that the name is quite different string than IAgentId.getToken(). The
token contains unique-identifier of the agent across whole JVMs in the world, but
the name is just human-readable identifier that can be even changed over time.
Therefore, the name should not be used for any compares or interpretation.
getName in interface IAgentIdpublic String getToken()
IAgentId
getToken in interface IAgentIdgetToken in interface cz.cuni.amis.utils.token.ITokenpublic long[] getIds()
getIds in interface cz.cuni.amis.utils.token.IToken
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||