Package com.sun.xml.ws.db
Class DatabindingImpl
- java.lang.Object
-
- com.sun.xml.ws.db.DatabindingImpl
-
- All Implemented Interfaces:
Databinding,Databinding
public final class DatabindingImpl extends Object implements Databinding
WsRuntimeImpl is the databinding processor built on SEIModel- Author:
- shih-chang.chen@oracle.com
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.oracle.webservices.api.databinding.Databinding
Databinding.Builder
-
-
Constructor Summary
Constructors Constructor Description DatabindingImpl(DatabindingProviderImpl p, DatabindingConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaCallInfocreateJavaCallInfo(Method method, Object[] args)Creates a new instance of aJavaCallInfo.voiddecode(InputStream in, String ct, Packet p)JavaCallInfodeserializeRequest(MessageContext message)Deserializes a request XML(SOAP) message to a JavaCallInfo instance representing a JAVA method call.JavaCallInfodeserializeRequest(Packet req)JavaCallInfodeserializeResponse(MessageContext message, JavaCallInfo call)Deserializes a response XML(SOAP) message to a JavaCallInfo instance representing the return value or exception of a JAVA method call.JavaCallInfodeserializeResponse(Packet res, JavaCallInfo call)ContentTypeencode(Packet packet, OutputStream out)voidfreeze(WSDLPort port)voidgenerateWSDL(WSDLGenInfo info)Gets the WebServiceFeatures of this webservice endpoint.ClientCallBridgegetClientBridge(Method method)EndpointCallBridgegetEndpointBridge(Packet req)Deserializes a request XML(SOAP) message to a JavaCallInfo instance representing a JAVA method call.jakarta.xml.ws.WebServiceFeature[]getFeatures()MessageContextFactorygetMessageContextFactory()SEIModelgetModel()PacketserializeRequest(JavaCallInfo call)Serializes a JavaCallInfo instance representing a JAVA method call to a request XML(SOAP) message.PacketserializeResponse(JavaCallInfo call)Serializes a JavaCallInfo instance representing the return value or exception of a JAVA method call to a response XML(SOAP) message.
-
-
-
Constructor Detail
-
DatabindingImpl
public DatabindingImpl(DatabindingProviderImpl p, DatabindingConfig config)
-
-
Method Detail
-
freeze
public void freeze(WSDLPort port)
-
getModel
public SEIModel getModel()
-
deserializeRequest
public JavaCallInfo deserializeRequest(Packet req)
-
deserializeResponse
public JavaCallInfo deserializeResponse(Packet res, JavaCallInfo call)
-
getFeatures
public jakarta.xml.ws.WebServiceFeature[] getFeatures()
-
serializeRequest
public Packet serializeRequest(JavaCallInfo call)
Description copied from interface:DatabindingSerializes a JavaCallInfo instance representing a JAVA method call to a request XML(SOAP) message.- Specified by:
serializeRequestin interfaceDatabinding- Parameters:
call- The JavaCallInfo representing a method call- Returns:
- The request XML(SOAP) message
-
serializeResponse
public Packet serializeResponse(JavaCallInfo call)
Description copied from interface:DatabindingSerializes a JavaCallInfo instance representing the return value or exception of a JAVA method call to a response XML(SOAP) message.- Specified by:
serializeResponsein interfaceDatabinding- Parameters:
call- The JavaCallInfo representing the return value or exception of a JAVA method call- Returns:
- The response XML(SOAP) message
-
getClientBridge
public ClientCallBridge getClientBridge(Method method)
- Specified by:
getClientBridgein interfaceDatabinding
-
generateWSDL
public void generateWSDL(WSDLGenInfo info)
Description copied from interface:DatabindingGets the WebServiceFeatures of this webservice endpoint.- Specified by:
generateWSDLin interfaceDatabinding
-
getEndpointBridge
public EndpointCallBridge getEndpointBridge(Packet req) throws DispatchException
Description copied from interface:DatabindingDeserializes a request XML(SOAP) message to a JavaCallInfo instance representing a JAVA method call.- Specified by:
getEndpointBridgein interfaceDatabinding- Parameters:
req- the request message- Returns:
- the JavaCallInfo representing a method call
- Throws:
DispatchException
-
encode
public ContentType encode(Packet packet, OutputStream out) throws IOException
- Specified by:
encodein interfaceDatabinding- Throws:
IOException
-
decode
public void decode(InputStream in, String ct, Packet p) throws IOException
- Specified by:
decodein interfaceDatabinding- Throws:
IOException
-
createJavaCallInfo
public JavaCallInfo createJavaCallInfo(Method method, Object[] args)
Description copied from interface:DatabindingCreates a new instance of aJavaCallInfo.- Specified by:
createJavaCallInfoin interfaceDatabinding- Parameters:
method- The JAVA methodargs- The parameter objects- Returns:
- New instance of a
JavaCallInfo
-
deserializeResponse
public JavaCallInfo deserializeResponse(MessageContext message, JavaCallInfo call)
Description copied from interface:DatabindingDeserializes a response XML(SOAP) message to a JavaCallInfo instance representing the return value or exception of a JAVA method call.- Specified by:
deserializeResponsein interfaceDatabinding- Parameters:
message- The response messagecall- The JavaCallInfo instance to be updated- Returns:
- The JavaCallInfo updated with the return value or exception of a JAVA method call
-
deserializeRequest
public JavaCallInfo deserializeRequest(MessageContext message)
Description copied from interface:DatabindingDeserializes a request XML(SOAP) message to a JavaCallInfo instance representing a JAVA method call.- Specified by:
deserializeRequestin interfaceDatabinding- Parameters:
message- The request message- Returns:
- The JavaCallInfo representing a method call
-
getMessageContextFactory
public MessageContextFactory getMessageContextFactory()
- Specified by:
getMessageContextFactoryin interfaceDatabinding
-
-