|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.petals.tools.rmi.common.serializable.NormalizedMessage
public class NormalizedMessage
the normalized message implementation.
| Field Summary | |
|---|---|
static java.lang.String |
COMPRESSION
COMPRESSION constants. |
| Constructor Summary | |
|---|---|
NormalizedMessage()
This default constructor creates a new empty NormalizedMessage. |
|
| Method Summary | |
|---|---|
void |
addAttachment(java.lang.String id,
javax.activation.DataHandler attachment)
|
javax.activation.DataHandler |
getAttachment(java.lang.String id)
|
java.util.Set<?> |
getAttachmentNames()
|
javax.xml.transform.Source |
getContent()
|
java.lang.Object |
getProperty(java.lang.String name)
|
java.util.Set<?> |
getPropertyNames()
|
javax.security.auth.Subject |
getSecuritySubject()
|
protected void |
readObjectDelegate(java.io.ObjectInputStream s)
|
void |
removeAttachment(java.lang.String id)
|
void |
setContent(javax.xml.transform.Source content)
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
|
void |
setSecuritySubject(javax.security.auth.Subject securitySubject)
|
protected void |
writeObjectDelegate(java.io.ObjectOutputStream s)
Serialization process : - Serialization of all serializable fields of the NormalizedMessage - Serialization of all attachement - Finally, serialization of the content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COMPRESSION
| Constructor Detail |
|---|
public NormalizedMessage()
NormalizedMessage.
javax.jbi.messaging.MessagingException - impossible to create a fault| Method Detail |
|---|
public void addAttachment(java.lang.String id,
javax.activation.DataHandler attachment)
throws javax.jbi.messaging.MessagingException
addAttachment in interface javax.jbi.messaging.NormalizedMessageid - the idattachment - the attachement
javax.jbi.messaging.MessagingException - impossible to add an attachementpublic javax.activation.DataHandler getAttachment(java.lang.String id)
getAttachment in interface javax.jbi.messaging.NormalizedMessageid - thye id
public java.util.Set<?> getAttachmentNames()
getAttachmentNames in interface javax.jbi.messaging.NormalizedMessagepublic javax.xml.transform.Source getContent()
getContent in interface javax.jbi.messaging.NormalizedMessagepublic java.lang.Object getProperty(java.lang.String name)
getProperty in interface javax.jbi.messaging.NormalizedMessagename - the name
public java.util.Set<?> getPropertyNames()
getPropertyNames in interface javax.jbi.messaging.NormalizedMessagepublic javax.security.auth.Subject getSecuritySubject()
getSecuritySubject in interface javax.jbi.messaging.NormalizedMessage
public void removeAttachment(java.lang.String id)
throws javax.jbi.messaging.MessagingException
removeAttachment in interface javax.jbi.messaging.NormalizedMessageid - the id
javax.jbi.messaging.MessagingException - impossible to remove the attachment
public void setContent(javax.xml.transform.Source content)
throws javax.jbi.messaging.MessagingException
setContent in interface javax.jbi.messaging.NormalizedMessagecontent - the content
javax.jbi.messaging.MessagingException - impossible to set the content
public void setProperty(java.lang.String name,
java.lang.Object value)
setProperty in interface javax.jbi.messaging.NormalizedMessagename - the namevalue - the valuepublic void setSecuritySubject(javax.security.auth.Subject securitySubject)
setSecuritySubject in interface javax.jbi.messaging.NormalizedMessagesecuritySubject - the security subject
protected void readObjectDelegate(java.io.ObjectInputStream s)
throws java.io.IOException
s - the object input stream
java.io.IOException - impossible to read object delegateNormalizedMessageImpl#readObject(ObjectInputStream).
protected void writeObjectDelegate(java.io.ObjectOutputStream s)
throws java.io.IOException
s - the object output stream
java.io.IOException - impossible to write object delegateNormalizedMessageImpl#writeObject(ObjectOutputStream)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||