public class Message extends Object implements Externalizable
ExceptionHolder| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
Message() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getContents() |
Serializable |
getMessageKey() |
void |
readExternal(ObjectInput in) |
void |
setContents(Object contents) |
void |
setMessageKey(Serializable messageKey) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public static final long serialVersionUID
public void setContents(Object contents)
public Object getContents()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic Serializable getMessageKey()
public void setMessageKey(Serializable messageKey)
Copyright © 2017 JBoss by Red Hat. All rights reserved.