org.ow2.jonas.ws.axis2.easybeans.ext
Class WebServiceContextInjectionHandler
java.lang.Object
org.ow2.util.annotation.processor.handler.AbstractAnnotationHandler
org.ow2.util.annotation.processor.handler.AbstractInjectionHandler
org.ow2.jonas.ws.axis2.easybeans.ext.WebServiceContextInjectionHandler
- All Implemented Interfaces:
- org.ow2.util.annotation.processor.IAnnotationHandler
public class WebServiceContextInjectionHandler
- extends org.ow2.util.annotation.processor.handler.AbstractInjectionHandler
React to @Resource on WebServiceContext.
Methods inherited from class org.ow2.util.annotation.processor.handler.AbstractInjectionHandler |
doInjectField, doInjectMethod, getAttributeName, getSetterParameterType, isSetterMethod |
Methods inherited from class org.ow2.util.annotation.processor.handler.AbstractAnnotationHandler |
process |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebServiceContextInjectionHandler
public WebServiceContextInjectionHandler()
isSupported
public boolean isSupported(Class<? extends Annotation> aClass)
- Supports @Resource annotation only
- Parameters:
aClass
-
- Returns:
- true if the annotation is a Resource
process
public void process(Annotation annotation,
Field field,
Object o)
throws org.ow2.util.annotation.processor.ProcessorException
- Specified by:
process
in interface org.ow2.util.annotation.processor.IAnnotationHandler
- Overrides:
process
in class org.ow2.util.annotation.processor.handler.AbstractAnnotationHandler
- Throws:
org.ow2.util.annotation.processor.ProcessorException
process
public void process(Annotation annotation,
Method method,
Object o)
throws org.ow2.util.annotation.processor.ProcessorException
- Specified by:
process
in interface org.ow2.util.annotation.processor.IAnnotationHandler
- Overrides:
process
in class org.ow2.util.annotation.processor.handler.AbstractAnnotationHandler
- Throws:
org.ow2.util.annotation.processor.ProcessorException
Copyright © 2010 OW2 Consortium. All Rights Reserved.