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 JDBCConfiguration
asJDBCConfiguration(RpServerConfiguration configuration)
java.sql.Connection
getConnection()
void
onCreate()
void
onDestroy()
-
-
-
Constructor Detail
-
JDBCPersistenceProvider
public JDBCPersistenceProvider(ConfigurationService configurationService)
-
-
Method Detail
-
onCreate
public void onCreate()
- Specified by:
onCreate
in interfaceSqlPersistenceProvider
-
onDestroy
public void onDestroy()
- Specified by:
onDestroy
in interfaceSqlPersistenceProvider
-
getConnection
public java.sql.Connection getConnection() throws java.sql.SQLException
- Specified by:
getConnection
in interfaceSqlPersistenceProvider
- Throws:
java.sql.SQLException
-
asJDBCConfiguration
public static JDBCConfiguration asJDBCConfiguration(RpServerConfiguration configuration) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-