Joram 5.2.5

org.objectweb.joram.mom.dest
Class MonitoringTopic

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.MonitoringTopic
All Implemented Interfaces:
fr.dyade.aaa.agent.AgentMBean, java.io.Serializable, AdminDestinationItf

public class MonitoringTopic
extends Topic

Agent of the monitoring topic. Schedules the monitoring.

See Also:
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
MonitoringTopic()
          Empty constructor for newInstance().
 
Method Summary
protected  void agentInitialize(boolean firstTime)
          Gives this agent an opportunity to initialize after having been deployed, and each time it is loaded into memory.
 DestinationImpl createsImpl(fr.dyade.aaa.agent.AgentId adminId, java.util.Properties prop)
          Creates the TopicImpl.
static void init(java.lang.String args, boolean firstTime)
           
 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, 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

MonitoringTopic

public MonitoringTopic()
Empty constructor for newInstance().

Method Detail

init

public static void init(java.lang.String args,
                        boolean firstTime)
                 throws java.lang.Exception
Throws:
java.lang.Exception

agentInitialize

protected void agentInitialize(boolean firstTime)
                        throws java.lang.Exception
Description copied from class: Destination
Gives this agent an opportunity to initialize after having been deployed, and each time it is loaded into memory.

Overrides:
agentInitialize in class Destination
Parameters:
firstTime - true when first called by the factory
Throws:
java.lang.Exception - unspecialized exception

react

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

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

createsImpl

public DestinationImpl createsImpl(fr.dyade.aaa.agent.AgentId adminId,
                                   java.util.Properties prop)
Description copied from class: Topic
Creates the TopicImpl.

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

Joram 5.2.5

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