class ServiceCatalogExtensionAdapter implements ExtensionAdapter<ServiceCatalogClient> {

  @Override
  public Class<ServiceCatalogClient> getExtensionType() {
    return ServiceCatalogClient.class;
  }

  @Override
  public ServiceCatalogClient adapt(Client client) {
    return new DefaultServiceCatalogClient(client);
  }

  @Override
  public void registerResources(ResourceFactory factory) {<FILL_FUNCTION_BODY>}
}

    factory.register(ClusterServiceBroker.class, new ClusterServiceBrokerOperationsImpl());
    factory.register(ClusterServiceClass.class, new ClusterServiceClassOperationsImpl());
    factory.register(ClusterServicePlan.class, new ClusterServicePlanOperationsImpl());
    factory.register(ServiceBinding.class, new ServiceBindingOperationsImpl());
    factory.register(ServiceInstance.class, new ServiceInstanceOperationsImpl());
  
<no_super_class>