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:
- [email protected]
-
-
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 JavaCallInfo
createJavaCallInfo(Method method, Object[] args)
Creates a new instance of aJavaCallInfo
.void
decode(InputStream in, String ct, Packet p)
JavaCallInfo
deserializeRequest(MessageContext message)
Deserializes a request XML(SOAP) message to a JavaCallInfo instance representing a JAVA method call.JavaCallInfo
deserializeRequest(Packet req)
JavaCallInfo
deserializeResponse(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.JavaCallInfo
deserializeResponse(Packet res, JavaCallInfo call)
ContentType
encode(Packet packet, OutputStream out)
void
freeze(WSDLPort port)
void
generateWSDL(WSDLGenInfo info)
Gets the WebServiceFeatures of this webservice endpoint.ClientCallBridge
getClientBridge(Method method)
EndpointCallBridge
getEndpointBridge(Packet req)
Deserializes a request XML(SOAP) message to a JavaCallInfo instance representing a JAVA method call.jakarta.xml.ws.WebServiceFeature[]
getFeatures()
MessageContextFactory
getMessageContextFactory()
SEIModel
getModel()
Packet
serializeRequest(JavaCallInfo call)
Serializes a JavaCallInfo instance representing a JAVA method call to a request XML(SOAP) message.Packet
serializeResponse(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:Databinding
Serializes a JavaCallInfo instance representing a JAVA method call to a request XML(SOAP) message.- Specified by:
serializeRequest
in 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:Databinding
Serializes a JavaCallInfo instance representing the return value or exception of a JAVA method call to a response XML(SOAP) message.- Specified by:
serializeResponse
in 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:
getClientBridge
in interfaceDatabinding
-
generateWSDL
public void generateWSDL(WSDLGenInfo info)
Description copied from interface:Databinding
Gets the WebServiceFeatures of this webservice endpoint.- Specified by:
generateWSDL
in interfaceDatabinding
-
getEndpointBridge
public EndpointCallBridge getEndpointBridge(Packet req) throws DispatchException
Description copied from interface:Databinding
Deserializes a request XML(SOAP) message to a JavaCallInfo instance representing a JAVA method call.- Specified by:
getEndpointBridge
in 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:
encode
in interfaceDatabinding
- Throws:
IOException
-
decode
public void decode(InputStream in, String ct, Packet p) throws IOException
- Specified by:
decode
in interfaceDatabinding
- Throws:
IOException
-
createJavaCallInfo
public JavaCallInfo createJavaCallInfo(Method method, Object[] args)
Description copied from interface:Databinding
Creates a new instance of aJavaCallInfo
.- Specified by:
createJavaCallInfo
in 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:Databinding
Deserializes a response XML(SOAP) message to a JavaCallInfo instance representing the return value or exception of a JAVA method call.- Specified by:
deserializeResponse
in 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:Databinding
Deserializes a request XML(SOAP) message to a JavaCallInfo instance representing a JAVA method call.- Specified by:
deserializeRequest
in interfaceDatabinding
- Parameters:
message
- The request message- Returns:
- The JavaCallInfo representing a method call
-
getMessageContextFactory
public MessageContextFactory getMessageContextFactory()
- Specified by:
getMessageContextFactory
in interfaceDatabinding
-
-