com.sun.xml.ws.api.databinding
Class JavaCallInfo

java.lang.Object
  extended by com.sun.xml.ws.api.databinding.JavaCallInfo
All Implemented Interfaces:
com.oracle.webservices.api.databinding.JavaCallInfo

public class JavaCallInfo
extends java.lang.Object
implements com.oracle.webservices.api.databinding.JavaCallInfo

On the client or service-requestor side, a JavaCallInfo object represents a method call on the service proxy to be serialized as a SOAP request message to be sent to the service. A SOAP response message returned to the service client is deserialized as an update to the JavaCallInfo object which is used to generated the request.

On the server or service provider side, a SOAP request message is deserialized to a JavaCallInfo object which can be used to determine which method to call, and get the parameter values to call the back-end service implementation object. The return value or exception returned from the service implementation should be set to the JavaCallInfo object which then can be used to serialize to a A SOAP response or fault message to be sent back to the service client.


Constructor Summary
JavaCallInfo()
           
JavaCallInfo(java.lang.reflect.Method m, java.lang.Object[] args)
           
 
Method Summary
 java.lang.Throwable getException()
          Gets the exception of this JavaCallInfo
 java.lang.reflect.Method getMethod()
          Gets the method of this JavaCallInfo
 java.lang.Object[] getParameters()
          Gets the parameters of this JavaCallInfo
 java.lang.Object getReturnValue()
          Gets the returnValue of this JavaCallInfo
 void setException(java.lang.Throwable exception)
          Sets the exception of this JavaCallInfo
 void setMethod(java.lang.reflect.Method method)
          Sets the method of this JavaCallInfo
 void setParameters(java.lang.Object[] parameters)
          Sets the parameters of this JavaCallInfo
 void setReturnValue(java.lang.Object returnValue)
          Sets the returnValue of this JavaCallInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaCallInfo

public JavaCallInfo()

JavaCallInfo

public JavaCallInfo(java.lang.reflect.Method m,
                    java.lang.Object[] args)
Method Detail

getMethod

public java.lang.reflect.Method getMethod()
Gets the method of this JavaCallInfo

Specified by:
getMethod in interface com.oracle.webservices.api.databinding.JavaCallInfo
Returns:
the method

setMethod

public void setMethod(java.lang.reflect.Method method)
Sets the method of this JavaCallInfo

Parameters:
method - the method to set

getParameters

public java.lang.Object[] getParameters()
Gets the parameters of this JavaCallInfo

Specified by:
getParameters in interface com.oracle.webservices.api.databinding.JavaCallInfo
Returns:
the parameters

setParameters

public void setParameters(java.lang.Object[] parameters)
Sets the parameters of this JavaCallInfo

Parameters:
parameters - the parameters to set

getReturnValue

public java.lang.Object getReturnValue()
Gets the returnValue of this JavaCallInfo

Specified by:
getReturnValue in interface com.oracle.webservices.api.databinding.JavaCallInfo
Returns:
the returnValue

setReturnValue

public void setReturnValue(java.lang.Object returnValue)
Sets the returnValue of this JavaCallInfo

Specified by:
setReturnValue in interface com.oracle.webservices.api.databinding.JavaCallInfo
Parameters:
returnValue - the returnValue to set

getException

public java.lang.Throwable getException()
Gets the exception of this JavaCallInfo

Specified by:
getException in interface com.oracle.webservices.api.databinding.JavaCallInfo
Returns:
the exception

setException

public void setException(java.lang.Throwable exception)
Sets the exception of this JavaCallInfo

Specified by:
setException in interface com.oracle.webservices.api.databinding.JavaCallInfo
Parameters:
exception - the exception to set


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.