1 23 24 29 30 package com.sun.enterprise.tools.upgrade.cluster; 31 32 36 import java.util.*; 37 public class IIOPServerInstance { 38 39 private String name; 40 private List iiopEndPoints; 41 42 43 public IIOPServerInstance(String name) { 44 this.name = name; 45 } 46 public void addIIOPEndPoint(String id, String host, String port){ 47 if(this.iiopEndPoints == null) 48 this.iiopEndPoints = new ArrayList(); 49 this.iiopEndPoints.add(new IIOPEndPoint(id,host,port)); 50 } 51 public List getIIOPEndPoints(){ 52 return this.iiopEndPoints; 53 } 54 public String getName(){ 55 return name; 56 } 57 } 58 | Popular Tags |