org.objectweb.joram.client.jms
Class TemporaryTopic
java.lang.Object
org.objectweb.joram.client.jms.admin.AdministeredObject
org.objectweb.joram.client.jms.Destination
org.objectweb.joram.client.jms.Topic
org.objectweb.joram.client.jms.TemporaryTopic
- All Implemented Interfaces:
- javax.jms.Destination, javax.naming.Referenceable, java.io.Serializable, fr.dyade.aaa.jndi2.soap.SoapObjectItf, javax.jms.TemporaryTopic, javax.jms.Topic
- public class TemporaryTopic
- extends Topic
- implements javax.jms.TemporaryTopic
Implements the javax.jms.TemporaryTopic
interface.
- See Also:
- Serialized Form
Method Summary |
void |
delete()
API method. |
static boolean |
isTemporaryTopic(java.lang.String type)
|
java.lang.String |
toString()
Returns a String image of the topic. |
Methods inherited from class org.objectweb.joram.client.jms.Topic |
addClusteredTopic, create, create, create, create, create, create, create, getClusterFellows, getHierarchicalFather, getSubscriberIds, getSubscriptions, getTopicName, isTopic, removeFromCluster, setParent, unsetParent |
Methods inherited from class org.objectweb.joram.client.jms.Destination |
code, decode, doCreate, equals, getAdminName, getDMQ, getName, getReaders, getReference, getType, getWriters, isAssignableTo, isFreelyReadable, isFreelyWriteable, isQueue, newInstance, setDMQ, setFreeReading, setFreeWriting, setReader, setWriter, unsetFreeReading, unsetFreeWriting, unsetReader, unsetWriter |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jms.Topic |
getTopicName |
TemporaryTopic
public TemporaryTopic()
TemporaryTopic
public TemporaryTopic(java.lang.String agentId,
Connection cnx)
- Constructs a temporary topic.
- Parameters:
agentId
- Identifier of the topic agent.cnx
- The connection the queue belongs to, null
if
not known.
isTemporaryTopic
public static boolean isTemporaryTopic(java.lang.String type)
toString
public java.lang.String toString()
- Returns a String image of the topic.
- Specified by:
toString
in interface javax.jms.Topic
- Overrides:
toString
in class Topic
delete
public void delete()
throws javax.jms.JMSException
- API method.
- Specified by:
delete
in interface javax.jms.TemporaryTopic
- Overrides:
delete
in class Destination
- Throws:
java.lang.IllegalStateException
- If the connection is closed or broken.
javax.jms.JMSException
- If the request fails for any other reason.
Copyright ? 2005 Scalagent - All rights reserved