Package de.innovationgate.webgate.api.modules.dbs

Examples of de.innovationgate.webgate.api.modules.dbs.DatabaseProperties


        return options;

    }

    public Object getProperties() {
        DatabaseProperties props = new DatabaseProperties();
        props.addServerDatabaseRetriever(new JDBCServerDatabaseRetriever());
        props.addServerDatabaseRetriever(new JNDIServerDatabaseRetriever());
        return props;
    }
View Full Code Here


    public String getDescription(Locale locale) {
        return _bundleLoader.getBundle(locale).getString("db.description");
    }

    public Object getProperties() {
       DatabaseProperties props = new DatabaseProperties();
       props.addServerDatabaseRetriever(new MySqlServerDatabaseRetriever(true));
       props.addServerDatabaseRetriever(new JNDIServerDatabaseRetriever());
       props.setSelfPersonalizable(true);
       return props;
    }
View Full Code Here

        return options;

    }

    public Object getProperties() {
        DatabaseProperties props = new DatabaseProperties();
        props.addServerDatabaseRetriever(new MySqlServerDatabaseRetriever(false));
        props.addServerDatabaseRetriever(new JNDIServerDatabaseRetriever());
        return props;
    }
View Full Code Here

    }
   
    public static ServerDatabaseRetriever fetchServerDatabaseRetriever(ModuleDefinition dbModuleDef, Class serverClass) throws ModuleDependencyException {
       
        // Find the database retriever for this server
        DatabaseProperties props = (DatabaseProperties) dbModuleDef.getProperties();
        Iterator<ServerDatabaseRetriever> retrievers = props.getServerDatabaseRetrievers().iterator();
        ServerDatabaseRetriever retriever = null;
        while (retrievers.hasNext()) {
            ServerDatabaseRetriever serverDatabaseRetriever = (ServerDatabaseRetriever) retrievers.next();
            if (serverDatabaseRetriever.getDatabaseServerType().isAssignableFrom(serverClass)) {
                retriever = serverDatabaseRetriever;
View Full Code Here

TOP

Related Classes of de.innovationgate.webgate.api.modules.dbs.DatabaseProperties

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.