|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.transformer.AbstractTransformer org.mule.transformer.AbstractMessageAwareTransformer org.openspaces.esb.mule.transformers.OpenSpacesTransformer
public class OpenSpacesTransformer
This class copies the metadata from UMOMessage to the transformed object.
it assumes that the return object is the payload that contained in the UMOMessage.
Note: In case that the return object isn't the payload that contained in the UMOMessage you should
override the
getResultPayload(org.mule.api.MuleMessage, String)
method and return the new transformered object.
Field Summary |
---|
Fields inherited from class org.mule.transformer.AbstractTransformer |
---|
DEFAULT_TRUNCATE_LENGTH, endpoint, logger, name, returnClass, sourceTypes |
Fields inherited from interface org.mule.api.lifecycle.Initialisable |
---|
PHASE_NAME |
Constructor Summary | |
---|---|
OpenSpacesTransformer()
|
Method Summary | |
---|---|
protected void |
copyMetaData(org.mule.api.MuleMessage message,
Object result)
Copies the metadata from the UMOMessage to the result object. |
protected Object |
getResultPayload(org.mule.api.MuleMessage message,
String outputEncoding)
Returns the origin UMOMessage payload. |
Object |
transform(org.mule.api.MuleMessage message,
String outputEncoding)
|
Methods inherited from class org.mule.transformer.AbstractMessageAwareTransformer |
---|
doTransform, isSourceTypeSupported |
Methods inherited from class org.mule.transformer.AbstractTransformer |
---|
checkReturnClass, generateTransformerName, getEndpoint, getName, getReturnClass, getSourceTypes, initialise, isAcceptNull, isConsumed, isIgnoreBadInput, isSourceTypeSupported, registerSourceType, setEndpoint, setIgnoreBadInput, setName, setReturnClass, toString, transform, unregisterSourceType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OpenSpacesTransformer()
Method Detail |
---|
public Object transform(org.mule.api.MuleMessage message, String outputEncoding) throws org.mule.api.transformer.TransformerException
transform
in class org.mule.transformer.AbstractMessageAwareTransformer
org.mule.api.transformer.TransformerException
protected Object getResultPayload(org.mule.api.MuleMessage message, String outputEncoding)
protected void copyMetaData(org.mule.api.MuleMessage message, Object result)
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |