org.apache.axis2.jaxws.description.impl
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
- See Also:
../EndpointInterfaceDescription
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
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 interface EndpointInterfaceDescription
- 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 interface EndpointInterfaceDescription
- Parameters:
operationName
-
- Returns:
getOperations
public OperationDescription[] getOperations()
- Specified by:
getOperations
in interface EndpointInterfaceDescription
getEndpointDescriptionImpl
public EndpointDescriptionImpl getEndpointDescriptionImpl()
getEndpointDescription
public EndpointDescription getEndpointDescription()
- Specified by:
getEndpointDescription
in interface EndpointInterfaceDescription
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 interface EndpointInterfaceDescription
- 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.Response
method(...) 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 interface EndpointInterfaceDescription
- Returns:
- See Also:
EndpointInterfaceDescription.getOperation(QName operationQName)
getDispatchableOperations
public OperationDescription[] getDispatchableOperations()
- Specified by:
getDispatchableOperations
in interface EndpointInterfaceDescription
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 interface EndpointInterfaceDescription
- Parameters:
seiMethod
- The java.lang.Method from the SEI for which an OperationDescription is
wanted
- Returns:
getSEIClass
public Class getSEIClass()
- Specified by:
getSEIClass
in interface EndpointInterfaceDescription
getAnnoSoapBinding
public SOAPBinding getAnnoSoapBinding()
- Specified by:
getAnnoSoapBinding
in interface EndpointInterfaceDescriptionJava
getSoapBindingStyle
public SOAPBinding.Style getSoapBindingStyle()
- Specified by:
getSoapBindingStyle
in interface EndpointInterfaceDescription
getAnnoSoapBindingStyle
public SOAPBinding.Style getAnnoSoapBindingStyle()
- Specified by:
getAnnoSoapBindingStyle
in interface EndpointInterfaceDescriptionJava
getSoapBindingUse
public SOAPBinding.Use getSoapBindingUse()
- Specified by:
getSoapBindingUse
in interface EndpointInterfaceDescription
getAnnoSoapBindingUse
public SOAPBinding.Use getAnnoSoapBindingUse()
- Specified by:
getAnnoSoapBindingUse
in interface EndpointInterfaceDescriptionJava
getSoapBindingParameterStyle
public SOAPBinding.ParameterStyle getSoapBindingParameterStyle()
- Specified by:
getSoapBindingParameterStyle
in interface EndpointInterfaceDescription
getAnnoSoapBindingParameterStyle
public SOAPBinding.ParameterStyle getAnnoSoapBindingParameterStyle()
- Specified by:
getAnnoSoapBindingParameterStyle
in interface EndpointInterfaceDescriptionJava
getWSDLPortType
public javax.wsdl.PortType getWSDLPortType()
- Specified by:
getWSDLPortType
in interface EndpointInterfaceDescriptionWSDL
getTargetNamespace
public String getTargetNamespace()
- Specified by:
getTargetNamespace
in interface EndpointInterfaceDescription
getAnnoWebService
public WebService getAnnoWebService()
- Specified by:
getAnnoWebService
in interface EndpointInterfaceDescriptionJava
getAnnoWebServiceTargetNamespace
public String getAnnoWebServiceTargetNamespace()
- Specified by:
getAnnoWebServiceTargetNamespace
in interface EndpointInterfaceDescriptionJava
getAnnoWebServiceName
public String getAnnoWebServiceName()
getName
public String getName()
getPortType
public QName getPortType()
- Specified by:
getPortType
in interface EndpointInterfaceDescription
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.