public final class JavaMethodImpl extends Object implements JavaMethod
| Constructor and Description |
|---|
JavaMethodImpl(AbstractSEIModelImpl owner,
Method method,
Method seiMethod,
MetadataReader metadataReader) |
| Modifier and Type | Method and Description |
|---|---|
SOAPBinding |
getBinding()
Binding object - a
SOAPBinding isntance. |
CheckedExceptionImpl |
getCheckedException(Class exceptionClass) |
CheckedExceptionImpl |
getCheckedException(com.sun.xml.bind.api.TypeReference detailType)
Deprecated.
|
List<CheckedExceptionImpl> |
getCheckedExceptions() |
String |
getInputAction() |
int |
getInputParametersCount()
Deprecated.
no longer use in the new architecture
|
MEP |
getMEP() |
Method |
getMethod()
On the server side, it uses this for invocation of the web service
|
WSDLBoundOperation |
getOperation()
Deprecated.
|
String |
getOperationName()
Gives the wsdl:operation@name value
|
QName |
getOperationQName() |
ActionBasedOperationSignature |
getOperationSignature() |
String |
getOutputAction() |
SEIModel |
getOwner()
Gets the root
SEIModel that owns this model. |
String |
getRequestMessageName()
Gives the request wsdl:message@name value
|
List<ParameterImpl> |
getRequestParameters() |
QName |
getRequestPayloadName()
Gives soap:Body's first child's name for request message.
|
String |
getResponseMessageName()
Gives the response wsdl:messageName value
|
List<ParameterImpl> |
getResponseParameters() |
QName |
getResponsePayloadName()
Gives soap:Body's first child's name for response message.
|
Method |
getSEIMethod()
This should be used if you want to access annotations on WebMethod
Returns the SEI method if there is one.
|
String |
getSOAPAction() |
boolean |
isAsync()
Returns if the java method is async
|
void |
setOperationQName(QName name) |
void |
setRequestPayloadName(QName n) |
public JavaMethodImpl(AbstractSEIModelImpl owner, Method method, Method seiMethod, MetadataReader metadataReader)
owner - method - : Implementation class methodseiMethod - : corresponding SEI Method.
Is there is no SEI, it should be Implementation class methodpublic ActionBasedOperationSignature getOperationSignature()
public SEIModel getOwner()
JavaMethodSEIModel that owns this model.getOwner in interface JavaMethodpublic Method getMethod()
JavaMethod
@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
getMethod in interface JavaMethodJavaMethodpublic Method getSEIMethod()
JavaMethod
@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
getSEIMethod in interface JavaMethodJavaMethodpublic MEP getMEP()
getMEP in interface JavaMethodpublic SOAPBinding getBinding()
JavaMethodSOAPBinding isntance.getBinding in interface JavaMethodpublic WSDLBoundOperation getOperation()
WSDLBoundOperation Operation associated with JavaMethodImpl
operation.public void setOperationQName(QName name)
public QName getOperationQName()
public String getSOAPAction()
public String getOperationName()
JavaMethodgetOperationName in interface JavaMethodpublic String getRequestMessageName()
JavaMethodgetRequestMessageName in interface JavaMethodpublic String getResponseMessageName()
JavaMethodgetResponseMessageName in interface JavaMethodMEP.isOneWay()public void setRequestPayloadName(QName n)
@Nullable public QName getRequestPayloadName()
JavaMethodgetRequestPayloadName in interface JavaMethod@Nullable public QName getResponsePayloadName()
JavaMethodgetResponsePayloadName in interface JavaMethodpublic List<ParameterImpl> getRequestParameters()
public List<ParameterImpl> getResponseParameters()
public int getInputParametersCount()
public CheckedExceptionImpl getCheckedException(Class exceptionClass)
exceptionClass - public List<CheckedExceptionImpl> getCheckedExceptions()
public String getInputAction()
public String getOutputAction()
public CheckedExceptionImpl getCheckedException(com.sun.xml.bind.api.TypeReference detailType)
detailType - public boolean isAsync()
Copyright © 2015 Oracle Corporation. All rights reserved.