openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r904689 - in /openwebbeans/trunk: pom.xml webbeans-jms/src/main/java/org/apache/webbeans/jms/util/JmsUtil.java
Date Sat, 30 Jan 2010 00:12:14 GMT
Author: gerdogdu
Date: Sat Jan 30 00:12:13 2010
New Revision: 904689

URL: http://svn.apache.org/viewvc?rev=904689&view=rev
Log:
Update for reflecting SPI module

Modified:
    openwebbeans/trunk/pom.xml
    openwebbeans/trunk/webbeans-jms/src/main/java/org/apache/webbeans/jms/util/JmsUtil.java

Modified: openwebbeans/trunk/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/pom.xml?rev=904689&r1=904688&r2=904689&view=diff
==============================================================================
--- openwebbeans/trunk/pom.xml (original)
+++ openwebbeans/trunk/pom.xml Sat Jan 30 00:12:13 2010
@@ -339,12 +339,12 @@
     </reporting>
 	
     <modules>
+        <module>webbeans-spi</module>
         <module>webbeans-impl</module>
         <module>webbeans-openejb</module>
         <module>webbeans-jms</module>
         <module>webbeans-jsf</module>
         <module>webbeans-resource</module>
-        <module>webbeans-geronimo</module>
         <module>webbeans-porting</module>
         <module>samples</module>
         <!-- <module>webbeans-tck</module>-->
@@ -549,13 +549,6 @@
 
                         <dependency>
                                 <groupId>org.apache.openwebbeans</groupId>
-                                <artifactId>openwebbeans-geronimo</artifactId>
-                                <version>${openwebbeans.version}</version>
-                        </dependency>
-
-
-                        <dependency>
-                                <groupId>org.apache.openwebbeans</groupId>
                                 <artifactId>openwebbeans-ejb</artifactId>
                                 <version>${openwebbeans.version}</version>
                         </dependency>

Modified: openwebbeans/trunk/webbeans-jms/src/main/java/org/apache/webbeans/jms/util/JmsUtil.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-jms/src/main/java/org/apache/webbeans/jms/util/JmsUtil.java?rev=904689&r1=904688&r2=904689&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-jms/src/main/java/org/apache/webbeans/jms/util/JmsUtil.java
(original)
+++ openwebbeans/trunk/webbeans-jms/src/main/java/org/apache/webbeans/jms/util/JmsUtil.java
Sat Jan 30 00:12:13 2010
@@ -143,7 +143,7 @@
             connectionFactoryJndiName = JNDIService.JMS_CONNECTION_FACTORY_JNDI_DEFAULT_VALUE;
         }
         
-        return getJNDIService().getObject(connectionFactoryJndiName, ConnectionFactory.class);
+        return getJNDIService().lookup(connectionFactoryJndiName, ConnectionFactory.class);
     }
     
     public static <T> T getInstanceFromJndi(JMSModel jmsModel, Class<T> jmsClass)
@@ -151,7 +151,7 @@
         String jndiName = jmsModel.isJndiNameDefined() ? jmsModel.getJndiName() : jmsModel.getMappedName();
         
          
-        T instance = getJNDIService().getObject(jndiName, jmsClass);
+        T instance = getJNDIService().lookup(jndiName, jmsClass);
         
         return instance;
         



Mime
View raw message