public class JavaCallInfo extends Object implements JavaCallInfo
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 and Description |
---|
JavaCallInfo() |
JavaCallInfo(Method m,
Object[] args) |
Modifier and Type | Method and Description |
---|---|
Throwable |
getException()
Gets the exception of this JavaCallInfo
|
Method |
getMethod()
Gets the method of this JavaCallInfo
|
Object[] |
getParameters()
Gets the parameters of this JavaCallInfo
|
Object |
getReturnValue()
Gets the returnValue of this JavaCallInfo
|
void |
setException(Throwable exception)
Sets the exception of this JavaCallInfo
|
void |
setMethod(Method method)
Sets the method of this JavaCallInfo
|
void |
setParameters(Object[] parameters)
Sets the parameters of this JavaCallInfo
|
void |
setReturnValue(Object returnValue)
Sets the returnValue of this JavaCallInfo
|
public Method getMethod()
getMethod
in interface JavaCallInfo
public void setMethod(Method method)
method
- the method to setpublic Object[] getParameters()
getParameters
in interface JavaCallInfo
public void setParameters(Object[] parameters)
parameters
- the parameters to setpublic Object getReturnValue()
getReturnValue
in interface JavaCallInfo
public void setReturnValue(Object returnValue)
setReturnValue
in interface JavaCallInfo
returnValue
- the returnValue to setpublic Throwable getException()
getException
in interface JavaCallInfo
public void setException(Throwable exception)
setException
in interface JavaCallInfo
exception
- the exception to setCopyright © 2015 Oracle Corporation. All rights reserved.