1 17 package org.apache.geronimo.j2ee; 18 19 import java.util.Set ; 20 import java.util.LinkedHashSet ; 21 22 import org.apache.geronimo.kernel.config.ConfigurationModuleType; 23 import org.apache.geronimo.kernel.repository.Environment; 24 import org.apache.geronimo.gbean.AbstractName; 25 import org.apache.xmlbeans.XmlObject; 26 27 30 public class ApplicationInfo { 31 private ConfigurationModuleType type; 32 private Environment environment; 33 private AbstractName baseName; 34 private XmlObject specDD; 35 private XmlObject vendorDD; 36 private LinkedHashSet modules; 37 private Set moduleLocations; 38 private String originalSpecDD; 39 40 public ApplicationInfo() { 41 } 42 43 public ApplicationInfo(ConfigurationModuleType type, Environment environment, AbstractName baseName, XmlObject specDD, XmlObject vendorDD, LinkedHashSet modules, Set moduleLocations, String originalSpecDD) { 44 assert type != null; 45 assert environment != null; 46 assert modules != null; 47 assert moduleLocations != null; 48 49 this.type = type; 50 this.environment = environment; 51 this.baseName = baseName; 52 this.specDD = specDD; 53 this.vendorDD = vendorDD; 54 this.modules = modules; 55 this.moduleLocations = moduleLocations; 56 this.originalSpecDD = originalSpecDD; 57 } 58 59 public ConfigurationModuleType getType() { 60 return type; 61 } 62 63 public void setType(ConfigurationModuleType type) { 64 this.type = type; 65 } 66 67 public Environment getEnvironment() { 68 return environment; 69 } 70 71 public void setEnvironment(Environment environment) { 72 this.environment = environment; 73 } 74 75 public AbstractName getBaseName() { 76 return baseName; 77 } 78 79 public void setBaseName(AbstractName baseName) { 80 this.baseName = baseName; 81 } 82 83 public XmlObject getVendorDD() { 84 return vendorDD; 85 } 86 87 public void setVendorDD(XmlObject vendorDD) { 88 this.vendorDD = vendorDD; 89 } 90 91 public XmlObject getSpecDD() { 92 return specDD; 93 } 94 95 public void setSpecDD(XmlObject specDD) { 96 this.specDD = specDD; 97 } 98 99 public LinkedHashSet getModules() { 100 return modules; 101 } 102 103 public void setModules(LinkedHashSet modules) { 104 this.modules = modules; 105 } 106 107 public Set getModuleLocations() { 108 return moduleLocations; 109 } 110 111 public void setModuleLocations(Set moduleLocations) { 112 this.moduleLocations = moduleLocations; 113 } 114 115 public String getOriginalSpecDD() { 116 return originalSpecDD; 117 } 118 119 public void setOriginalSpecDD(String originalSpecDD) { 120 this.originalSpecDD = originalSpecDD; 121 } 122 } 123 | Popular Tags |