Example #1
0
  protected static <E> E getProperty(
      final Properties properties,
      final String name,
      final String defaultValue,
      IValidator<E> validator) {

    return Configuration.getProperty(
        null, properties, "" /* no namespace */, name, defaultValue, validator);
  }
Example #2
0
  public final <T> T getProperty(
      final String name, final String defaultValue, final IValidator<T> validator) {

    // @todo pass namespace in with the IJoinNexusFactory?
    return Configuration.getProperty(
        indexManager,
        joinNexusFactory.getProperties(),
        null /* namespace */,
        name,
        defaultValue,
        validator);
  }
Example #3
0
  protected static String getProperty(
      final Properties properties, final String name, final String defaultValue) {

    return Configuration.getProperty(
        null /* indexManager */, properties, "" /* no namespace */, name, defaultValue);
  }