|
||||||||||
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)
|
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<TypeReference> types)
|
(package private) void |
freeze(WSDLPortImpl portType)
|
SOAPBindingImpl |
getBinding()
Binding object - a SOAPBinding isntance. |
CheckedExceptionImpl |
getCheckedException(Class exceptionClass)
|
CheckedExceptionImpl |
getCheckedException(TypeReference detailType)
|
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()
Returns the WSDLBoundOperation Operation associated with this
operation. |
String |
getOperationName()
Gives the wsdl:operation@name value |
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. |
boolean |
isAsync()
Returns if the java method is async |
(package private) void |
setBinding(SOAPBindingImpl binding)
|
(package private) void |
setMEP(MEP mep)
|
void |
setOperationName(String name)
|
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)
owner
- method
- : Implementation class methodseiMethod
- : corresponding SEI Method.
Is there is no SEI, it should be Implementation class methodMethod Detail |
---|
public SEIModel getOwner()
JavaMethod
SEIModel
that owns this model.
getOwner
in interface JavaMethod
public 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 JavaMethod
JavaMethod}
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 JavaMethod
JavaMethod}
public MEP getMEP()
getMEP
in interface JavaMethod
void setMEP(MEP mep)
mep
- The mep to set.public SOAPBindingImpl getBinding()
JavaMethod
SOAPBinding
isntance.
getBinding
in interface JavaMethod
void setBinding(SOAPBindingImpl binding)
binding
- @NotNull public WSDLBoundOperation getOperation()
WSDLBoundOperation
Operation associated with this
operation.
public void setOperationName(String name)
public String getOperationName()
JavaMethod
getOperationName
in interface JavaMethod
public String getRequestMessageName()
JavaMethod
getRequestMessageName
in interface JavaMethod
public String getResponseMessageName()
JavaMethod
getResponseMessageName
in interface JavaMethod
MEP.isOneWay()
@Nullable public QName getRequestPayloadName()
JavaMethod
getRequestPayloadName
in interface JavaMethod
@Nullable public QName getResponsePayloadName()
JavaMethod
getResponsePayloadName
in interface JavaMethod
public 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(TypeReference detailType)
detailType
-
public boolean isAsync()
void freeze(WSDLPortImpl portType)
final void fillTypes(List<TypeReference> types)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |