Examples of SimpleConfiguration


Examples of com.sun.tools.javac.util.AbstractDiagnosticFormatter.SimpleConfiguration

    /**
     * Create a formatter based on the supplied options.
     * @param options
     */
    public RawDiagnosticFormatter(Options options) {
        super(null, new SimpleConfiguration(options,
                EnumSet.of(DiagnosticPart.SUMMARY,
                        DiagnosticPart.DETAILS,
                        DiagnosticPart.SUBDIAGNOSTICS)));
    }
View Full Code Here

Examples of com.sun.tools.javac.util.AbstractDiagnosticFormatter.SimpleConfiguration

    /**
     * Create a formatter based on the supplied options.
     * @param msgs
     */
    public RawDiagnosticFormatter(Options options) {
        super(null, new SimpleConfiguration(options,
                EnumSet.of(DiagnosticPart.SUMMARY,
                        DiagnosticPart.DETAILS,
                        DiagnosticPart.SUBDIAGNOSTICS)));
    }
View Full Code Here

Examples of com.sun.tools.javac.util.AbstractDiagnosticFormatter.SimpleConfiguration

     * arg types.
     */
    static class ArgTypeDiagnosticFormatter extends AbstractDiagnosticFormatter {

        ArgTypeDiagnosticFormatter(Options options) {
            super(null, new SimpleConfiguration(options,
                    EnumSet.of(DiagnosticPart.SUMMARY,
                    DiagnosticPart.DETAILS,
                    DiagnosticPart.SUBDIAGNOSTICS)));
        }
View Full Code Here

Examples of org.dayatang.configuration.impl.SimpleConfiguration

    dbInfo.setUsername("root");
    return dbInfo;
  }

  private Configuration createDbMappings() {
    Configuration result = new SimpleConfiguration();
    result.setString("abc", "ABC123");
    result.setString("xyz", "XYZ123");
    return result;
  }
View Full Code Here

Examples of org.dayatang.configuration.impl.SimpleConfiguration

    instance.setTenantDbMapping(tenantDbMappings);
   
  }

  private Configuration createDsConfiguration() {
    Configuration result = new SimpleConfiguration();
    result.setString(Constants.JDBC_HOST, "localhost");
    result.setString(Constants.JDBC_PORT, "3306");
    result.setString(Constants.JDBC_DB_NAME, "test_db");
    result.setString(Constants.JDBC_INSTANCE, "XE");
    result.setString(Constants.JDBC_EXTRA_URL_STRING, "useUnicode=true&characterEncoding=utf-8");
    result.setString(Constants.JDBC_USERNAME, "root");
    result.setString(Constants.JDBC_PASSWORD, "1234");
    result.setInt("initialSize", 100);
    return result;
  }
View Full Code Here

Examples of org.dayatang.configuration.impl.SimpleConfiguration

    result.setInt("initialSize", 100);
    return result;
  }

  private Configuration createDbMappings() {
    Configuration result = new SimpleConfiguration();
    result.setString("abc", "DB_ABC");
    result.setString("xyz", "DB_XYZ");
    return result;
  }
View Full Code Here

Examples of org.dayatang.configuration.impl.SimpleConfiguration

    instance.setTenantDbMapping(tenantDbMappings);
   
  }

  private Configuration createDsConfiguration() {
    Configuration result = new SimpleConfiguration();
    result.setString(Constants.JDBC_HOST, "localhost");
    result.setString(Constants.JDBC_PORT, "3306");
    result.setString(Constants.JDBC_DB_NAME, "test_db");
    result.setString(Constants.JDBC_INSTANCE, "XE");
    result.setString(Constants.JDBC_EXTRA_URL_STRING, "useUnicode=true&characterEncoding=utf-8");
    result.setString(Constants.JDBC_USERNAME, "root");
    result.setString(Constants.JDBC_PASSWORD, "1234");
    result.setInt("minPoolSize", 5);
    result.setInt("maxPoolSize", 30);
    result.setInt("initialPoolSize", 10);
    return result;
  }
View Full Code Here

Examples of org.dayatang.configuration.impl.SimpleConfiguration

    result.setInt("initialPoolSize", 10);
    return result;
  }

  private Configuration createDbMappings() {
    Configuration result = new SimpleConfiguration();
    result.setString("abc", "DB_ABC");
    result.setString("xyz", "DB_XYZ");
    return result;
  }
View Full Code Here

Examples of org.dayatang.configuration.impl.SimpleConfiguration

    instance.setTenantDbMapping(tenantDbMappings);
   
  }

  private Configuration createDsConfiguration() {
    Configuration result = new SimpleConfiguration();
    result.setString(Constants.JDBC_HOST, "localhost");
    result.setString(Constants.JDBC_PORT, "3306");
    result.setString(Constants.JDBC_DB_NAME, "test_db");
    result.setString(Constants.JDBC_INSTANCE, "XE");
    result.setString(Constants.JDBC_EXTRA_URL_STRING, "useUnicode=true&characterEncoding=utf-8");
    result.setString(Constants.JDBC_USERNAME, "root");
    result.setString(Constants.JDBC_PASSWORD, "1234");
    result.setInt("maximumConnectionCount", 15);
    return result;
  }
View Full Code Here

Examples of org.dayatang.configuration.impl.SimpleConfiguration

    result.setInt("maximumConnectionCount", 15);
    return result;
  }

  private Configuration createDbMappings() {
    Configuration result = new SimpleConfiguration();
    result.setString("abc", "DB_ABC");
    result.setString("xyz", "DB_XYZ");
    return result;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.