org.objectweb.joram.mom.dest

Class Queue

Implemented Interfaces:
AdminDestinationItf, AgentMBean, Serializable
Known Direct 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

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

Queue()
Empty constructor for newInstance().
Queue(boolean fixed)
Constructor with parameter for fixing the queue or not.
Queue(AgentId adminId)
Constructs a Queue agent.

Method Summary

DestinationImpl
createsImpl(AgentId adminId)
Creates the QueueImpl.

Methods inherited from class org.objectweb.joram.mom.dest.Destination

agentInitialize, createsImpl, init, react, setProperties

Methods inherited from class fr.dyade.aaa.agent.Agent

agentFinalize, agentInitialize, delete, delete, deploy, deploy, getId, getLogTopic, getName, isDeployed, isFixed, needToBeCommited, react, save, sendTo, sendTo, sendTo, setNoSave, toString

Constructor Details

Queue

protected Queue()
Empty constructor for newInstance().


Queue

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


Queue

public Queue(AgentId adminId)
Constructs a Queue agent.

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

Method Details

createsImpl

public DestinationImpl createsImpl(AgentId adminId)
Creates the QueueImpl.
Overrides:
createsImpl in interface Destination

Parameters:
adminId - Identifier of the queue administrator.


Copyright B) 2004 Scalagent - All rights reserved