|
||||||||||
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 | |
---|---|
Collection |
getFaultHandlers(Class clazz)
|
HandlerChainAnnotation |
getHandlerChainAnnotation(Class aClass)
Gets the HandlerChainAnnotation annotation from the given class, if found. |
Collection |
getInHandlers(Class clazz)
|
Collection |
getOutHandlers(Class clazz)
|
Map |
getServiceProperties(Class clazz)
|
SOAPBindingAnnotation |
getSOAPBindingAnnotation(Class aClass)
Gets the SOAPBindingAnnotation annotation from the given class, if found. |
WebMethodAnnotation |
getWebMethodAnnotation(Method method)
Gets the WebServiceAnnotation annotation from the given class, if found. |
WebParamAnnotation |
getWebParamAnnotation(Method method,
int parameter)
Gets the WebParamAnnotation annotation from the indicated parameter of the given method, if found. |
WebResultAnnotation |
getWebResultAnnotation(Method method)
Gets the WebResultAnnotation annotation from the given method, if found. |
WebServiceAnnotation |
getWebServiceAnnotation(Class aClass)
Gets the WebServiceAnnotation annotation from the given class, if found. |
boolean |
hasHandlerChainAnnotation(Class aClass)
Tests whether the given class has the HandlerChainAnnotation annotation. |
boolean |
hasOnewayAnnotation(Method method)
Tests whether the given method has the one way annotation. |
boolean |
hasSOAPBindingAnnotation(Class aClass)
Tests whether the given class has the SOAPBindingAnnotation annotation. |
boolean |
hasWebMethodAnnotation(Method method)
Tests whether the given method has the WebMethodAnnotation annotation. |
boolean |
hasWebParamAnnotation(Method method,
int parameter)
Tests whether the indicated parameter of the given method has the WebResultAnnotation annotation. |
boolean |
hasWebResultAnnotation(Method method)
Tests whether the given method has the WebResultAnnotation annotation. |
boolean |
hasWebServiceAnnotation(Class aClass)
Tests whether the given class has the WebServiceAnnotation annotation. |
Method Detail |
---|
boolean hasWebServiceAnnotation(Class aClass)
WebServiceAnnotation
annotation.
aClass
- the class.
true
if present; false
otherwise.WebServiceAnnotation getWebServiceAnnotation(Class aClass)
WebServiceAnnotation
annotation from the given class, if found.
aClass
- the class.
null
if it could not be found.boolean hasWebMethodAnnotation(Method method)
WebMethodAnnotation
annotation.
method
- the method.
true
if present; false
otherwise.WebMethodAnnotation getWebMethodAnnotation(Method method)
WebServiceAnnotation
annotation from the given class, if found.
method
- the method.
null
if it could not be found.boolean hasWebResultAnnotation(Method method)
WebResultAnnotation
annotation.
method
- the method.
true
if present; false
otherwise.WebResultAnnotation getWebResultAnnotation(Method method)
WebResultAnnotation
annotation from the given method, if found.
method
- the method.
null
if it could not be found.boolean hasWebParamAnnotation(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(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(Method method)
method
- the method.
true
if present; false
otherwise.boolean hasSOAPBindingAnnotation(Class aClass)
SOAPBindingAnnotation
annotation.
aClass
- the class.
true> if present; false
otherwise.
SOAPBindingAnnotation getSOAPBindingAnnotation(Class aClass)
SOAPBindingAnnotation
annotation from the given class, if found.
aClass
- the class.
null
if it could not be found.boolean hasHandlerChainAnnotation(Class aClass)
HandlerChainAnnotation
annotation.
aClass
- the class.
true> if present; false
otherwise.
HandlerChainAnnotation getHandlerChainAnnotation(Class aClass)
HandlerChainAnnotation
annotation from the given class, if found.
aClass
- the class.
null
if it could not be found.Map getServiceProperties(Class clazz)
Collection getInHandlers(Class clazz)
Collection getOutHandlers(Class clazz)
Collection getFaultHandlers(Class clazz)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |