class ListServiceInstances {
  private static final Logger logger = LoggerFactory.getLogger(ListServiceInstances.class.getSimpleName());

  public static void main(String[] args) {<FILL_FUNCTION_BODY>}
}

    ServiceCatalogClient client = ClientFactory.newClient(args);
    ServiceInstanceList list = client.serviceInstances().inNamespace("iocanel").list();

    logger.info("Listing Service Instances:");
    list.getItems()
        .forEach(b -> logger.info(b.getMetadata().getName()));

    logger.info("Done");
  
<no_super_class>