1 22 package org.jboss.system.metadata; 23 24 30 public class ServiceDeploymentClassPath 31 { 32 33 private String codeBase; 34 35 36 private String archives; 37 38 45 public ServiceDeploymentClassPath(String codeBase, String archives) 46 { 47 if (codeBase == null) 48 throw new IllegalArgumentException ("Null codebase"); 49 this.codeBase = codeBase; 50 this.archives = archives; 51 } 52 53 58 public String getArchives() 59 { 60 return archives; 61 } 62 63 68 public void setArchives(String archives) 69 { 70 this.archives = archives; 71 } 72 73 78 public String getCodeBase() 79 { 80 return codeBase; 81 } 82 83 89 public void setCodeBase(String codeBase) 90 { 91 if (codeBase == null) 92 throw new IllegalArgumentException ("Null codebase"); 93 this.codeBase = codeBase; 94 } 95 } 96 | Popular Tags |