Package org.hivedb.services

Examples of org.hivedb.services.ServiceContainer


    }, instances));
    return serviceResponse;
  }

  public ServiceContainer createServiceContainer(Object instance, Integer version) {
    ServiceContainer serviceContainer = (ServiceContainer) GeneratedClassFactory.newInstance(serviceContainerClass);
    // Fill the ServiceContainer methods
    GeneratedInstanceInterceptor.setProperty(serviceContainer, "instance", instance);
    GeneratedInstanceInterceptor.setProperty(serviceContainer, "version", version);
    // Create a getter for ServiceContainer implementors (e.g. getWeatherReport() for the WeatherReport class)
    // A strongly-typed method like this is needed by SOAP clients, otherwise getInstance() would suffice.
View Full Code Here


        return createServiceContainer(item, config.getEntityConfig(clazz).getVersion(item));
      }}, instances));
    return serviceResponse;
  }
  public ServiceContainer createServiceContainer(Object instance, Integer version) {
    ServiceContainer serviceContainer = (ServiceContainer) GeneratedClassFactory.newInstance(containerClass);
    GeneratedInstanceInterceptor.setProperty(serviceContainer, "instance", instance);
    GeneratedInstanceInterceptor.setProperty(serviceContainer, "version", version);
    return serviceContainer;
  }
View Full Code Here

TOP

Related Classes of org.hivedb.services.ServiceContainer

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.