Interface JavaCallInfo
-
- All Known Implementing Classes:
JavaCallInfo
public interface JavaCallInfoOn 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.- Author:
- shih-chang.chen@oracle.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThrowablegetException()Gets the exception of this JavaCallInfoMethodgetMethod()Gets the method of this JavaCallInfoObject[]getParameters()Gets the parameters of this JavaCallInfoObjectgetReturnValue()Gets the returnValue of this JavaCallInfovoidsetException(Throwable exception)Sets the exception of this JavaCallInfovoidsetReturnValue(Object returnValue)Sets the returnValue of this JavaCallInfo
-
-
-
Method Detail
-
getMethod
Method getMethod()
Gets the method of this JavaCallInfo- Returns:
- the method
-
getParameters
Object[] getParameters()
Gets the parameters of this JavaCallInfo- Returns:
- The parameters
-
getReturnValue
Object getReturnValue()
Gets the returnValue of this JavaCallInfo- Returns:
- the returnValue
-
setReturnValue
void setReturnValue(Object returnValue)
Sets the returnValue of this JavaCallInfo- Parameters:
returnValue- the returnValue to set
-
getException
Throwable getException()
Gets the exception of this JavaCallInfo- Returns:
- the exception
-
setException
void setException(Throwable exception)
Sets the exception of this JavaCallInfo- Parameters:
exception- the exception to set
-
-