public abstract class JmsDestination extends JNDIStorable implements Externalizable, javax.jms.Destination, Comparable<JmsDestination>
| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
protected JmsConnection |
connection |
protected int |
hashValue |
protected boolean |
temporary |
protected boolean |
topic |
| Modifier | Constructor and Description |
|---|---|
protected |
JmsDestination(String address,
boolean topic,
boolean temporary) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,String> |
buildFromProperties(Map<String,String> props)
Set the properties that will represent the instance in JNDI
|
int |
compareTo(JmsDestination other) |
boolean |
equals(Object o) |
String |
getAddress() |
int |
hashCode() |
boolean |
isQueue() |
boolean |
isTemporary() |
boolean |
isTopic() |
protected void |
populateProperties(Map<String,String> props)
Initialize the instance from properties stored in JNDI
|
void |
readExternal(ObjectInput in) |
void |
setAddress(String address) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
getProperties, getProperty, getReference, setPropertiesprotected transient String address
protected transient boolean topic
protected transient boolean temporary
protected transient int hashValue
protected transient JmsConnection connection
protected JmsDestination(String address, boolean topic, boolean temporary)
public String getAddress()
public void setAddress(String address)
public boolean isTopic()
public boolean isTemporary()
public boolean isQueue()
protected Map<String,String> buildFromProperties(Map<String,String> props)
JNDIStorablebuildFromProperties in class JNDIStorableprops - The properties to use when building the new isntance.protected void populateProperties(Map<String,String> props)
JNDIStorablepopulateProperties in class JNDIStorableprops - The properties to use when initializing the new instance.public int compareTo(JmsDestination other)
compareTo in interface Comparable<JmsDestination>other - the Object to be compared.Comparable.compareTo(java.lang.Object)public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class JNDIStorableIOExceptionExternalizable.writeExternal(java.io.ObjectOutput)public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class JNDIStorableIOExceptionClassNotFoundExceptionExternalizable.readExternal(java.io.ObjectInput)Copyright © 2013–2019 The Apache Software Foundation. All rights reserved.