|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebAnnotations
Defines the contract for accessing annotations at runtime. This is a facade, which can accommodate any annotations API such as Commons Attributes, backport175, Java 5, or any other annotations implementation.
| Method Summary | |
|---|---|
java.util.Collection |
getFaultHandlers(java.lang.Class clazz)
|
HandlerChainAnnotation |
getHandlerChainAnnotation(java.lang.Class aClass)
Gets the HandlerChainAnnotation annotation from the given class, if found. |
java.util.Collection |
getInHandlers(java.lang.Class clazz)
|
java.util.Collection |
getOutHandlers(java.lang.Class clazz)
|
java.util.Map |
getServiceProperties(java.lang.Class clazz)
|
SOAPBindingAnnotation |
getSOAPBindingAnnotation(java.lang.Class aClass)
Gets the SOAPBindingAnnotation annotation from the given class, if found. |
WebMethodAnnotation |
getWebMethodAnnotation(java.lang.reflect.Method method)
Gets the WebServiceAnnotation annotation from the given class, if found. |
WebParamAnnotation |
getWebParamAnnotation(java.lang.reflect.Method method,
int parameter)
Gets the WebParamAnnotation annotation from the indicated parameter of the given method, if found. |
WebResultAnnotation |
getWebResultAnnotation(java.lang.reflect.Method method)
Gets the WebResultAnnotation annotation from the given method, if found. |
WebServiceAnnotation |
getWebServiceAnnotation(java.lang.Class aClass)
Gets the WebServiceAnnotation annotation from the given class, if found. |
boolean |
hasHandlerChainAnnotation(java.lang.Class aClass)
Tests whether the given class has the HandlerChainAnnotation annotation. |
boolean |
hasOnewayAnnotation(java.lang.reflect.Method method)
Tests whether the given method has the one way annotation. |
boolean |
hasSOAPBindingAnnotation(java.lang.Class aClass)
Tests whether the given class has the SOAPBindingAnnotation annotation. |
boolean |
hasWebMethodAnnotation(java.lang.reflect.Method method)
Tests whether the given method has the WebMethodAnnotation annotation. |
boolean |
hasWebParamAnnotation(java.lang.reflect.Method method,
int parameter)
Tests whether the indicated parameter of the given method has the WebResultAnnotation annotation. |
boolean |
hasWebResultAnnotation(java.lang.reflect.Method method)
Tests whether the given method has the WebResultAnnotation annotation. |
boolean |
hasWebServiceAnnotation(java.lang.Class aClass)
Tests whether the given class has the WebServiceAnnotation annotation. |
| Method Detail |
|---|
boolean hasWebServiceAnnotation(java.lang.Class aClass)
WebServiceAnnotation annotation.
aClass - the class.
true if present; false otherwise.WebServiceAnnotation getWebServiceAnnotation(java.lang.Class aClass)
WebServiceAnnotation annotation from the given class, if found.
aClass - the class.
null if it could not be found.boolean hasWebMethodAnnotation(java.lang.reflect.Method method)
WebMethodAnnotation annotation.
method - the method.
true if present; false otherwise.WebMethodAnnotation getWebMethodAnnotation(java.lang.reflect.Method method)
WebServiceAnnotation annotation from the given class, if found.
method - the method.
null if it could not be found.boolean hasWebResultAnnotation(java.lang.reflect.Method method)
WebResultAnnotation annotation.
method - the method.
true if present; false otherwise.WebResultAnnotation getWebResultAnnotation(java.lang.reflect.Method method)
WebResultAnnotation annotation from the given method, if found.
method - the method.
null if it could not be found.
boolean hasWebParamAnnotation(java.lang.reflect.Method method,
int parameter)
WebResultAnnotation annotation.
method - the method.parameter - the index of the parameter in the method's parameter list.
true> if present; false otherwise.
WebParamAnnotation getWebParamAnnotation(java.lang.reflect.Method method,
int parameter)
WebParamAnnotation annotation from the indicated parameter of the given method, if found.
method - the method.parameter - the parameter index.
null if it could not be found.boolean hasOnewayAnnotation(java.lang.reflect.Method method)
method - the method.
true if present; false otherwise.boolean hasSOAPBindingAnnotation(java.lang.Class aClass)
SOAPBindingAnnotation annotation.
aClass - the class.
true> if present; false otherwise.SOAPBindingAnnotation getSOAPBindingAnnotation(java.lang.Class aClass)
SOAPBindingAnnotation annotation from the given class, if found.
aClass - the class.
null if it could not be found.boolean hasHandlerChainAnnotation(java.lang.Class aClass)
HandlerChainAnnotation annotation.
aClass - the class.
true> if present; false otherwise.HandlerChainAnnotation getHandlerChainAnnotation(java.lang.Class aClass)
HandlerChainAnnotation annotation from the given class, if found.
aClass - the class.
null if it could not be found.java.util.Map getServiceProperties(java.lang.Class clazz)
java.util.Collection getInHandlers(java.lang.Class clazz)
java.util.Collection getOutHandlers(java.lang.Class clazz)
java.util.Collection getFaultHandlers(java.lang.Class clazz)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||