openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r786258 - in /incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config: DefinitionUtil.java SimpleWebBeansConfigurator.java
Date Thu, 18 Jun 2009 20:45:29 GMT
Author: gerdogdu
Date: Thu Jun 18 20:45:29 2009
New Revision: 786258

URL: http://svn.apache.org/viewvc?rev=786258&view=rev
Log:
Removing @StereoType requirements.(Related with requiredScope and requiredApi types.).
These are removed from specification.

Modified:
    incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java
    incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/SimpleWebBeansConfigurator.java

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java?rev=786258&r1=786257&r2=786258&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java
Thu Jun 18 20:45:29 2009
@@ -693,7 +693,8 @@
         DefinitionUtil.defineBindingTypes(component, methodAnns);
         DefinitionUtil.defineName(component, methodAnns, WebBeansUtil.getProducerDefaultName(method.getName()));
 
-        WebBeansUtil.checkSteroTypeRequirements(component, methodAnns, "WebBeans producer
method : " + method.getName() + " in class : " + parent.getReturnType().getName());
+        //Drop from the specification
+        //WebBeansUtil.checkSteroTypeRequirements(component, methodAnns, "WebBeans producer
method : " + method.getName() + " in class : " + parent.getReturnType().getName());
 
         return component;
     }

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/SimpleWebBeansConfigurator.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/SimpleWebBeansConfigurator.java?rev=786258&r1=786257&r2=786258&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/SimpleWebBeansConfigurator.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/SimpleWebBeansConfigurator.java
Thu Jun 18 20:45:29 2009
@@ -135,7 +135,8 @@
         component.setConstructor(constructor);
         DefinitionUtil.addConstructorInjectionPointMetaData(component, constructor);
 
-        WebBeansUtil.checkSteroTypeRequirements(component, clazz.getDeclaredAnnotations(),
"Simple WebBean Component implementation class : " + clazz.getName());
+        //Dropped from the speicification
+        //WebBeansUtil.checkSteroTypeRequirements(component, clazz.getDeclaredAnnotations(),
"Simple WebBean Component implementation class : " + clazz.getName());
 
         Set<ProducerComponentImpl<?>> producerComponents = DefinitionUtil.defineProducerMethods(component);
         manager.getBeans().addAll(producerComponents);



Mime
View raw message