org.ow2.jonas.ws.axis2.easybeans.ext
Class WebServiceContextInjectionHandler

java.lang.Object
  extended by org.ow2.util.annotation.processor.handler.AbstractAnnotationHandler
      extended by org.ow2.util.annotation.processor.handler.AbstractInjectionHandler
          extended by 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.


Constructor Summary
WebServiceContextInjectionHandler()
           
 
Method Summary
 boolean isSupported(Class<? extends Annotation> aClass)
          Supports @Resource annotation only
 void process(Annotation annotation, Field field, Object o)
           
 void process(Annotation annotation, Method method, Object o)
           
 
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
 

Constructor Detail

WebServiceContextInjectionHandler

public WebServiceContextInjectionHandler()
Method Detail

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.