Ulrich Meis wrote:
> 3. a new abstract class
>
> abstract PGSSLHandler extends SSLSocketFactory {
>
> public void setPGURL(String url_no_parameters);
> public void setPGargs(String args);
>
> }
You don't need this class. Just require that the named factory class
implements SSLSocketFactory and has a ctor that takes two Strings.
Otherwise it looks fine. I wouldn't worry about the DataSource piece for
the moment.. if you have the ability to pass args to the constructed
class via a URL or properties file it is less of an issue.
-O