geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r912297 - in /geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound: AbstractConnectionManager.java GenericConnectionManager.java
Date Sun, 21 Feb 2010 05:53:35 GMT
Author: djencks
Date: Sun Feb 21 05:53:34 2010
New Revision: 912297

URL: http://svn.apache.org/viewvc?rev=912297&view=rev
Log:
GERONIMO-5152 add back a couple default constructors needed for externalizable support in
subclasses

Modified:
    geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/AbstractConnectionManager.java
    geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/GenericConnectionManager.java

Modified: geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/AbstractConnectionManager.java
URL: http://svn.apache.org/viewvc/geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/AbstractConnectionManager.java?rev=912297&r1=912296&r2=912297&view=diff
==============================================================================
--- geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/AbstractConnectionManager.java
(original)
+++ geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/AbstractConnectionManager.java
Sun Feb 21 05:53:34 2010
@@ -37,11 +37,12 @@
     private final RecoverableTransactionManager transactionManager;
     private final String name;
 
-    //default constructor for use as endpoint
-//    public AbstractConnectionManager() {
-//        interceptors = null;
-//        transactionManager = null;
-//    }
+    //default constructor to support externalizable subclasses
+    public AbstractConnectionManager() {
+        interceptors = null;
+        transactionManager = null;
+        this.name = null;
+    }
 
     public AbstractConnectionManager(Interceptors interceptors, RecoverableTransactionManager
transactionManager, String name) {
         this.interceptors = interceptors;

Modified: geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/GenericConnectionManager.java
URL: http://svn.apache.org/viewvc/geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/GenericConnectionManager.java?rev=912297&r1=912296&r2=912297&view=diff
==============================================================================
--- geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/GenericConnectionManager.java
(original)
+++ geronimo/components/txmanager/trunk/geronimo-connector/src/main/java/org/apache/geronimo/connector/outbound/GenericConnectionManager.java
Sun Feb 21 05:53:34 2010
@@ -36,10 +36,10 @@
 public class GenericConnectionManager extends AbstractConnectionManager {
     protected static final Logger log = LoggerFactory.getLogger(AbstractSinglePoolConnectionInterceptor.class);
 
-    //default constructor for use as endpoint
-//    public GenericConnectionManager() {
-//        super();
-//    }
+    //default constructor to support externalizable subclasses
+    public GenericConnectionManager() {
+        super();
+    }
 
     /**
      *



Mime
View raw message