Class SQLDatabaseTypeManager
java.lang.Object
org.ametys.core.datasource.dbtype.SQLDatabaseTypeManager
- All Implemented Interfaces:
Component
,Serviceable
Manager handling the handled SQL database types
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetClassNotFoundMessage
(String driver) Get the class not found message corresponding to a driverRetrieve the available sql drivers and the associated templatesvoid
service
(ServiceManager serviceManager)
-
Field Details
-
ROLE
Avalon Role
-
-
Constructor Details
-
SQLDatabaseTypeManager
public SQLDatabaseTypeManager()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getSQLDatabaseTypes
Retrieve the available sql drivers and the associated templates- Returns:
- the available drivers in JSON
-
getClassNotFoundMessage
Get the class not found message corresponding to a driver- Parameters:
driver
- the driver- Returns:
- the message to use in case the class of the driver was not found
-