private static void execute(final String[] args) throws Exception {
  List<String> instances;
  if (args.length > 0) {
    instances=Arrays.asList(args);
  }
 else {
    instances=ConfProxyHelper.availableInstances();
  }
  for (  String instance : instances) {
    try {
      ConfProxy proxy=new ConfProxy(instance);
      proxy.execute();
    }
 catch (    Exception ex) {
      log.error("Error when executing configuration-proxy '{}': {}",instance,ex);
    }
  }
}

private static void execute ( final String [ ] args ) throws Exception { List < String > instances ; if ( args . length > 0 ) { instances = Arrays . asList ( args ) ; } else { instances = ConfProxyHelper . availableInstances ( ) ; } for ( String instance : instances ) { try { ConfProxy proxy = new ConfProxy ( instance ) ; proxy . execute ( ) ; } catch ( Exception ex ) { log . error ( "Error when executing configuration-proxy '{}': {}" , instance , ex ) ; } } }
executes all configuration proxy instances in sequence .
