openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r796028 - /incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/stereotype/Stereotype.java
Date Mon, 20 Jul 2009 21:35:41 GMT
Author: struberg
Date: Mon Jul 20 21:35:40 2009
New Revision: 796028

URL: http://svn.apache.org/viewvc?rev=796028&view=rev
Log:
OWB-123 remove StereoType restrictions

Modified:
    incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/stereotype/Stereotype.java

Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/stereotype/Stereotype.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/stereotype/Stereotype.java?rev=796028&r1=796027&r2=796028&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/stereotype/Stereotype.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/enterprise/inject/stereotype/Stereotype.java
Mon Jul 20 21:35:40 2009
@@ -16,7 +16,6 @@
 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
 import static java.lang.annotation.RetentionPolicy.RUNTIME;
 
-import java.lang.annotation.Annotation;
 import java.lang.annotation.Documented;
 import java.lang.annotation.Retention;
 import java.lang.annotation.Target;
@@ -28,14 +27,6 @@
  * component.
  * 
  * <p>
- * It defines two member variables, namely
- * <ul>
- * <li>supportedScopes for restricting the webbeans scope</li>
- * <li>requiredTypes for restricting the webbeans API type</li>
- * </ul>
- * </p>
- * 
- * <p>
  * If a bean annotated with multiple stereotypes, it obeys the all of the
  * stereotypes restrictions.
  * </p>
@@ -47,10 +38,4 @@
 @Documented
 public @interface Stereotype
 {
-    /**Supported scopes of the stereotype*/
-    public Class<? extends Annotation>[] supportedScopes() default {};
-
-    /**Required API type for the webbeans*/
-    public Class<?>[] requiredTypes() default {};
-
 }



Mime
View raw message