final protected <T>T configureImpl(Class<T> type) throws ConfigException {
  try {
    T value=type.newInstance();
    InjectContext context=null;
    injectTop(value,context);
    return value;
  }
 catch (  RuntimeException e) {
    throw e;
  }
catch (  Exception e) {
    throw ConfigException.wrap(e);
  }
}

final protected < T > T configureImpl ( Class < T > type ) throws ConfigException { try { T value = type . newInstance ( ) ; InjectContext context = null ; injectTop ( value , context ) ; return value ; } catch ( RuntimeException e ) { throw e ; } catch ( Exception e ) { throw ConfigException . wrap ( e ) ; } }
configures a bean given a class to instantiate .
