org.objectweb.joram.mom.dest
Class DistributionQueue

java.lang.Object
  extended by fr.dyade.aaa.agent.Agent
      extended by org.objectweb.joram.mom.dest.Destination
          extended by org.objectweb.joram.mom.dest.Queue
              extended by org.objectweb.joram.mom.dest.DistributionQueue
All Implemented Interfaces:
AgentMBean, BagSerializer, java.io.Serializable, AdminDestinationItf

public class DistributionQueue
extends Queue

An DistributionQueue agent is an agent hosting a DistributionQueueImpl.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          define serialVersionUID for interoperability
 
Fields inherited from class org.objectweb.joram.mom.dest.Destination
destImpl, logger, task
 
Fields inherited from class fr.dyade.aaa.agent.Agent
emptyString, fixed, logmon
 
Constructor Summary
DistributionQueue()
          Empty constructor for newInstance().
 
Method Summary
 void agentFinalize(boolean lastTime)
          Finalizes the agent before it is garbaged.
 DestinationImpl createsImpl(AgentId adminId, java.util.Properties prop)
          Creates the DistributionQueueImpl.
 
Methods inherited from class org.objectweb.joram.mom.dest.Queue
getType, react, readBag, writeBag
 
Methods inherited from class org.objectweb.joram.mom.dest.Destination
agentInitialize, getMBeanName, init, setFreeReading, setFreeWriting, setNoSave, setSave
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
define serialVersionUID for interoperability

See Also:
Constant Field Values
Constructor Detail

DistributionQueue

public DistributionQueue()
Empty constructor for newInstance().

Method Detail

createsImpl

public DestinationImpl createsImpl(AgentId adminId,
                                   java.util.Properties prop)
                            throws RequestException
Creates the DistributionQueueImpl.

Overrides:
createsImpl in class Queue
Parameters:
adminId - Identifier of the queue administrator.
prop - The initial set of properties.
Throws:
RequestException

agentFinalize

public void agentFinalize(boolean lastTime)
Description copied from class: Destination
Finalizes the agent before it is garbaged.

Overrides:
agentFinalize in class Destination
Parameters:
lastTime - true when last called by the factory on agent deletion.


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.