|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.model.JavaMethodImpl
public final class JavaMethodImpl
Build this runtime model using java SEI and annotations
| Field Summary | |
|---|---|
(package private) AbstractSEIModelImpl |
owner
|
(package private) List<ParameterImpl> |
requestParams
|
(package private) List<ParameterImpl> |
responseParams
|
| Constructor Summary | |
|---|---|
JavaMethodImpl(AbstractSEIModelImpl owner,
Method method,
Method seiMethod,
MetadataReader metadataReader)
|
|
| Method Summary | |
|---|---|
(package private) void |
addException(CheckedExceptionImpl ce)
|
(package private) void |
addParameter(ParameterImpl p)
|
(package private) void |
addRequestParameter(ParameterImpl p)
|
(package private) void |
addResponseParameter(ParameterImpl p)
|
(package private) void |
fillTypes(List<TypeInfo> types)
|
(package private) void |
freeze(WSDLPort portType)
|
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 |
(package private) void |
setBinding(SOAPBinding binding)
|
(package private) void |
setMEP(MEP mep)
|
void |
setOperationQName(QName name)
|
void |
setRequestPayloadName(QName n)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final List<ParameterImpl> requestParams
final List<ParameterImpl> responseParams
final AbstractSEIModelImpl owner
| Constructor Detail |
|---|
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 method| Method Detail |
|---|
public 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 JavaMethodJavaMethod}public 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 JavaMethodJavaMethod}public MEP getMEP()
getMEP in interface JavaMethodvoid setMEP(MEP mep)
mep - The mep to set.public SOAPBinding getBinding()
JavaMethodSOAPBinding isntance.
getBinding in interface JavaMethodvoid setBinding(SOAPBinding binding)
binding - public WSDLBoundOperation getOperation()
WSDLBoundOperation Operation associated with this
operation.
public void setOperationQName(QName name)
public QName getOperationQName()
public String getSOAPAction()
public String getOperationName()
JavaMethod
getOperationName in interface JavaMethodpublic String getRequestMessageName()
JavaMethod
getRequestMessageName in interface JavaMethodpublic String getResponseMessageName()
JavaMethod
getResponseMessageName in interface JavaMethodMEP.isOneWay()public void setRequestPayloadName(QName n)
@Nullable public QName getRequestPayloadName()
JavaMethod
getRequestPayloadName in interface JavaMethod@Nullable public QName getResponsePayloadName()
JavaMethod
getResponsePayloadName in interface JavaMethodpublic List<ParameterImpl> getRequestParameters()
public List<ParameterImpl> getResponseParameters()
void addParameter(ParameterImpl p)
void addRequestParameter(ParameterImpl p)
void addResponseParameter(ParameterImpl p)
public int getInputParametersCount()
void addException(CheckedExceptionImpl ce)
ce - 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()
void freeze(WSDLPort portType)
final void fillTypes(List<TypeInfo> types)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||