|
Openfire 3.4.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.database.SchemaManager
public class SchemaManager
Manages database schemas for Openfire and Openfire plugins. The manager uses the jiveVersion database table to figure out which database schema is currently installed and then attempts to automatically apply database schema changes as necessary.
Running database schemas automatically requires appropriate database permissions. Without those permissions, the automatic installation/upgrade process will fail and users will be prompted to apply database changes manually.
DbConnectionManager.getSchemaManager()
Method Summary | |
---|---|
boolean |
checkOpenfireSchema(Connection con)
Checks the Openfire database schema to ensure that it's installed and up to date. |
boolean |
checkPluginSchema(Plugin plugin)
Checks the plugin's database schema (if one is required) to ensure that it's installed and up to date. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean checkOpenfireSchema(Connection con)
con
- a connection to the database.
public boolean checkPluginSchema(Plugin plugin)
plugin
- the plugin.
|
Openfire 3.4.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |