fr.dyade.aaa.agent

Interface AgentMBean

Known Implementing Classes:
AdminTopic, Agent, AgentAdmin, BridgeQueue, BridgeTopic, ClusterQueue, Container, DeadMQueue, Destination, ProxyAgent, Queue, Topic, UserAgent

public interface AgentMBean

Method Summary

void
delete()
Permits this agent to destroy it.
AgentId
getId()
Returns the global unique identifier of the agent.
String
getName()
Returns this Agent's name.
boolean
isFixed()
Tests if the agent is pinned in memory.
String
toString()
Returns a string representation of this agent, including the agent's class, name, global identication, and fixed property.

Method Details

delete

public void delete()
Permits this agent to destroy it.


getId

public AgentId getId()
Returns the global unique identifier of the agent. Each agent is identified by a unique identifier allowing the agent to be found. The identifiers format is detailed in AgentId class.

Returns:
the global unique identifier of the agent.


getName

public String getName()
Returns this Agent's name.

Returns:
this Agent's name.


isFixed

public boolean isFixed()
Tests if the agent is pinned in memory.

Returns:
true if this agent is a pinned in memory; false otherwise.

See Also:
fixed


toString

public String toString()
Returns a string representation of this agent, including the agent's class, name, global identication, and fixed property.

Returns:
A string representation of this agent.


Copyright B) 2004 Scalagent - All rights reserved