public abstract class JmsTemporaryDestination extends JmsDestination implements JmsResource
connection, hashValue, name, temporary, topic
Constructor and Description |
---|
JmsTemporaryDestination() |
JmsTemporaryDestination(String name,
boolean topic) |
Modifier and Type | Method and Description |
---|---|
JmsResourceId |
getId()
Returns the assigned resource ID for this JmsResource instance.
|
protected boolean |
isDeleted() |
protected void |
tryDelete()
Attempts to delete the destination if there is an assigned Connection object.
|
void |
visit(JmsResourceVistor visitor)
Allows a visitor object to walk the resources and process them.
|
buildFromProperties, compareTo, equals, getName, hashCode, isQueue, isTemporary, isTopic, populateProperties, readExternal, setName, toString, writeExternal
getProperties, getProperty, getReference, setProperties
public JmsTemporaryDestination()
public JmsTemporaryDestination(String name, boolean topic)
public JmsResourceId getId()
JmsResource
getId
in interface JmsResource
protected void tryDelete() throws javax.jms.JMSException
javax.jms.JMSException
- if an error occurs or the provider doesn't support
delete of destinations from the client.protected boolean isDeleted() throws javax.jms.JMSException
javax.jms.JMSException
public void visit(JmsResourceVistor visitor) throws Exception
JmsResource
visit
in interface JmsResource
visitor
- The visitor instance that is processing this resource.Exception
- if an error occurs while visiting this resource.Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.