|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.api.databinding.JavaCallInfo
public class 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(Method m,
Object[] args)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaCallInfo()
public JavaCallInfo(Method m, Object[] args)
Method Detail |
---|
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 set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |