|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.xfire.annotations.commons.CommonsWebAttributes
public class CommonsWebAttributes
Implementation of the WebAnnotations facade for Commons Attributes.
| Constructor Summary | |
|---|---|
CommonsWebAttributes()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonsWebAttributes()
| Method Detail |
|---|
public boolean hasWebServiceAnnotation(java.lang.Class aClass)
WebAnnotationsWebServiceAnnotation annotation.
hasWebServiceAnnotation in interface WebAnnotationsaClass - the class.
true if present; false otherwise.public WebServiceAnnotation getWebServiceAnnotation(java.lang.Class aClass)
WebAnnotationsWebServiceAnnotation annotation from the given class, if found.
getWebServiceAnnotation in interface WebAnnotationsaClass - the class.
null if it could not be found.public boolean hasWebMethodAnnotation(java.lang.reflect.Method method)
WebAnnotationsWebMethodAnnotation annotation.
hasWebMethodAnnotation in interface WebAnnotationsmethod - the method.
true if present; false otherwise.public WebMethodAnnotation getWebMethodAnnotation(java.lang.reflect.Method method)
WebAnnotationsWebServiceAnnotation annotation from the given class, if found.
getWebMethodAnnotation in interface WebAnnotationsmethod - the method.
null if it could not be found.public boolean hasWebResultAnnotation(java.lang.reflect.Method method)
WebAnnotationsWebResultAnnotation annotation.
hasWebResultAnnotation in interface WebAnnotationsmethod - the method.
true if present; false otherwise.public WebResultAnnotation getWebResultAnnotation(java.lang.reflect.Method method)
WebAnnotationsWebResultAnnotation annotation from the given method, if found.
getWebResultAnnotation in interface WebAnnotationsmethod - the method.
null if it could not be found.
public boolean hasWebParamAnnotation(java.lang.reflect.Method method,
int parameter)
WebAnnotationsWebResultAnnotation annotation.
hasWebParamAnnotation in interface WebAnnotationsmethod - the method.parameter - the index of the parameter in the method's parameter list.
true> if present; false otherwise.
public WebParamAnnotation getWebParamAnnotation(java.lang.reflect.Method method,
int parameter)
WebAnnotationsWebParamAnnotation annotation from the indicated parameter of the given method, if found.
getWebParamAnnotation in interface WebAnnotationsmethod - the method.parameter - the parameter index.
null if it could not be found.public boolean hasOnewayAnnotation(java.lang.reflect.Method method)
WebAnnotations
hasOnewayAnnotation in interface WebAnnotationsmethod - the method.
true if present; false otherwise.public boolean hasSOAPBindingAnnotation(java.lang.Class aClass)
WebAnnotationsSOAPBindingAnnotation annotation.
hasSOAPBindingAnnotation in interface WebAnnotationsaClass - the class.
true> if present; false otherwise.public SOAPBindingAnnotation getSOAPBindingAnnotation(java.lang.Class aClass)
WebAnnotationsSOAPBindingAnnotation annotation from the given class, if found.
getSOAPBindingAnnotation in interface WebAnnotationsaClass - the class.
null if it could not be found.public boolean hasHandlerChainAnnotation(java.lang.Class aClass)
WebAnnotationsHandlerChainAnnotation annotation.
hasHandlerChainAnnotation in interface WebAnnotationsaClass - the class.
true> if present; false otherwise.public HandlerChainAnnotation getHandlerChainAnnotation(java.lang.Class aClass)
WebAnnotationsHandlerChainAnnotation annotation from the given class, if found.
getHandlerChainAnnotation in interface WebAnnotationsaClass - the class.
null if it could not be found.public java.util.Map getServiceProperties(java.lang.Class clazz)
getServiceProperties in interface WebAnnotationspublic java.util.Collection getFaultHandlers(java.lang.Class clazz)
getFaultHandlers in interface WebAnnotationspublic java.util.Collection getInHandlers(java.lang.Class clazz)
getInHandlers in interface WebAnnotationspublic java.util.Collection getOutHandlers(java.lang.Class clazz)
getOutHandlers in interface WebAnnotations
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||