Skip to content
Permalink
Browse files
GERONIMO-5152 add back a couple default constructors needed for exter…
…nalizable support in subclasses

git-svn-id: https://svn.apache.org/repos/asf/geronimo/components/txmanager/trunk@912297 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
djencks committed Feb 21, 2010
1 parent 55e1904 commit a05b1a48b0f94eda5eaaa32411b423c6430b6eac
Showing 2 changed files with 10 additions and 9 deletions.
@@ -37,11 +37,12 @@ public abstract class AbstractConnectionManager implements ConnectionManagerCont
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;
@@ -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();
}

/**
*

0 comments on commit a05b1a4

Please sign in to comment.