jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller" <thomas.tom.muel...@gmail.com>
Subject Re: ConnectionRecoveryManager's extensibility
Date Mon, 21 Apr 2008 09:41:17 GMT

>  In order to support obtaining the connection for the data store from a different DataSource
than the
>  one used in ConnectionFactory (since I'm not using JNDI), or from the DriverManager,
I had to modify
>  ConnectionRecoveryManager to make it extensible.
>  I was wondering why this class is not extensible in the first place.
>  Basically, all that has to be done is make setupConnection() and related fields protected.
>  I would also add a protected constructor that allows to skip the call to setupConnection(),
so it
>  can be called in the derived class' constructor instead.

I don't fully understand your use case, what data source do you use,
and why can't you use the standard way to get a connection?


View raw message