com.sun.xml.ws.db
Class DatabindingImpl

java.lang.Object
  extended by com.sun.xml.ws.db.DatabindingImpl
All Implemented Interfaces:
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
DatabindingImpl(DatabindingProviderImpl p, DatabindingConfig config)
           
 
Method Summary
 JavaCallInfo createJavaCallInfo(Method method, Object[] args)
          Creates a new instance of a JavaCallInfo.
 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.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 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 interface Databinding
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 interface Databinding
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)

generateWSDL

public void generateWSDL(WSDLGenInfo info)
Description copied from interface: Databinding
Gets the WebServiceFeatures of this webservice endpoint.


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.

Parameters:
req - the request message
Returns:
the JavaCallInfo representing a method call
Throws:
DispatchException

encode

public ContentType encode(Packet packet,
                          OutputStream out)
                   throws IOException
Throws:
IOException

decode

public void decode(InputStream in,
                   String ct,
                   Packet p)
            throws IOException
Throws:
IOException

createJavaCallInfo

public JavaCallInfo createJavaCallInfo(Method method,
                                       Object[] args)
Description copied from interface: Databinding
Creates a new instance of a JavaCallInfo.

Specified by:
createJavaCallInfo in interface Databinding
Parameters:
method - The JAVA method
args - 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 interface Databinding
Parameters:
message - The response message
call - 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 interface Databinding
Parameters:
message - The request message
Returns:
The JavaCallInfo representing a method call

getMessageContextFactory

public MessageContextFactory getMessageContextFactory()


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.