Joram 5.3.1

org.objectweb.joram.mom.dest
Class MonitoringQueue

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.Queue
              extended by org.objectweb.joram.mom.dest.MonitoringQueue
All Implemented Interfaces:
fr.dyade.aaa.agent.AgentMBean, fr.dyade.aaa.agent.BagSerializer, java.io.Serializable, AdminDestinationItf

public class MonitoringQueue
extends Queue

Agent of the monitoring queue.

See Also:
Serialized Form

Field Summary
 
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
MonitoringQueue()
          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 an instance of MonitoringQueue.
static void init(java.lang.String args, boolean firstTime)
          Static method allowing the creation of a default MonitoringQueue through a service.
static void stopService()
          Stops the MonitoringQueue service.
 
Methods inherited from class org.objectweb.joram.mom.dest.Queue
getType, react, readBag, writeBag
 
Methods inherited from class org.objectweb.joram.mom.dest.Destination
agentFinalize, getMBeanName, init, setNoSave, setPeriod, 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

MonitoringQueue

public MonitoringQueue()
Empty constructor for newInstance().

Method Detail

agentInitialize

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

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

createsImpl

public DestinationImpl createsImpl(fr.dyade.aaa.agent.AgentId adminId,
                                   java.util.Properties prop)
Creates an instance of MonitoringQueue.

Overrides:
createsImpl in class Queue
Parameters:
adminId - Identifier of the queue administrator.
prop - The initial set of properties.
See Also:
Queue.createsImpl(fr.dyade.aaa.agent.AgentId, java.util.Properties)

init

public static void init(java.lang.String args,
                        boolean firstTime)
                 throws java.lang.Exception
Static method allowing the creation of a default MonitoringQueue through a service. This topic is registered with the name "JoramMonitoringQueue".

Parameters:
args - useless.
firstTime - The queue is created only at the first initialization.
Throws:
java.lang.Exception

stopService

public static void stopService()
Stops the MonitoringQueue service.


Joram 5.3.1

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