|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.agent.Agent
org.objectweb.joram.mom.dest.Destination
org.objectweb.joram.mom.dest.Topic
org.objectweb.joram.mom.dest.AdminTopic
public class AdminTopic
An AdminTopic
agent is a MOM administration service, which
Behavior is provided by an AdminTopicImpl
instance.
AdminTopicImpl
,
Serialized FormField Summary | |
---|---|
(package private) static AgentId |
adminId
|
private static long |
serialVersionUID
define serialVersionUID for interoperability |
Fields inherited from class org.objectweb.joram.mom.dest.Destination |
---|
destImpl, logger, task |
Fields inherited from class fr.dyade.aaa.agent.Agent |
---|
emptyString, fixed, logmon |
Constructor Summary | |
---|---|
AdminTopic()
Constructs an AdminTopic agent. |
Method Summary | |
---|---|
DestinationImpl |
createsImpl(AgentId adminId,
java.util.Properties prop)
Creates the TopicImpl. |
static AgentId |
getDefault()
Gets the identifier of the default administration topic on the current server. |
static AgentId |
getDefault(short serverId)
Gets the identifier of the default administration topic on a given server. |
static boolean |
isAdminTopicId(AgentId id)
Returns true if the given AgentId is the unique identifier of an AdminTopic agent. |
void |
react(AgentId from,
Notification not)
Distributes the received notifications to the appropriate reactions. |
Methods inherited from class org.objectweb.joram.mom.dest.Topic |
---|
getType |
Methods inherited from class org.objectweb.joram.mom.dest.Destination |
---|
agentFinalize, agentInitialize, getMBeanName, init, setFreeReading, setFreeWriting, setNoSave, setSave |
Methods inherited from class fr.dyade.aaa.agent.Agent |
---|
delete, delete, delete, deploy, deploy, getAgentId, getCommitTime, getId, getLogTopic, getName, getReactNb, getReactTime, isDeployed, isFixed, needToBeCommited, save, sendTo, sendTo, sendTo, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
static AgentId adminId
Constructor Detail |
---|
public AdminTopic() throws RequestException
AdminTopic
agent.
RequestException
Method Detail |
---|
public DestinationImpl createsImpl(AgentId adminId, java.util.Properties prop)
createsImpl
in class Topic
adminId
- Identifier of the topic administrator.prop
- The initial set of properties.public static AgentId getDefault(short serverId)
public static final AgentId getDefault()
public static final boolean isAdminTopicId(AgentId id)
id
- the AgentId to verify.
public void react(AgentId from, Notification not) throws java.lang.Exception
react
in class Topic
from
- agent sending notificationnot
- notification to react to
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |