openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r788505 - in /incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans: config/DefinitionUtil.java plugins/AbstractOpenWebBeansPlugin.java plugins/OpenWebBeansPlugin.java
Date Thu, 25 Jun 2009 20:48:29 GMT
Author: struberg
Date: Thu Jun 25 20:48:28 2009
New Revision: 788505

URL: http://svn.apache.org/viewvc?rev=788505&view=rev
Log:
OWB-121 remove JMS specific namings from OpenWebBeansPlugin

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/plugins/AbstractOpenWebBeansPlugin.java
    incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/OpenWebBeansPlugin.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=788505&r1=788504&r2=788505&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 25 20:48:28 2009
@@ -1200,7 +1200,7 @@
                 
                 for(OpenWebBeansPlugin plugin : plugins)
                 {
-                    if(plugin.addJMSBean(injectionPoint))
+                    if(plugin.addImplicitComponentForInjectionPoint(injectionPoint))
                     {
                         break;
                     }

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/AbstractOpenWebBeansPlugin.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/AbstractOpenWebBeansPlugin.java?rev=788505&r1=788504&r2=788505&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/AbstractOpenWebBeansPlugin.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/AbstractOpenWebBeansPlugin.java
Thu Jun 25 20:48:28 2009
@@ -94,7 +94,7 @@
         
     }
 
-    public <T> boolean addJMSBean(InjectionPoint injectionPoint)
+    public <T> boolean addImplicitComponentForInjectionPoint(InjectionPoint injectionPoint)
     {
         return false;
     }

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/OpenWebBeansPlugin.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/OpenWebBeansPlugin.java?rev=788505&r1=788504&r2=788505&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/OpenWebBeansPlugin.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/OpenWebBeansPlugin.java
Thu Jun 25 20:48:28 2009
@@ -71,12 +71,13 @@
     public void isSimpleBeanClass(Class<?> clazz) throws WebBeansConfigurationException;
     
     /**
-     * If plugins applicable, it adds new jms related bean into the manager.
+     * If plugins applicable, it adds the component for the given {@code InjectionPoint}
+     * jms related bean into the manager.
      *
      * @param injectionPoint injection point for the jms bean
-     * @return true if plugin is capable for adding jms bean, false otherwise
+     * @return <code>true</code> if plugin is capable for handling the injection
point, <code>false</code> otherwise
      */
-    public <T> boolean addJMSBean(InjectionPoint injectionPoint);
+    public <T> boolean addImplicitComponentForInjectionPoint(InjectionPoint injectionPoint);
 
     /**
      * Check whether the given annotation class represents a resource which



Mime
View raw message