Constructor and Description |
---|
NukkitDBSystem(Locale locale,
MySQLDB mySQLDB,
SQLiteDB.Factory sqLiteDB,
H2DB.Factory h2DB,
PlanConfig config,
com.djrapitops.plugin.logging.console.PluginLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
enable()
Performs enable actions for the subsystem.
|
disable, getActiveDatabaseByName, getActiveDatabaseByType, getDatabase, getDatabases, getH2Factory, getSqLiteFactory, setActiveDatabase
@Inject public NukkitDBSystem(Locale locale, MySQLDB mySQLDB, SQLiteDB.Factory sqLiteDB, H2DB.Factory h2DB, PlanConfig config, com.djrapitops.plugin.logging.console.PluginLogger logger)
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.