Package net.jini.lookup.entry

Examples of net.jini.lookup.entry.NameBean.makeLink()


  private String getServiceName(ServiceItem item)
  {
    for(int i = 0; i < item.attributeSets.length; i++) {
      if(item.attributeSets[i] instanceof Name) {
        NameBean bean = new NameBean();
        bean.makeLink(item.attributeSets[i]);
        return bean.getName();
      }
    }
    return item.service.getClass().getName();
  }
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.