|
Oracle BPEL Process Manager Client Java API Reference 10g Release 3 (10.1.3.1.0) B28986-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oracle.bpel.client.NormalizedMessage
public class NormalizedMessage
NormalizedMessage is a simple message bag used as communication between a client and the Orabpel delivery service.
The payload of the message can exist in two formats:
java.util.Map
of name/value pairs,java.lang.String
value (this is usually the straight XML of the SOAP body.Field Summary | |
---|---|
static java.lang.String |
AUDIT_LEVEL |
static java.lang.String |
COMPLETION_PERSIST_POLICY |
static java.lang.String |
CONVERSATION_ID |
static java.lang.String |
CREATOR |
static java.lang.String |
DEBUG |
static java.lang.String |
EXPIRATION_DATE |
static java.lang.String |
INDEX1 |
static java.lang.String |
INDEX2 |
static java.lang.String |
INDEX3 |
protected java.lang.Object |
mAttachments |
static java.lang.String |
METADATA |
protected java.util.List |
mHeaders |
protected javax.xml.namespace.QName |
mMessageType The QName of the message as defined in the WSDL interface. |
protected java.util.Map |
mPayload Message payload. |
protected java.lang.String |
mPayloadString |
protected java.util.Map |
mProperties Message properties. |
static java.lang.String |
PARENT_ID |
static java.lang.String |
PRIORITY |
static java.lang.String |
REPLY_TO_ADDRESS |
static java.lang.String |
REPLY_TO_PORT_TYPE |
static java.lang.String |
REPLY_TO_SERVICE |
static java.lang.String |
ROOT_ID |
static java.lang.String |
TITLE |
Constructor Summary | |
---|---|
NormalizedMessage() |
Method Summary | |
---|---|
void |
addPart(java.lang.String partName, org.w3c.dom.Element element) Adds the org.w3c.dom.Element object to the payload for this message. |
void |
addPart(java.lang.String partName, java.lang.String xml) Adds the specified String to the payload for this message. |
boolean |
containsProperty(java.lang.String name) Returns true if the message properties contains a property with name specified by name . |
java.lang.Object |
getAttachments() |
java.util.List |
getHeaders() |
javax.xml.namespace.QName |
getMessageType() Returns the message type for the message payload as defined in the WSDL interface. |
java.util.Map |
getPayload() Returns the java.util.Map payload for this message. |
java.lang.String |
getPayloadString() |
java.util.Map |
getProperties() Returns the message properties. |
java.lang.Object |
getProperty(java.lang.String name) Returns the message property with name name . |
void |
setAttachments(java.lang.Object attachments) |
void |
setHeaders(java.util.List headers) |
void |
setMessageType(javax.xml.namespace.QName type) Sets the message type for the message. |
void |
setPayload(java.util.Map payload) Sets the java.util.Map payload for this message. |
void |
setPayload(NormalizedMessage nm) Copies the payload of the specified normalized message to this instance. |
void |
setPayload(java.lang.String payload) |
void |
setProperties(java.util.Map properties) Copies all of the properties from the specified map into the properties for this message. |
void |
setProperty(java.lang.String name, java.lang.Object value) Associates the specified value with the specified key in this message's properties. |
java.lang.String |
toString() Returns the payload of this message as a String . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONVERSATION_ID
Configuration.CONVERSATION_ID
, Constant Field Valuespublic static final java.lang.String CREATOR
Configuration.CREATOR
, Constant Field Valuespublic static final java.lang.String METADATA
Configuration.METADATA
, Constant Field Valuespublic static final java.lang.String EXPIRATION_DATE
Configuration.EXPIRATION_DATE
, Constant Field Valuespublic static final java.lang.String PRIORITY
Configuration.PRIORITY
, Constant Field Valuespublic static final java.lang.String DEBUG
Configuration.DEBUG
, Constant Field Valuespublic static final java.lang.String TITLE
Configuration.TITLE
, Constant Field Valuespublic static final java.lang.String REPLY_TO_ADDRESS
Configuration.REPLY_TO_ADDRESS
, Constant Field Valuespublic static final java.lang.String REPLY_TO_SERVICE
Configuration.REPLY_TO_SERVICE
, Constant Field Valuespublic static final java.lang.String REPLY_TO_PORT_TYPE
Configuration.REPLY_TO_PORT_TYPE
, Constant Field Valuespublic static final java.lang.String ROOT_ID
Configuration.ROOT_ID
, Constant Field Valuespublic static final java.lang.String PARENT_ID
Configuration.PARENT_ID
, Constant Field Valuespublic static final java.lang.String COMPLETION_PERSIST_POLICY
Configuration.COMPLETION_PERSIST_POLICY
, Constant Field Valuespublic static final java.lang.String AUDIT_LEVEL
Configuration.AUDIT_LEVEL
, Constant Field Valuespublic static final java.lang.String INDEX1
Configuration#INSTANCE_INDEX1
, Constant Field Valuespublic static final java.lang.String INDEX2
public static final java.lang.String INDEX3
protected java.util.Map mProperties
protected java.util.Map mPayload
org.w3c.dom.Element
or String
objects.protected java.lang.String mPayloadString
protected java.util.List mHeaders
protected javax.xml.namespace.QName mMessageType
protected transient java.lang.Object mAttachments
Constructor Detail |
---|
public NormalizedMessage()
Method Detail |
---|
public java.util.Map getProperties()
public void setProperties(java.util.Map properties)
public boolean containsProperty(java.lang.String name)
true
if the message properties contains a property with name specified by name
.public java.lang.Object getProperty(java.lang.String name)
name
. If no such property has been set with this message, null
is returned.public void setProperty(java.lang.String name, java.lang.Object value)
public void addPart(java.lang.String partName, org.w3c.dom.Element element)
org.w3c.dom.Element
object to the payload for this message.public void addPart(java.lang.String partName, java.lang.String xml)
String
to the payload for this message.public java.util.Map getPayload()
java.util.Map
payload for this message.public void setPayload(java.util.Map payload)
java.util.Map
payload for this message.public void setPayload(NormalizedMessage nm)
nm
- the normalized message to copy the payload frompublic void setPayload(java.lang.String payload)
public java.lang.String getPayloadString()
public java.lang.String toString()
String
.toString
in class java.lang.Object
public void setMessageType(javax.xml.namespace.QName type)
public javax.xml.namespace.QName getMessageType()
public java.util.List getHeaders()
public void setHeaders(java.util.List headers)
public void setAttachments(java.lang.Object attachments)
public java.lang.Object getAttachments()
|
Oracle BPEL Process Manager Client Java API Reference 10g Release 3 (10.1.3.1.0) B28986-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |