Class EndpointInterfaceDescriptionImpl
- java.lang.Object
-
- org.apache.axis2.jaxws.description.impl.EndpointInterfaceDescriptionImpl
-
- All Implemented Interfaces:
EndpointInterfaceDescription
,EndpointInterfaceDescriptionJava
,EndpointInterfaceDescriptionWSDL
public class EndpointInterfaceDescriptionImpl extends Object implements EndpointInterfaceDescription, EndpointInterfaceDescriptionJava, EndpointInterfaceDescriptionWSDL
-
-
Field Summary
Fields Modifier and Type Field Description static SOAPBinding.ParameterStyle
SOAPBinding_ParameterStyle_DEFAULT
static SOAPBinding.Style
SOAPBinding_Style_DEFAULT
static SOAPBinding.Use
SOAPBinding_Use_DEFAULT
-
Fields inherited from interface org.apache.axis2.jaxws.description.EndpointInterfaceDescription
JAXWS_NOWSDL_PROVIDER_OPERATION_NAME
-
-
Method Summary
-
-
-
Field Detail
-
SOAPBinding_Style_DEFAULT
public static final SOAPBinding.Style SOAPBinding_Style_DEFAULT
-
SOAPBinding_Use_DEFAULT
public static final SOAPBinding.Use SOAPBinding_Use_DEFAULT
-
SOAPBinding_ParameterStyle_DEFAULT
public static final SOAPBinding.ParameterStyle SOAPBinding_ParameterStyle_DEFAULT
-
-
Method Detail
-
getOperationForJavaMethod
public OperationDescription[] getOperationForJavaMethod(String javaMethodName)
Return the OperationDescriptions corresponding to a particular Java method name. Note that an array is returned because a method could be overloaded.- Specified by:
getOperationForJavaMethod
in interfaceEndpointInterfaceDescription
- Parameters:
javaMethodName
- String representing a Java Method Name- Returns:
-
getOperation
public OperationDescription getOperation(String operationName)
Return the OperationDesription (only one) corresponding to the OperationName passed in.- Specified by:
getOperation
in interfaceEndpointInterfaceDescription
- Parameters:
operationName
-- Returns:
-
getOperations
public OperationDescription[] getOperations()
- Specified by:
getOperations
in interfaceEndpointInterfaceDescription
-
getEndpointDescriptionImpl
public EndpointDescriptionImpl getEndpointDescriptionImpl()
-
getEndpointDescription
public EndpointDescription getEndpointDescription()
- Specified by:
getEndpointDescription
in interfaceEndpointInterfaceDescription
-
getOperation
public OperationDescription[] getOperation(QName operationQName)
Return an array of Operations given an operation QName. Note that an array is returned since a WSDL operation may be overloaded per JAX-WS.- Specified by:
getOperation
in interfaceEndpointInterfaceDescription
- Parameters:
operationQName
-- Returns:
- See Also:
EndpointInterfaceDescription.getDispatchableOperation(QName operationQName)
-
getDispatchableOperation
public OperationDescription[] getDispatchableOperation(QName operationQName)
Description copied from interface:EndpointInterfaceDescription
Returns all the dispatchable operations matching the operation QName. A dispatchable operation is one that is NOT a JAX-WS client-side async method invocation and does NOT carry an @WebMethod(exclude=true) annotation. JAX-WS client-side async methods which have signatures of the following forms are filtered out of this list: javax.xml.ws.Responsemethod(...) java.util.concurrent.Future> method(..., javax.xml.ws.AsyncHandler ) These methods are filtered because a common use case is to use the same SEI on both the client and service implementation side, generating both the client and service implemntation code from that SEI. If that SEI happens to contain the client-side-only JAX-WS methods, they should be ingored on the service implemenation side. To return all the operations, use getOperation(QName). - Specified by:
getDispatchableOperation
in interfaceEndpointInterfaceDescription
- Returns:
- See Also:
EndpointInterfaceDescription.getOperation(QName operationQName)
-
getDispatchableOperations
public OperationDescription[] getDispatchableOperations()
- Specified by:
getDispatchableOperations
in interfaceEndpointInterfaceDescription
-
getOperation
public OperationDescription getOperation(Method seiMethod)
Return an OperationDescription for the corresponding SEI method. Note that this ONLY works if the OperationDescriptions were created from introspecting an SEI. If the were created with a WSDL then use the getOperation(QName) method, which can return > 1 operation.- Specified by:
getOperation
in interfaceEndpointInterfaceDescription
- Parameters:
seiMethod
- The java.lang.Method from the SEI for which an OperationDescription is wanted- Returns:
-
getSEIClass
public Class getSEIClass()
- Specified by:
getSEIClass
in interfaceEndpointInterfaceDescription
-
getAnnoSoapBinding
public SOAPBinding getAnnoSoapBinding()
- Specified by:
getAnnoSoapBinding
in interfaceEndpointInterfaceDescriptionJava
-
getSoapBindingStyle
public SOAPBinding.Style getSoapBindingStyle()
- Specified by:
getSoapBindingStyle
in interfaceEndpointInterfaceDescription
-
getAnnoSoapBindingStyle
public SOAPBinding.Style getAnnoSoapBindingStyle()
- Specified by:
getAnnoSoapBindingStyle
in interfaceEndpointInterfaceDescriptionJava
-
getSoapBindingUse
public SOAPBinding.Use getSoapBindingUse()
- Specified by:
getSoapBindingUse
in interfaceEndpointInterfaceDescription
-
getAnnoSoapBindingUse
public SOAPBinding.Use getAnnoSoapBindingUse()
- Specified by:
getAnnoSoapBindingUse
in interfaceEndpointInterfaceDescriptionJava
-
getSoapBindingParameterStyle
public SOAPBinding.ParameterStyle getSoapBindingParameterStyle()
- Specified by:
getSoapBindingParameterStyle
in interfaceEndpointInterfaceDescription
-
getAnnoSoapBindingParameterStyle
public SOAPBinding.ParameterStyle getAnnoSoapBindingParameterStyle()
- Specified by:
getAnnoSoapBindingParameterStyle
in interfaceEndpointInterfaceDescriptionJava
-
getWSDLPortType
public javax.wsdl.PortType getWSDLPortType()
- Specified by:
getWSDLPortType
in interfaceEndpointInterfaceDescriptionWSDL
-
getTargetNamespace
public String getTargetNamespace()
- Specified by:
getTargetNamespace
in interfaceEndpointInterfaceDescription
-
getAnnoWebService
public WebService getAnnoWebService()
- Specified by:
getAnnoWebService
in interfaceEndpointInterfaceDescriptionJava
-
getAnnoWebServiceTargetNamespace
public String getAnnoWebServiceTargetNamespace()
- Specified by:
getAnnoWebServiceTargetNamespace
in interfaceEndpointInterfaceDescriptionJava
-
getAnnoWebServiceName
public String getAnnoWebServiceName()
-
getName
public String getName()
-
getPortType
public QName getPortType()
- Specified by:
getPortType
in interfaceEndpointInterfaceDescription
-
-