Class GrouperJdbcConnectionProvider
java.lang.Object
edu.internet2.middleware.grouper.subj.GrouperJdbcConnectionProvider
- All Implemented Interfaces:
GcJdbcConnectionProvider
,JdbcConnectionProvider
provide connections to source api from the grouper hibernate settings
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
TODO at the beginning of a release (e.g.static class
bean to hold connection -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 theJdbcConfigId) boolean
-
Constructor Details
-
GrouperJdbcConnectionProvider
public GrouperJdbcConnectionProvider()
-
-
Method Details
-
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 theJdbcConfigId) throws SourceUnavailableException - Specified by:
init
in interfaceGcJdbcConnectionProvider
- Throws:
SourceUnavailableException
- See Also:
-
connectionBean
- Specified by:
connectionBean
in interfaceGcJdbcConnectionProvider
- Specified by:
connectionBean
in interfaceJdbcConnectionProvider
- Throws:
SQLException
- See Also:
-
requiresJdbcConfigInSourcesXml
public boolean requiresJdbcConfigInSourcesXml()- Specified by:
requiresJdbcConfigInSourcesXml
in interfaceGcJdbcConnectionProvider
- See Also:
-