org.objectweb.joram.mom.dest
Class ClusterQueue
java.lang.Object
fr.dyade.aaa.agent.Agent
org.objectweb.joram.mom.dest.Destination
org.objectweb.joram.mom.dest.Queue
org.objectweb.joram.mom.dest.ClusterQueue
- All Implemented Interfaces:
- AgentMBean, BagSerializer, java.io.Serializable, AdminDestinationItf
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 |
private static long |
serialVersionUID
define serialVersionUID for interoperability |
Constructor Summary |
protected |
ClusterQueue()
Empty constructor for newInstance(). |
Methods inherited from class fr.dyade.aaa.agent.Agent |
delete, delete, delete, deploy, deploy, getAgentId, getCommitTime, getId, getLogTopic, getName, getReactNb, getReactTime, 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 |
serialVersionUID
private static final long serialVersionUID
- define serialVersionUID for interoperability
- See Also:
- Constant Field Values
ClusterQueue
protected ClusterQueue()
- Empty constructor for newInstance().
createsImpl
public DestinationImpl createsImpl(AgentId adminId,
java.util.Properties prop)
- Creates the QueueImpl.
- Overrides:
createsImpl
in class Queue
- Parameters:
adminId
- Identifier of the queue administrator.prop
- The initial set of properties.
react
public void react(AgentId from,
Notification not)
throws java.lang.Exception
- Distributes the received notifications to the appropriate reactions.
- Overrides:
react
in class Queue
- Parameters:
from
- agent sending notificationnot
- notification to react to
- Throws:
java.lang.Exception
Copyright © 2010 ScalAgent D.T.. All Rights Reserved.