org.objectweb.joram.mom.dest.jmsbridge
Class JMSBridgeTopic
java.lang.Object
fr.dyade.aaa.agent.Agent
org.objectweb.joram.mom.dest.Destination
org.objectweb.joram.mom.dest.Topic
org.objectweb.joram.mom.dest.jmsbridge.JMSBridgeTopic
- All Implemented Interfaces:
- AgentMBean, java.io.Serializable, AdminDestinationItf
public class JMSBridgeTopic
- extends Topic
A BridgeTopic
agent is an agent hosting a bridge topic,
and which behaviour is provided by a BridgeTopicImpl
instance.
- See Also:
JMSBridgeTopicImpl
,
Serialized Form
Field Summary |
private static long |
serialVersionUID
define serialVersionUID for interoperability |
Methods inherited from class org.objectweb.joram.mom.dest.Topic |
getType |
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
JMSBridgeTopic
public JMSBridgeTopic()
- Constructs a
BridgeTopic
agent.
createsImpl
public DestinationImpl createsImpl(AgentId adminId,
java.util.Properties prop)
- Creates the bridge topic.
- Overrides:
createsImpl
in class Topic
- Parameters:
adminId
- Identifier of the bridge topic administrator.prop
- The initial set of properties.
- Throws:
java.lang.IllegalArgumentException
- If the JMS properties are invalid.
react
public void react(AgentId from,
Notification not)
throws java.lang.Exception
- Specializes this
TopicImpl
method for processing the
specific bridge notifications.
- Overrides:
react
in class Topic
- Parameters:
from
- agent sending notificationnot
- notification to react to
- Throws:
java.lang.Exception
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.