Constructor and Description |
---|
BukkitDBSystem(Locale locale,
MySQLDB mySQLDB,
SQLiteDB.Factory sqLiteDB,
H2DB.Factory h2DB,
PlanConfig config,
com.djrapitops.plugin.logging.console.PluginLogger logger,
com.djrapitops.plugin.benchmarking.Timings timings,
com.djrapitops.plugin.logging.error.ErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
void |
enable()
Performs enable actions for the subsystem.
|
disable, getActiveDatabaseByName, getActiveDatabaseByType, getDatabase, getDatabases, getH2Factory, getSqLiteFactory, setActiveDatabase
@Inject public BukkitDBSystem(Locale locale, MySQLDB mySQLDB, SQLiteDB.Factory sqLiteDB, H2DB.Factory h2DB, PlanConfig config, com.djrapitops.plugin.logging.console.PluginLogger logger, com.djrapitops.plugin.benchmarking.Timings timings, com.djrapitops.plugin.logging.error.ErrorHandler errorHandler)
public void enable() throws EnableException
SubSystem
enable
in interface SubSystem
enable
in class DBSystem
EnableException
- If an error occurred during enable and it is fatal to the subsystem.