|
AdroitLogic UltraESB v1.7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JSONSupport
Mediation Support for JSON based mediation
| Method Summary | |
|---|---|
void |
convertJSONToStream(Message m,
java.lang.Object o)
Convert an untyped Object (e.g. |
void |
convertSOAPToJSONStream(Message m)
Convert the current SOAP message payload (which maybe available as any format such as raw file or DOM etc) into a file based JSON stream |
void |
convertSOAPToJSONStream(Message m,
javax.xml.namespace.QName staringElement,
boolean retainNSPrefixes)
Convert the current SOAP message payload (which maybe available as any format such as raw file or DOM etc) into a file based JSON stream |
java.lang.Object |
convertToTypedJSON(Message m,
java.lang.Class clazz)
Convert the current message into a Typed JSON Object |
java.util.Map |
convertToUntypedJSON(Message m)
Convert the current message into an untyped JSON MapMessage |
void |
convertXMLToJSONStream(Message m)
Convert the current XML message payload (which maybe available as any format such as raw file or DOM etc) into a file based JSON stream |
void |
convertXMLToJSONStream(Message m,
javax.xml.namespace.QName staringElement,
boolean retainNSPrefixes)
Convert the current XML message payload (which maybe available as any format such as raw file or DOM etc) into a file based JSON stream |
void |
processBasicJSONDataServiceRequest(Message msg,
java.lang.String dataSvcBeanName,
java.lang.String dataSourceName)
Process request message as a basic JSON data service request. |
| Method Detail |
|---|
void convertSOAPToJSONStream(Message m)
m - the message to be converted
void convertXMLToJSONStream(Message m,
javax.xml.namespace.QName staringElement,
boolean retainNSPrefixes)
m - the message to be convertedstaringElement - an optional starting element to begin conversion (e.g. first element of the SOAP body)retainNSPrefixes - retain the namespace prefixes into JSON names for elementsvoid convertXMLToJSONStream(Message m)
m - the message to be converted
void convertSOAPToJSONStream(Message m,
javax.xml.namespace.QName staringElement,
boolean retainNSPrefixes)
m - the message to be convertedstaringElement - an optional starting element to begin conversion (e.g. first element of the SOAP body)retainNSPrefixes - retain the namespace prefixes into JSON names for elements
void convertJSONToStream(Message m,
java.lang.Object o)
m - current message to hold final streamo - untyped object to conver to JSONjava.util.Map convertToUntypedJSON(Message m)
m - the current message to be transformed
java.lang.Object convertToTypedJSON(Message m,
java.lang.Class clazz)
m - the current message to be transformedclazz - the class of the return message
void processBasicJSONDataServiceRequest(Message msg,
java.lang.String dataSvcBeanName,
java.lang.String dataSourceName)
throws java.lang.Exception
msg - the request messagedataSvcBeanName - the name of the bean defining the JSON data servicedataSourceName - the name of the data source bean
java.lang.Exception - on an error
|
Copyright (c) 2010-2012 AdroitLogic Private Ltd. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||