Package com.github.couchapptakeout.plugins

Examples of com.github.couchapptakeout.plugins.Plugin


    }


    protected void startPlugin(Class plugin, CouchDbConnector connector, CouchDbInstance couchDBInstance ) {
        try {
            Plugin instance = (Plugin)plugin.newInstance();

            // a little lame. Calling the default couchmanager? huh?
            File workingDir = createPluginWorkingDirectory(plugin, DefaultCouchManager.getWorkingDir());
            instance.start(connector, couchDBInstance, workingDir);
        } catch (Exception ex) {
            Logger.getLogger(App.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
View Full Code Here

TOP

Related Classes of com.github.couchapptakeout.plugins.Plugin

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.