geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1165007 - /geronimo/server/trunk/framework/modules/geronimo-jdbc/src/main/java/org/apache/geronimo/jdbc/DatabaseDriverExtender.java
Date Sun, 04 Sep 2011 12:35:16 GMT
Author: xuhaihong
Date: Sun Sep  4 12:35:15 2011
New Revision: 1165007

URL: http://svn.apache.org/viewvc?rev=1165007&view=rev
Log:
Comment out the codes for adding bundle listener

Modified:
    geronimo/server/trunk/framework/modules/geronimo-jdbc/src/main/java/org/apache/geronimo/jdbc/DatabaseDriverExtender.java

Modified: geronimo/server/trunk/framework/modules/geronimo-jdbc/src/main/java/org/apache/geronimo/jdbc/DatabaseDriverExtender.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-jdbc/src/main/java/org/apache/geronimo/jdbc/DatabaseDriverExtender.java?rev=1165007&r1=1165006&r2=1165007&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-jdbc/src/main/java/org/apache/geronimo/jdbc/DatabaseDriverExtender.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-jdbc/src/main/java/org/apache/geronimo/jdbc/DatabaseDriverExtender.java
Sun Sep  4 12:35:15 2011
@@ -46,14 +46,14 @@ public class DatabaseDriverExtender impl
 
     private BundleTracker tracker;
 
-    private JdbcLeakPreventionListener jdbcPreventionListener;
+    //private JdbcLeakPreventionListener jdbcPreventionListener;
 
     public void start(BundleContext context) throws Exception {
         tracker = new BundleTracker(context, Bundle.ACTIVE, new DriverBundleTrackerCustomizer());
         tracker.open();
 
         //jdbcPreventionListener = new JdbcLeakPreventionListener();
-        context.addBundleListener(jdbcPreventionListener);
+        //context.addBundleListener(jdbcPreventionListener);
     }
 
     public void stop(BundleContext context) throws Exception {



Mime
View raw message