Joram 5.0.8

org.objectweb.joram.mom.dest
Class ClusterQueue

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

public class ClusterQueue
extends Queue

A ClusterQueue agent is an agent hosting a MOM queue, and which behaviour is provided by a ClusterQueueImpl instance.

See Also:
ClusterQueueImpl, Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.joram.mom.dest.Queue
QUEUE_TYPE
 
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
protected ClusterQueue()
          Empty constructor for newInstance().
 
Method Summary
 DestinationImpl createsImpl(fr.dyade.aaa.agent.AgentId adminId, java.util.Properties prop)
          Creates the QueueImpl.
 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.Queue
agentInitialize, getDestinationType, readBag, writeBag
 
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, 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

ClusterQueue

protected ClusterQueue()
Empty constructor for newInstance().

Method Detail

createsImpl

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

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

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 Queue
Throws:
java.lang.Exception

Joram 5.0.8

Copyright © 2005 Scalagent - All rights reserved