1 4 package org.oddjob.jmx.server; 5 6 import java.io.Serializable ; 7 8 public class ServerInfo implements Serializable { 9 private static final long serialVersionUID = 20051117; 10 11 private final String id; 12 private final String url; 13 private final String consoleId; 14 private final Class [] interfaces; 15 private final boolean registryOwner; 16 private final String childId; 17 18 public ServerInfo(String id, 19 String url, 20 String consoleId, 21 Class [] interfaces, 22 boolean registryOwner, 23 String childId) { 24 this.id = id; 25 this.url = url; 26 this.consoleId = consoleId; 27 this.interfaces = interfaces; 28 this.registryOwner = registryOwner; 29 this.childId = childId; 30 } 31 32 public String getConsoleId() { 33 return consoleId; 34 } 35 36 public String getId() { 37 return id; 38 } 39 40 public Class [] getInterfaces() { 41 return interfaces; 42 } 43 44 public boolean isRegistryOwner() { 45 return registryOwner; 46 } 47 48 public String getUrl() { 49 return url; 50 } 51 52 public String getChildId() { 53 return childId; 54 } 55 56 57 58 } 59 | Popular Tags |