|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.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()
|
Flag<java.lang.String> |
getName()
Contains a human-readable name of the agent. |
java.lang.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 java.net.MalformedURLException, java.io.IOException, javax.management.MalformedObjectNameException
java.net.MalformedURLException
java.io.IOException
javax.management.MalformedObjectNameException
Method Detail |
---|
public Flag<java.lang.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 IAgentId
public java.lang.String getToken()
IAgentId
getToken
in interface IAgentId
getToken
in interface IToken
public long[] getIds()
getIds
in interface IToken
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |