Joram 5.2.6

org.objectweb.joram.mom.dest
Class AdminTopic

java.lang.Object
  extended by fr.dyade.aaa.agent.Agent
      extended by org.objectweb.joram.mom.dest.Destination
          extended by org.objectweb.joram.mom.dest.Topic
              extended by org.objectweb.joram.mom.dest.AdminTopic
All Implemented Interfaces:
fr.dyade.aaa.agent.AgentMBean, java.io.Serializable, AdminDestinationItf

public class AdminTopic
extends Topic

An AdminTopic agent is a MOM administration service, which behaviour is provided by an AdminTopicImpl instance.

See Also:
AdminTopicImpl, Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.joram.mom.dest.Destination
destImpl, logger
 
Fields inherited from class fr.dyade.aaa.agent.Agent
fixed, logmon, name, nullName
 
Constructor Summary
AdminTopic()
          Constructs an AdminTopic agent.
 
Method Summary
 DestinationImpl createsImpl(fr.dyade.aaa.agent.AgentId adminId, java.util.Properties prop)
          Creates the TopicImpl.
static fr.dyade.aaa.agent.AgentId getDefault()
          Gets the identifier of the default administration topic on the current server.
static fr.dyade.aaa.agent.AgentId getDefault(short serverId)
          Gets the identifier of the default administration topic on a given server.
 void react(fr.dyade.aaa.agent.AgentId from, fr.dyade.aaa.agent.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, init, setNoSave, setSave
 
Methods inherited from class fr.dyade.aaa.agent.Agent
delete, delete, delete, deploy, deploy, getAgentId, getId, getLogTopic, getName, 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
 

Constructor Detail

AdminTopic

public AdminTopic()
Constructs an AdminTopic agent.

Method Detail

createsImpl

public DestinationImpl createsImpl(fr.dyade.aaa.agent.AgentId adminId,
                                   java.util.Properties prop)
Creates the TopicImpl.

Overrides:
createsImpl in class Topic
Parameters:
adminId - Identifier of the topic administrator.
prop - The initial set of properties.

getDefault

public static fr.dyade.aaa.agent.AgentId getDefault(short serverId)
Gets the identifier of the default administration topic on a given server.


getDefault

public static fr.dyade.aaa.agent.AgentId getDefault()
Gets the identifier of the default administration topic on the current server.


react

public void react(fr.dyade.aaa.agent.AgentId from,
                  fr.dyade.aaa.agent.Notification not)
           throws java.lang.Exception
Distributes the received notifications to the appropriate reactions.

Overrides:
react in class Topic
Throws:
java.lang.Exception

Joram 5.2.6

Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved