|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.jaxws.description.impl.DescriptionUtils
public class DescriptionUtils
Utilities used throughout the Description package.
Constructor Summary | |
---|---|
DescriptionUtils()
|
Method Summary | |
---|---|
static void |
getAttachmentFromBinding(org.apache.axis2.jaxws.description.impl.OperationDescriptionImpl opDesc,
javax.wsdl.Binding binding)
This method will process a WSDL Binding and build AttachmentDescription objects if the WSDL dicatates attachments. |
static Boolean |
getBooleanValue(String value)
Utility method for converting a String value into a boolean. |
static String |
getNamespaceFromSOAPElement(List extElements)
This method will loop through a list of extensibility elements looking for one of four objects: SOAPBody, SOAP12Body, SOAPHeader, SOAP12Header. |
static boolean |
isAsync(Method method)
Determine is this method is an async method |
static HandlerChainsType |
loadHandlerChains(InputStream is,
ClassLoader classLoader)
|
static String |
mapBindingTypeAnnotationToWsdl(String annotationBindingType)
Given a binding type value based on a JAXWS anntation, return the corresponding WSDL binding type. |
static String |
mapBindingTypeWsdlToAnnotation(String wsdlBindingType,
String soapTransport)
Given a binding type value based on WSDL, return the corresponding JAXWS annotation value. |
static InputStream |
openHandlerConfigStream(String configFile,
String className,
ClassLoader classLoader)
This is a helper method that will open a stream to an @HandlerChain configuration file. |
static void |
registerHandlerHeaders(AxisService axisService,
List<Handler> handlers)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DescriptionUtils()
Method Detail |
---|
public static InputStream openHandlerConfigStream(String configFile, String className, ClassLoader classLoader)
configFile
- - The path to the fileclassName
- - The class in which the annotation was declared. This is used in case the
file path is relative.classLoader
- - ClassLoader used to load relative file paths.
public static boolean isAsync(Method method)
method
- - The method to examine
public static HandlerChainsType loadHandlerChains(InputStream is, ClassLoader classLoader)
public static String getNamespaceFromSOAPElement(List extElements)
public static void getAttachmentFromBinding(org.apache.axis2.jaxws.description.impl.OperationDescriptionImpl opDesc, javax.wsdl.Binding binding)
public static void registerHandlerHeaders(AxisService axisService, List<Handler> handlers)
public static String mapBindingTypeAnnotationToWsdl(String annotationBindingType)
annotationBindingType
- The binding type as represented by a JAXWS annotation value
mapBindingTypeWsdlToAnnotation(String, String)
public static String mapBindingTypeWsdlToAnnotation(String wsdlBindingType, String soapTransport)
wsdlBindingType
- The binding type as represnted by the WSDL binding extension namespacesoapTransport
- The WSDL transport. Used to determine if a JMS binding type should
be returned
public static Boolean getBooleanValue(String value)
value
- the property's value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |