Class JDBCPersistenceProvider
- java.lang.Object
-
- io.jans.ca.server.persistence.providers.JDBCPersistenceProvider
-
- All Implemented Interfaces:
SqlPersistenceProvider
public class JDBCPersistenceProvider extends java.lang.Object implements SqlPersistenceProvider
-
-
Constructor Summary
Constructors Constructor Description JDBCPersistenceProvider(ConfigurationService configurationService)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JDBCConfigurationasJDBCConfiguration(RpServerConfiguration configuration)java.sql.ConnectiongetConnection()voidonCreate()voidonDestroy()
-
-
-
Constructor Detail
-
JDBCPersistenceProvider
public JDBCPersistenceProvider(ConfigurationService configurationService)
-
-
Method Detail
-
onCreate
public void onCreate()
- Specified by:
onCreatein interfaceSqlPersistenceProvider
-
onDestroy
public void onDestroy()
- Specified by:
onDestroyin interfaceSqlPersistenceProvider
-
getConnection
public java.sql.Connection getConnection() throws java.sql.SQLException- Specified by:
getConnectionin interfaceSqlPersistenceProvider- Throws:
java.sql.SQLException
-
asJDBCConfiguration
public static JDBCConfiguration asJDBCConfiguration(RpServerConfiguration configuration) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-