Class C3p0JdbcConnectionProvider
java.lang.Object
edu.internet2.middleware.subject.provider.C3p0JdbcConnectionProvider
- All Implemented Interfaces:
GcJdbcConnectionProvider
,JdbcConnectionProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
bean to hold connection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
finalize()
void
init
(Properties properties, String sourceId, String driver, Integer maxActive, int defaultMaxActive, Integer maxIdle, int defaultMaxIdle, Integer maxWaitSeconds, int defaultMaxWaitSeconds, String dbUrl, String dbUser, String dbPassword, Boolean readOnly, boolean readOnlyDefault, String jdbcConfigId) boolean
-
Constructor Details
-
C3p0JdbcConnectionProvider
public C3p0JdbcConnectionProvider()
-
-
Method Details
-
connectionBean
- Specified by:
connectionBean
in interfaceGcJdbcConnectionProvider
- Specified by:
connectionBean
in interfaceJdbcConnectionProvider
- Throws:
SQLException
- See Also:
-
finalize
-
init
public void init(Properties properties, String sourceId, String driver, Integer maxActive, int defaultMaxActive, Integer maxIdle, int defaultMaxIdle, Integer maxWaitSeconds, int defaultMaxWaitSeconds, String dbUrl, String dbUser, String dbPassword, Boolean readOnly, boolean readOnlyDefault, String jdbcConfigId) throws SourceUnavailableException - Specified by:
init
in interfaceGcJdbcConnectionProvider
- Throws:
SourceUnavailableException
- See Also:
-
requiresJdbcConfigInSourcesXml
public boolean requiresJdbcConfigInSourcesXml()- Specified by:
requiresJdbcConfigInSourcesXml
in interfaceGcJdbcConnectionProvider
- See Also:
-