Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 4 package com.nightlabs.ipanema.server; 5 6 import java.io.Serializable ; 7 8 import com.nightlabs.jdo.BaseObjectID; 9 10 20 public class Server implements Serializable  21 { 22 public static final String J2EESERVERTYPE_JBOSS32X = "jboss_32x"; 23 public static final String J2EESERVERTYPE_JBOSS40X = "jboss_40x"; 24 25 public Server() { } 26 27 public Server(String _serverID) 28 { 29 if (!BaseObjectID.isValidIDString(_serverID)) 30 throw new IllegalArgumentException ("serverID \""+_serverID+"\" is not a valid id!"); 31 this.serverID = _serverID; 32 } 33 34 38 private String serverID; 39 40 43 public String getServerID() { 44 return serverID; 45 } 46 47 52 private String serverName; 53 54 57 public String getServerName() { 58 return serverName; 59 } 60 61 64 public void setServerName(String serverName) { 65 this.serverName = serverName; 66 } 67 68 73 private String j2eeServerType; 74 75 86 public String getJ2eeServerType() 87 { 88 return j2eeServerType; 89 } 90 94 public void setJ2eeServerType(String serverType) 95 { 96 this.j2eeServerType = serverType; 97 } 98 99 101 private String initialContextURL = "jnp://localhost:1099"; 102 103 117 120 public String getInitialContextURL() { 121 return initialContextURL; 122 } 123 124 127 public void setInitialContextURL(String initialContextURL) { 128 this.initialContextURL = initialContextURL; 129 } 130 131 } 132
| Popular Tags
|