Package eu.planets_project.ifr.core.wdt.impl.registry

Examples of eu.planets_project.ifr.core.wdt.impl.registry.Service


   
    protected List<SelectItem> toSelectItem(List<Service> services) {  
      List<SelectItem> ret = new ArrayList<SelectItem>();     
      logger.fine("toSelectItem services: "+services);
      for(int i=0; i<services.size(); i++ ) {
        Service service = services.get(i);
        //value must be a string - that seems to be a bug
        //ret.add(new SelectItem(service, "label#"+i));
        ret.add(new SelectItem(service.getId(), service.getName(), service.getEndpoint()));
        //logger.debug("select item for: "+service.getId()+" "+ service.getName()+" "+ service.getEndpoint());
      }
      return ret;
    }
View Full Code Here

TOP

Related Classes of eu.planets_project.ifr.core.wdt.impl.registry.Service

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.