1 7 package org.jboss.web.tomcat.tc5; 8 9 import javax.management.ObjectName ; 10 11 import org.jboss.security.plugins.JaasSecurityManagerServiceMBean; 12 13 19 public class DeployerConfig 20 { 21 24 private ClassLoader serviceClassLoader; 25 28 private String catalinaDomain = "Catalina"; 29 30 34 private String managerClass = "org.jboss.web.tomcat.tc5.session.JBossManager"; 35 36 39 private String cacheName = "jboss.cache:service=TreeCache"; 40 41 44 private String contextClassName; 45 48 private boolean java2ClassLoadingCompliance = false; 49 52 private boolean unpackWars = true; 53 57 private boolean lenientEjbLink = false; 58 61 private ObjectName serviceName; 62 65 private int debugLevel; 66 69 private boolean useJBossWebLoader = true; 70 74 private boolean deleteWorkDirs = true; 75 79 private String snapshotMode = "instant"; 83 private int snapshotInterval = 1000; 84 85 88 private boolean useLocalCache; 89 90 95 private boolean useJK = false; 96 97 100 private String subjectAttributeName = null; 101 104 private String defaultSecurityDomain; 105 106 private String [] filteredPackages; 107 108 111 private boolean allowSelfPrivilegedWebApps = false; 112 113 private JaasSecurityManagerServiceMBean secMgrService; 114 115 public ClassLoader getServiceClassLoader() 116 { 117 return serviceClassLoader; 118 } 119 120 public void setServiceClassLoader(ClassLoader serviceClassLoader) 121 { 122 this.serviceClassLoader = serviceClassLoader; 123 } 124 125 public String getManagerClass() 126 { 127 return managerClass; 128 } 129 130 public void setManagerClass(String managerClass) 131 { 132 this.managerClass = managerClass; 133 } 134 135 public String getCacheName() 136 { 137 return cacheName; 138 } 139 140 public void setCacheName(String cacheName) 141 { 142 this.cacheName = cacheName; 143 } 144 145 public String getCatalinaDomain() 146 { 147 return catalinaDomain; 148 } 149 150 public void setCatalinaDomain(String catalinaDomain) 151 { 152 this.catalinaDomain = catalinaDomain; 153 } 154 155 public String getContextClassName() 156 { 157 return contextClassName; 158 } 159 160 public void setContextClassName(String contextClassName) 161 { 162 this.contextClassName = contextClassName; 163 } 164 165 public boolean isJava2ClassLoadingCompliance() 166 { 167 return java2ClassLoadingCompliance; 168 } 169 170 public void setJava2ClassLoadingCompliance(boolean java2ClassLoadingCompliance) 171 { 172 this.java2ClassLoadingCompliance = java2ClassLoadingCompliance; 173 } 174 175 public boolean isUnpackWars() 176 { 177 return unpackWars; 178 } 179 180 public void setUnpackWars(boolean unpackWars) 181 { 182 this.unpackWars = unpackWars; 183 } 184 185 public boolean isLenientEjbLink() 186 { 187 return lenientEjbLink; 188 } 189 190 public void setLenientEjbLink(boolean lenientEjbLink) 191 { 192 this.lenientEjbLink = lenientEjbLink; 193 } 194 195 public ObjectName getServiceName() 196 { 197 return serviceName; 198 } 199 200 public void setServiceName(ObjectName serviceName) 201 { 202 this.serviceName = serviceName; 203 } 204 205 public int getDebugLevel() 206 { 207 return debugLevel; 208 } 209 210 public void setDebugLevel(int debugLevel) 211 { 212 this.debugLevel = debugLevel; 213 } 214 215 public boolean isUseJBossWebLoader() 216 { 217 return useJBossWebLoader; 218 } 219 220 public void setUseJBossWebLoader(boolean useJBossWebLoader) 221 { 222 this.useJBossWebLoader = useJBossWebLoader; 223 } 224 225 public boolean isDeleteWorkDirs() 226 { 227 return deleteWorkDirs; 228 } 229 230 public void setDeleteWorkDirs(boolean deleteWorkDirs) 231 { 232 this.deleteWorkDirs = deleteWorkDirs; 233 } 234 235 public String getSnapshotMode() 236 { 237 return snapshotMode; 238 } 239 240 public void setSnapshotMode(String snapshotMode) 241 { 242 this.snapshotMode = snapshotMode; 243 } 244 245 public int getSnapshotInterval() 246 { 247 return snapshotInterval; 248 } 249 250 public void setSnapshotInterval(int snapshotInterval) 251 { 252 this.snapshotInterval = snapshotInterval; 253 } 254 255 public boolean isUseLocalCache() 256 { 257 return useLocalCache; 258 } 259 260 public void setUseLocalCache(boolean useLocalCache) 261 { 262 this.useLocalCache = useLocalCache; 263 } 264 265 public boolean isUseJK() 266 { 267 return useJK; 268 } 269 270 public void setUseJK(boolean useJK) 271 { 272 this.useJK = useJK; 273 } 274 275 public String getSubjectAttributeName() 276 { 277 return subjectAttributeName; 278 } 279 280 public void setSubjectAttributeName(String subjectAttributeName) 281 { 282 this.subjectAttributeName = subjectAttributeName; 283 } 284 285 292 public String getDefaultSecurityDomain() 293 { 294 return defaultSecurityDomain; 295 } 296 297 305 public void setDefaultSecurityDomain(String defaultSecurityDomain) 306 { 307 this.defaultSecurityDomain = defaultSecurityDomain; 308 } 309 310 public boolean isAllowSelfPrivilegedWebApps() 311 { 312 return allowSelfPrivilegedWebApps; 313 } 314 315 public void setAllowSelfPrivilegedWebApps(boolean allowSelfPrivilegedWebApps) 316 { 317 this.allowSelfPrivilegedWebApps = allowSelfPrivilegedWebApps; 318 } 319 public JaasSecurityManagerServiceMBean getSecurityManagerService() 320 { 321 return secMgrService; 322 } 323 public void setSecurityManagerService(JaasSecurityManagerServiceMBean mgr) 324 { 325 this.secMgrService = mgr; 326 } 327 328 public String [] getFilteredPackages() 329 { 330 return filteredPackages; 331 } 332 public void setFilteredPackages(String [] filteredPackages) 333 { 334 this.filteredPackages = filteredPackages; 335 } 336 } 337 | Popular Tags |