public class StompJmsDestination extends JNDIStorable implements java.io.Externalizable, javax.jms.Destination, java.lang.Comparable<StompJmsDestination>
| Modifier and Type | Field and Description |
|---|---|
protected org.fusesource.hawtbuf.AsciiBuffer |
buffer |
protected int |
hashValue |
protected java.lang.String |
name |
protected java.lang.String |
prefix |
protected java.util.Map<java.lang.String,java.lang.String> |
subscribeHeaders |
protected boolean |
temporary |
protected boolean |
topic |
protected java.lang.String |
toString |
| Constructor and Description |
|---|
StompJmsDestination() |
StompJmsDestination(java.lang.String name) |
StompJmsDestination(java.lang.String prefix,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildFromProperties(java.util.Map<java.lang.String,java.lang.String> props)
Set the properties that will represent the instance in JNDI
|
int |
compareTo(StompJmsDestination other) |
StompJmsDestination |
copy() |
static StompJmsDestination |
createDestination(StompJmsConnection connection,
java.lang.String name) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName() |
java.lang.String |
getPhysicalName()
Deprecated.
|
java.lang.String |
getPrefix() |
java.util.Map<java.lang.String,java.lang.String> |
getSubscribeHeaders() |
int |
hashCode() |
boolean |
isQueue() |
boolean |
isTemporary() |
boolean |
isTopic() |
protected void |
populateProperties(java.util.Map<java.lang.String,java.lang.String> props)
Initialize the instance from properties stored in JNDI
|
void |
readExternal(java.io.ObjectInput in) |
void |
setPrefix(java.lang.String prefix) |
void |
setSubscribeHeaders(java.util.Map<java.lang.String,java.lang.String> subscribeHeaders) |
org.fusesource.hawtbuf.AsciiBuffer |
toBuffer() |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput out) |
getProperties, getProperty, getReference, setPropertiesprotected transient java.lang.String prefix
protected transient java.lang.String name
protected transient boolean topic
protected transient boolean temporary
protected transient int hashValue
protected transient java.lang.String toString
protected transient org.fusesource.hawtbuf.AsciiBuffer buffer
protected transient java.util.Map<java.lang.String,java.lang.String> subscribeHeaders
public StompJmsDestination()
public StompJmsDestination(java.lang.String name)
public StompJmsDestination(java.lang.String prefix,
java.lang.String name)
public StompJmsDestination copy()
public java.lang.String toString()
toString in class java.lang.Objectpublic org.fusesource.hawtbuf.AsciiBuffer toBuffer()
public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
public java.lang.String getName()
public boolean isTopic()
public boolean isTemporary()
public boolean isQueue()
protected void buildFromProperties(java.util.Map<java.lang.String,java.lang.String> props)
JNDIStorablebuildFromProperties in class JNDIStorableprops - protected void populateProperties(java.util.Map<java.lang.String,java.lang.String> props)
JNDIStorablepopulateProperties in class JNDIStorableprops - public int compareTo(StompJmsDestination other)
compareTo in interface java.lang.Comparable<StompJmsDestination>other - the Object to be compared.Comparable.compareTo(java.lang.Object)public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class JNDIStorablejava.io.IOExceptionExternalizable.writeExternal(java.io.ObjectOutput)public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class JNDIStorablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionExternalizable.readExternal(java.io.ObjectInput)public static StompJmsDestination createDestination(StompJmsConnection connection, java.lang.String name) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic java.util.Map<java.lang.String,java.lang.String> getSubscribeHeaders()
public void setSubscribeHeaders(java.util.Map<java.lang.String,java.lang.String> subscribeHeaders)
@Deprecated public java.lang.String getPhysicalName()
Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.