|
JBoss Wise API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.wise.core.client.impl.reflection.WSMethodImpl
@ThreadSafe @Immutable public class WSMethodImpl
Represent a webservice operation invocation
| Constructor Summary | |
|---|---|
WSMethodImpl(java.lang.reflect.Method method,
WSEndpoint endpoint)
|
|
| Method Summary | |
|---|---|
WSEndpoint |
getEndpoint()
|
java.lang.reflect.Method |
getMethod()
|
java.util.Map<java.lang.String,WebParameterImpl> |
getWebParams()
Gets the map of WebParameters for a selected method |
InvocationResult |
invoke(java.lang.Object args)
Invokes this method with the provided arguments |
InvocationResultImpl |
invoke(java.lang.Object args,
WiseMapper mapper)
Invokes this method with the provided arguments applying provided mapper |
boolean |
isOneWay()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WSMethodImpl(java.lang.reflect.Method method,
WSEndpoint endpoint)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException| Method Detail |
|---|
public InvocationResultImpl invoke(java.lang.Object args,
WiseMapper mapper)
throws InvocationException,
java.lang.IllegalArgumentException,
MappingException
invoke in interface WSMethodargs - mapper - if null no mappings are applied method will be invoked using
args directly. in this case the keys of the map gotta be the
parameters names as defined in wsdl/wsconsume generated
classes
InvocationResultImpl
InvocationException
java.lang.IllegalArgumentException
MappingException
public InvocationResult invoke(java.lang.Object args)
throws InvocationException,
java.lang.IllegalArgumentException,
MappingException
invoke in interface WSMethodargs - the arguments to call operation. args must be a MapIllegalArgumentException is thrown.
InvocationResult object populated with returned
values (implementation will process both directed returned values
and OUT parameters as defined in wsdl)
InvocationException
java.lang.IllegalArgumentException
MappingExceptionWSMethod.invoke(java.lang.Object)public java.util.Map<java.lang.String,WebParameterImpl> getWebParams()
getWebParams in interface WSMethodpublic boolean isOneWay()
isOneWay in interface WSMethodpublic java.lang.reflect.Method getMethod()
public WSEndpoint getEndpoint()
getEndpoint in interface WSMethod
|
JBoss Wise API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||