- All Known Implementing Classes:
JavaMethodImpl
public interface JavaMethod
Abstracts the annotated
Method
of a SEI.- Author:
- Vivek Pandey
-
Method Summary
Modifier and TypeMethodDescriptionBinding object - aSOAPBinding
isntance.Collection<? extends CheckedException>
Gives the checked Exception thrown from this method.getMEP()
On the server side, it uses this for invocation of the web serviceGives the wsdl:operation@name valuegetOwner()
Gets the rootSEIModel
that owns this model.Gives the request wsdl:message@name valueGives soap:Body's first child's name for request message.Gives the response wsdl:messageName valueGives soap:Body's first child's name for response message.This should be used if you want to access annotations on WebMethod Returns the SEI method if there is one.
-
Method Details
-
getOwner
SEIModel getOwner()Gets the rootSEIModel
that owns this model. -
getMethod
On the server side, it uses this for invocation of the web service@
WebService
(endpointInterface="I") class A { } In this case, it retuns A's method@
WebService
(endpointInterface="I") class A implements I { } In this case, it returns A's method@
WebService
class A { } In this case, it returns A's method- Returns:
- Returns the java
Method
-
getSEIMethod
This should be used if you want to access annotations on WebMethod Returns the SEI method if there is one.@
WebService
(endpointInterface="I") class A { } In this case, it retuns I's method@
WebService
(endpointInterface="I") class A implements I { } In this case, it returns I's method@
WebService
class A { } In this case, it returns A's method- Returns:
- Returns the java
Method
-
getMEP
MEP getMEP()- Returns:
- Returns the
MEP
.
-
getBinding
SOAPBinding getBinding()Binding object - aSOAPBinding
isntance.- Returns:
- the Binding object
-
getOperationName
Gives the wsdl:operation@name value -
getRequestMessageName
Gives the request wsdl:message@name value -
getResponseMessageName
Gives the response wsdl:messageName value- Returns:
- null if its a oneway operation that is getMEP().isOneWay()==true.
- See Also:
-
getRequestPayloadName
Gives soap:Body's first child's name for request message.- Returns:
- null if this operation doesn't have any request parameter bound to the body.
-
getResponsePayloadName
Gives soap:Body's first child's name for response message.- Returns:
- null if this operation doesn't have any response parameter bound to the body.
-
getCheckedExceptions
Collection<? extends CheckedException> getCheckedExceptions()Gives the checked Exception thrown from this method.- Returns:
- Returns the
CheckedException
.
-