You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by ge...@apache.org on 2009/05/12 01:54:53 UTC
svn commit: r773731 -
/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/interceptor/Interceptor.java
Author: gerdogdu
Date: Mon May 11 23:54:53 2009
New Revision: 773731
URL: http://svn.apache.org/viewvc?rev=773731&view=rev
Log:
Update for M2 after testing. Correction of some bugs in the context tests.
Modified:
incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/interceptor/Interceptor.java
Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/interceptor/Interceptor.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/interceptor/Interceptor.java?rev=773731&r1=773730&r2=773731&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/interceptor/Interceptor.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/interceptor/Interceptor.java Mon May 11 23:54:53 2009
@@ -14,6 +14,8 @@
package javax.interceptor;
import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Inherited;
@@ -23,7 +25,7 @@
import javax.annotation.Stereotype;
@Retention(RUNTIME)
-@Target(TYPE)
+@Target({TYPE,METHOD,FIELD})
@Stereotype
@Inherited
public @interface Interceptor