Examples of ServiceTemplate


Examples of net.jini.core.lookup.ServiceTemplate

  lookupTmpl = new ServiceTemplate[nClasses];
        k = 0;
  for(j=0; j<nClasses; j++) {
            n = j%attrsLen;
      lookupTmpl[j] = new ServiceTemplate(null,null,attrArray[n]);
            for (i=0;i<nInstancesPerClass;i++) {
    srvcRegs[k].addAttributes(attrArray[n]);
                k++;
      }
  }
View Full Code Here

Examples of net.jini.core.lookup.ServiceTemplate

    protected ServiceTemplate getServiceTemplate()
                                               throws ClassNotFoundException
    {
        Class c = Class.forName
        ("com.sun.jini.test.spec.servicediscovery.AbstractBaseTest$TestService");
  return new ServiceTemplate(null, new Class[]{c}, null);
    }//end getServiceTemplate
View Full Code Here

Examples of net.juniper.contrail.api.types.ServiceTemplate

        ServiceInstanceType props = siObj.getProperties();
        // TODO: read management network names and cache network objects.
        ObjectReference ref = siObj.getServiceTemplate().get(0);
        if (ref != null) {
            try {
                ServiceTemplate tmpl = (ServiceTemplate)api.findById(ServiceTemplate.class, ref.getUuid());
                _templateId = tmpl.getUuid();
            } catch (IOException ex) {
                s_logger.warn("service-template read", ex);
            }
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.