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, writeExternalgetProperties, getProperty, getReference, setPropertiespublic JmsTemporaryDestination()
public JmsTemporaryDestination(String name, boolean topic)
public JmsResourceId getId()
JmsResourcegetId in interface JmsResourceprotected 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.JMSExceptionpublic void visit(JmsResourceVistor visitor) throws Exception
JmsResourcevisit in interface JmsResourcevisitor - 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.