geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r618868 - /geronimo/samples/branches/2.1/samples/dbtester/dbtester-war/src/main/java/org/apache/geronimo/samples/dbtester/beans/DBManagerBean.java
Date Wed, 06 Feb 2008 03:45:18 GMT
Author: gawor
Date: Tue Feb  5 19:45:18 2008
New Revision: 618868

URL: http://svn.apache.org/viewvc?rev=618868&view=rev
Log:
fix build problem in dbtester sample

Modified:
    geronimo/samples/branches/2.1/samples/dbtester/dbtester-war/src/main/java/org/apache/geronimo/samples/dbtester/beans/DBManagerBean.java

Modified: geronimo/samples/branches/2.1/samples/dbtester/dbtester-war/src/main/java/org/apache/geronimo/samples/dbtester/beans/DBManagerBean.java
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/2.1/samples/dbtester/dbtester-war/src/main/java/org/apache/geronimo/samples/dbtester/beans/DBManagerBean.java?rev=618868&r1=618867&r2=618868&view=diff
==============================================================================
--- geronimo/samples/branches/2.1/samples/dbtester/dbtester-war/src/main/java/org/apache/geronimo/samples/dbtester/beans/DBManagerBean.java
(original)
+++ geronimo/samples/branches/2.1/samples/dbtester/dbtester-war/src/main/java/org/apache/geronimo/samples/dbtester/beans/DBManagerBean.java
Tue Feb  5 19:45:18 2008
@@ -32,7 +32,6 @@
 
 import javax.sql.DataSource;
 
-import org.apache.geronimo.connector.outbound.ConnectionFactorySource;
 import org.apache.geronimo.gbean.AbstractName;
 import org.apache.geronimo.gbean.AbstractNameQuery;
 import org.apache.geronimo.kernel.GBeanNotFoundException;
@@ -40,6 +39,7 @@
 import org.apache.geronimo.kernel.Kernel;
 import org.apache.geronimo.kernel.KernelRegistry;
 import org.apache.geronimo.kernel.NoSuchOperationException;
+import org.apache.geronimo.naming.ResourceSource;
 
 public class DBManagerBean {
 	
@@ -53,7 +53,7 @@
 	
 	private void init(){
 		Kernel kernel = KernelRegistry.getSingleKernel();
-		Set cfList = kernel.listGBeans(new AbstractNameQuery(ConnectionFactorySource.class.getName()));
+		Set cfList = kernel.listGBeans(new AbstractNameQuery(ResourceSource.class.getName()));
 		
 		for(Iterator iterator = cfList.iterator();iterator.hasNext();){
 



Mime
View raw message