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