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

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


       
        List<ModuleDefinition> dbTypes = new ArrayList<ModuleDefinition>();
        Iterator<ModuleDefinition> allDbTypes = getModulesForType(ContentDatabaseModuleType.class).values().iterator();
        while (allDbTypes.hasNext()) {
            ModuleDefinition moduleDefinition = (ModuleDefinition) allDbTypes.next();
            DatabaseProperties props = (DatabaseProperties) moduleDefinition.getProperties();
            Iterator<ServerDatabaseRetriever> retrievers = props.getServerDatabaseRetrievers().iterator();
            while (retrievers.hasNext()) {
                ServerDatabaseRetriever serverDatabaseRetriever = (ServerDatabaseRetriever) retrievers.next();
                if (server.getClass().isAssignableFrom(serverDatabaseRetriever.getDatabaseServerType())) {
                    dbTypes.add(moduleDefinition);
                    break;
View Full Code Here


    public Class<? extends Object> getImplementationClass() {
        return WGDatabaseImpl.class;
    }

    public Object getProperties() {
        DatabaseProperties props = new DatabaseProperties();
        props.addServerDatabaseRetriever(new HsqlServerDatabaseRetriever(getImplementationClass()));
        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 HsqlServerDatabaseRetriever(getImplementationClass()));
       props.setSelfPersonalizable(true);
       return props;
    }
View Full Code Here

       
        return options;
    }

    public Object getProperties() {
       DatabaseProperties props = new DatabaseProperties();
       props.addServerDatabaseRetriever(new JDBCServerDatabaseRetriever());
       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 JDBCServerDatabaseRetriever());
        props.addServerDatabaseRetriever(new JNDIServerDatabaseRetriever());
        return props;
    }
View Full Code Here

        return options;

    }

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

        return WGDatabaseImpl.class;
    }


    public Object getProperties() {
        DatabaseProperties props = new DatabaseProperties();
        props.addServerDatabaseRetriever(new MySqlServerDatabaseRetriever(true));
        props.addServerDatabaseRetriever(new JNDIServerDatabaseRetriever());
        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 Class<? extends Object> getImplementationClass() {
        return WGDatabaseImpl.class;
    }

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

        return options;

    }

    public Object getProperties() {
        DatabaseProperties props = new DatabaseProperties();
        props.addServerDatabaseRetriever(new HsqlServerDatabaseRetriever(getImplementationClass()));
        return props;
    }
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.