Package simpleloglib.appenders
Class DefaultConnectionFactory
java.lang.Object
simpleloglib.appenders.DefaultConnectionFactory
- All Implemented Interfaces:
ConnectionFactory
Default implementation of
ConnectionFactory
.
I take this from commons-dbcp2 repo examples and adapted to my needs.- Author:
- lunalobos
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DefaultConnectionFactory
-
-
Method Details
-
setupDataSource
-
getConnection
- Specified by:
getConnection
in interfaceConnectionFactory
- Throws:
SQLException
-
toString
-