Package org.platformlayer.core.model

Examples of org.platformlayer.core.model.ServiceInfoCollection


  public HttpStrategy getHttpStrategy() {
    return httpStrategy;
  }

  public ServiceInfoCollection listServices() {
    ServiceInfoCollection collection = new ServiceInfoCollection();
    collection.services = Lists.newArrayList();
    collection.services.addAll(serviceDictionary.getAllServices());
    return collection;
  }
View Full Code Here


  @Override
  public Collection<ServiceInfo> listServices(boolean allowCache) throws PlatformLayerClientException {
    Collection<ServiceInfo> services = this.services;

    if (!allowCache || services == null) {
      ServiceInfoCollection serviceInfoCollection = opsSystem.listServices();
      services = serviceInfoCollection.services;
      this.services = services;
    }

    return services;
View Full Code Here

  }

  @Override
  public List<ServiceInfo> listServices(boolean allowCache) throws PlatformLayerClientException {
    if (!allowCache || services == null) {
      ServiceInfoCollection ret = doRequest(HttpMethod.GET, "", ServiceInfoCollection.class, Format.XML, null,
          null);
      services = ret.services;
    }

    return services;
View Full Code Here

TOP

Related Classes of org.platformlayer.core.model.ServiceInfoCollection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.