Package com.google.enterprise.connector.util.database

Examples of com.google.enterprise.connector.util.database.DatabaseResourceBundleManager


    if (database == null) {
      throw new IllegalStateException("Must set JdbcDatabase");
    }

    // Locate our SQL DatabaseResourceBundle.
    DatabaseResourceBundleManager mgr = new DatabaseResourceBundleManager();
    resourceBundle = mgr.getResourceBundle(RESOURCE_BUNDLE_NAME,
        database.getResourceBundleExtension(), classLoader);
    if (resourceBundle == null) {
      // TODO: PersistentStore interface methods should be able to throw PersistentStoreExceptions.
      throw new RuntimeException("Failed to load SQL ResourceBundle "
                                 + RESOURCE_BUNDLE_NAME);
View Full Code Here

TOP

Related Classes of com.google.enterprise.connector.util.database.DatabaseResourceBundleManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.