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, AgentMBean, 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.Destination
destImpl
 
Fields inherited from class fr.dyade.aaa.agent.Agent
fixed, logmon, name
 
Constructor Summary
protected ClusterQueue()
          Empty constructor for newInstance().
 
Method Summary
 DestinationImpl createsImpl(AgentId adminId)
          Creates the QueueImpl.
 void react(AgentId from, 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.Destination
agentInitialize, init
 
Methods inherited from class fr.dyade.aaa.agent.Agent
agentFinalize, delete, delete, deploy, deploy, getId, getLogTopic, getName, isDeployed, isFixed, needToBeCommited, save, sendTo, sendTo, sendTo, setNoSave, 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(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(AgentId from,
                  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


Copyright ? 2004 Scalagent - All rights reserved