org.ow2.jonas.cdi.weld.internal.easybeans
Class WeldInjectAnnotationHandler
java.lang.Object
org.ow2.util.annotation.processor.handler.AbstractAnnotationHandler
org.ow2.util.annotation.processor.handler.AbstractInjectionHandler
org.ow2.jonas.cdi.weld.internal.easybeans.WeldInjectAnnotationHandler
- All Implemented Interfaces:
- org.ow2.util.annotation.processor.IAnnotationHandler
public class WeldInjectAnnotationHandler
- extends org.ow2.util.annotation.processor.handler.AbstractInjectionHandler
This is an AbstractInjectionHandler used to perform injection of CDI beans into EJBs
- Author:
- Loic Albertin
| 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 |
WeldInjectAnnotationHandler
public WeldInjectAnnotationHandler(org.jboss.weld.manager.api.WeldManager beanManager,
Map<org.ow2.easybeans.api.bean.EasyBeansBean,Set<InjectionItemHolder>> injectionTargets)
- Parameters:
beanManager - The bean managerinjectionTargets - A map where result of injection for EJBs should be stored in order to be later disposed.
isSupported
public boolean isSupported(Class<? extends Annotation> aClass)
process
public void process(Annotation annotation,
Field field,
Object target)
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 target)
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 © 2013 OW2 Consortium. All Rights Reserved.