public class JavaCallInfo extends Object implements org.jvnet.ws.databinding.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 org.jvnet.ws.databinding.JavaCallInfo
public void setMethod(Method method)
method
- the method to setpublic Object[] getParameters()
getParameters
in interface org.jvnet.ws.databinding.JavaCallInfo
public void setParameters(Object[] parameters)
parameters
- the parameters to setpublic Object getReturnValue()
getReturnValue
in interface org.jvnet.ws.databinding.JavaCallInfo
public void setReturnValue(Object returnValue)
setReturnValue
in interface org.jvnet.ws.databinding.JavaCallInfo
returnValue
- the returnValue to setpublic Throwable getException()
getException
in interface org.jvnet.ws.databinding.JavaCallInfo
public void setException(Throwable exception)
setException
in interface org.jvnet.ws.databinding.JavaCallInfo
exception
- the exception to setCopyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.