@Override
                public InputStream loadResource(String resourceName) {
                    File file = new File(pluginManager.getPluginPath(plugin) +
                            File.separator + "database", resourceName);
                    try {
                        return new FileInputStream(file);
                    }
                    catch (FileNotFoundException e) {
                        return null;
                    }
                }
Checks the plugin's database schema (if one is required) to ensure that it's
installed and up to date. If the schema isn't present or up to date, an automatic
update will be attempted.

@param plugin the plugin.
@return true if database schema checked out fine, or was automatically installed
     or updated successfully, or if it isn't needed. False will only be returned
     if there is an error.
xmppserver/src/main/java/org/jivesoftware/database/SchemaManager.java