Author: dan.j.allen
Date: 2009-06-17 19:17:36 -0400 (Wed, 17 Jun 2009)
New Revision: 2846
Modified:
extensions/trunk/servlet/int/src/main/java/org/jboss/webbeans/environment/tomcat/WebBeansAnnotationProcessor.java
Log:
comment out broken code, add correct use of API in comment
uncomment code once correct API is implemented
Modified:
extensions/trunk/servlet/int/src/main/java/org/jboss/webbeans/environment/tomcat/WebBeansAnnotationProcessor.java
===================================================================
---
extensions/trunk/servlet/int/src/main/java/org/jboss/webbeans/environment/tomcat/WebBeansAnnotationProcessor.java 2009-06-17
17:23:43 UTC (rev 2845)
+++
extensions/trunk/servlet/int/src/main/java/org/jboss/webbeans/environment/tomcat/WebBeansAnnotationProcessor.java 2009-06-17
23:17:36 UTC (rev 2846)
@@ -19,7 +19,10 @@
public void processAnnotations(Object instance) throws IllegalAccessException,
InvocationTargetException, NamingException
{
- manager.injectNonContextualInstance(instance);
+ //FIXME disabled as this method is being reimplemented
+ //manager.createInjectionTarget(instance.getClass()).inject(instance,
manager.createCreationalContext());
+ // replaces
+ //manager.injectNonContextualInstance(instance);
}
public void postConstruct(Object arg0) throws IllegalAccessException,
InvocationTargetException
Show replies by date