org.ow2.jonas.cdi.weld.internal.standard
Class CDIAnnotationProcessor

java.lang.Object
  extended by org.ow2.jonas.cdi.weld.internal.standard.CDIAnnotationProcessor
All Implemented Interfaces:
org.apache.AnnotationProcessor

public class CDIAnnotationProcessor
extends Object
implements org.apache.AnnotationProcessor

Copy/pasted AnnotationProcessor from Weld Tomcat integration module: http://fisheye.jboss.org/browse/weld/servlet/tags/1.0.1-CR2/int/src/main/java/org/jboss/weld/environment/tomcat/WeldAnnotationProcessor.java?r=5792

Change: Using standard BeanManager interface instead of WeldManager.


Constructor Summary
CDIAnnotationProcessor(javax.enterprise.inject.spi.BeanManager manager)
           
 
Method Summary
 void postConstruct(Object arg0)
           
 void preDestroy(Object arg0)
           
 void processAnnotations(Object instance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDIAnnotationProcessor

public CDIAnnotationProcessor(javax.enterprise.inject.spi.BeanManager manager)
Method Detail

processAnnotations

public void processAnnotations(Object instance)
                        throws IllegalAccessException,
                               InvocationTargetException,
                               NamingException
Specified by:
processAnnotations in interface org.apache.AnnotationProcessor
Throws:
IllegalAccessException
InvocationTargetException
NamingException

postConstruct

public void postConstruct(Object arg0)
                   throws IllegalAccessException,
                          InvocationTargetException
Specified by:
postConstruct in interface org.apache.AnnotationProcessor
Throws:
IllegalAccessException
InvocationTargetException

preDestroy

public void preDestroy(Object arg0)
                throws IllegalAccessException,
                       InvocationTargetException
Specified by:
preDestroy in interface org.apache.AnnotationProcessor
Throws:
IllegalAccessException
InvocationTargetException


Copyright © 2010 OW2 Consortium. All Rights Reserved.