Author: pete.muir(a)jboss.org
Date: 2008-07-01 13:25:14 -0400 (Tue, 01 Jul 2008)
New Revision: 33
Modified:
ri/trunk/webbeans-api/src/main/java/javax/webbeans/Initializer.java
Log:
Allow Initializer on constructor
Modified: ri/trunk/webbeans-api/src/main/java/javax/webbeans/Initializer.java
===================================================================
--- ri/trunk/webbeans-api/src/main/java/javax/webbeans/Initializer.java 2008-07-01
14:05:30 UTC (rev 32)
+++ ri/trunk/webbeans-api/src/main/java/javax/webbeans/Initializer.java 2008-07-01
17:25:14 UTC (rev 33)
@@ -1,13 +1,14 @@
package javax.webbeans;
import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
-@Target(METHOD)
+@Target({METHOD,CONSTRUCTOR})
@Retention(RUNTIME)
@Documented
public @interface Initializer