|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.jms.message.MessageId
public final class MessageId
The MessageId is a serializable object that uniquely identifies a message
| Field Summary | |
|---|---|
static java.lang.String |
PREFIX
The JMS message identifier prefix |
| Constructor Summary | |
|---|---|
MessageId()
Constructor provided for serialization |
|
MessageId(java.lang.String id)
Construct a new MessageId |
|
| Method Summary | |
|---|---|
static java.lang.String |
create()
Allocate a new globally unique message identifier |
boolean |
equals(java.lang.Object object)
|
java.lang.String |
getId()
Return the identity of the object |
static java.lang.String |
getNull()
Return the 'null' JMSMessageID. |
int |
hashCode()
|
void |
readExternal(java.io.ObjectInput in)
|
java.lang.String |
toString()
|
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PREFIX
| Constructor Detail |
|---|
public MessageId()
public MessageId(java.lang.String id)
MessageId
id - - the message identity| Method Detail |
|---|
public java.lang.String getId()
Identifiable
getId in interface Identifiablepublic int hashCode()
hashCode in class java.lang.Object
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic static java.lang.String create()
public static java.lang.String getNull()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||