org.objectweb.joram.mom.dest
Class Queue

java.lang.Object
  extended byfr.dyade.aaa.agent.Agent
      extended byorg.objectweb.joram.mom.dest.Destination
          extended byorg.objectweb.joram.mom.dest.Queue
All Implemented Interfaces:
AdminDestinationItf, AgentMBean, java.io.Serializable
Direct Known Subclasses:
BridgeQueue, ClusterQueue, DeadMQueue

public class Queue
extends Destination

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

See Also:
QueueImpl, 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 Queue()
          Empty constructor for newInstance().
  Queue(AgentId adminId)
          Constructs a Queue agent.
protected Queue(boolean fixed)
          Constructor with parameter for fixing the queue or not.
 
Method Summary
 DestinationImpl createsImpl(AgentId adminId)
          Creates the QueueImpl.
 
Methods inherited from class org.objectweb.joram.mom.dest.Destination
agentInitialize, init, react, setProperties
 
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

Queue

protected Queue()
Empty constructor for newInstance().


Queue

public Queue(AgentId adminId)
Constructs a Queue agent.

Parameters:
adminId - Identifier of the agent which will be the administrator of the queue.

Queue

protected Queue(boolean fixed)
Constructor with parameter for fixing the queue or not.

Method Detail

createsImpl

public DestinationImpl createsImpl(AgentId adminId)
Creates the QueueImpl.

Specified by:
createsImpl in class Destination
Parameters:
adminId - Identifier of the queue administrator.


Copyright ? 2004 Scalagent - All rights reserved