public abstract class JSR181Helper
extends java.lang.Object
NoClassDefFoundError exceptions if the JAR is not in the classpath. This is useful
because these annotations are completely optional in Axis2.| Modifier and Type | Field and Description |
|---|---|
static JSR181Helper |
INSTANCE
The instance of this helper class.
|
| Constructor and Description |
|---|
JSR181Helper() |
| Modifier and Type | Method and Description |
|---|---|
abstract WebMethodAnnotation |
getWebMethodAnnotation(java.lang.reflect.Method method)
Get the WebMethod annotation for a given method.
|
abstract WebParamAnnotation |
getWebParamAnnotation(java.lang.annotation.Annotation[] annotations)
Get the WebParam annotation from a set of annotations.
|
abstract WebResultAnnotation |
getWebResultAnnotation(java.lang.reflect.Method method)
Get the WebResult annotation for a given method.
|
abstract WebServiceAnnotation |
getWebServiceAnnotation(java.lang.Class<?> clazz)
Get the WebService annotation for a given class.
|
public static final JSR181Helper INSTANCE
null.public abstract WebServiceAnnotation getWebServiceAnnotation(java.lang.Class<?> clazz)
clazz - the classnull if there is no such annotationpublic abstract WebMethodAnnotation getWebMethodAnnotation(java.lang.reflect.Method method)
method - the methodnull if there is no such annotationpublic abstract WebParamAnnotation getWebParamAnnotation(java.lang.annotation.Annotation[] annotations)
Method.getParameterAnnotations().annotations - an array of annotationsnull if the array didn't contain a WebParam
annotationpublic abstract WebResultAnnotation getWebResultAnnotation(java.lang.reflect.Method method)
method - the methodnull if there is no such annotationCopyright © 2004-2018 The Apache Software Foundation. All Rights Reserved.