Joram ${version}

org.objectweb.joram.mom.dest
Class ClusterQueue

java.lang.Object
  extended byfr.dyade.aaa.agent.Agent
      extended byorg.objectweb.joram.mom.dest.Destination
          extended byorg.objectweb.joram.mom.dest.Queue
              extended byorg.objectweb.joram.mom.dest.ClusterQueue
All Implemented Interfaces:
AdminDestinationItf, fr.dyade.aaa.agent.AgentMBean, fr.dyade.aaa.agent.BagSerializer, java.io.Serializable

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
 
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)
          Creates the QueueImpl.
 void react(fr.dyade.aaa.agent.AgentId from, fr.dyade.aaa.agent.Notification not)
          Reactions to notifications are implemented by the DestinationImpl class.
 void setProperties(java.util.Properties prop)
          Sets properties for the destination.
 
Methods inherited from class org.objectweb.joram.mom.dest.Queue
getDestinationType, readBag, writeBag
 
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, 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)
Creates the QueueImpl.

Overrides:
createsImpl in class Queue
Parameters:
adminId - Identifier of the queue administrator.

setProperties

public void setProperties(java.util.Properties prop)
Description copied from class: Destination
Sets properties for the destination.

Empty method as no properties may be set for the generic destination.

Specified by:
setProperties in interface AdminDestinationItf
Overrides:
setProperties in class Destination

react

public void react(fr.dyade.aaa.agent.AgentId from,
                  fr.dyade.aaa.agent.Notification not)
           throws java.lang.Exception
Description copied from class: Destination
Reactions to notifications are implemented by the DestinationImpl class.

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

Joram ${version}

Copyright © 2005 Scalagent - All rights reserved