Class DerbySQLDatabaseType
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.core.impl.datasource.StaticSQLDatabaseType
-
- org.ametys.plugins.core.impl.datasource.DerbySQLDatabaseType
-
- All Implemented Interfaces:
SQLDatabaseType
,LogEnabled
,PluginAware
,Configurable
public class DerbySQLDatabaseType extends StaticSQLDatabaseType
Specifically handle Derby connections, allowing to actually shut the database down;
-
-
Field Summary
Fields Modifier and Type Field Description private static String
__DERBY_SHUTDOWN_SUFFIX
-
Fields inherited from class org.ametys.plugins.core.impl.datasource.StaticSQLDatabaseType
_driver, _driverNotFoundMessage, _id, _label, _languageEscapeTableNameTemplate, _languageLimitQueryTemplate, _pluginName, _template, _validationQuery
-
-
Constructor Summary
Constructors Constructor Description DerbySQLDatabaseType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
shutDown(AbstractDataSourceManager.DataSourceDefinition definition)
Shut down a derby database.
This method is static because often called during dispose() process.-
Methods inherited from class org.ametys.plugins.core.impl.datasource.StaticSQLDatabaseType
configure, getBlob, getBlob, getDriver, getDriverNotFoundMessage, getId, getLabel, getTemplate, getValidationQuery, languageEscapeTableName, languageLimitQuery, setBlob, setBlob, setBlob, setPluginInfo
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Field Detail
-
__DERBY_SHUTDOWN_SUFFIX
private static final String __DERBY_SHUTDOWN_SUFFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DerbySQLDatabaseType
public DerbySQLDatabaseType()
-
-
Method Detail
-
shutDown
public static void shutDown(AbstractDataSourceManager.DataSourceDefinition definition)
Shut down a derby database.
This method is static because often called during dispose() process.- Parameters:
definition
- the correspondingAbstractDataSourceManager.DataSourceDefinition
.
-
-