org.objectweb.joram.mom.dest

Class ClusterQueue

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

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

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(Properties prop)
Sets properties for the destination.

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

createsImpl

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

ClusterQueue

protected ClusterQueue()
Empty constructor for newInstance().

Method Details

createsImpl

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

Parameters:
adminId - Identifier of the queue administrator.


react

public void react(AgentId from,
                  Notification not)
            throws Exception
Reactions to notifications are implemented by the DestinationImpl class.
Overrides:
react in interface Destination


setProperties

public void setProperties(Properties prop)
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 interface Destination


Copyright B) 2004 Scalagent - All rights reserved