1 22 package org.jboss.web.tomcat.tc6; 23 24 import javax.management.ObjectName ; 25 26 import org.jboss.security.plugins.JaasSecurityManagerServiceMBean; 27 28 34 public class DeployerConfig 35 { 36 39 private ClassLoader serviceClassLoader; 40 43 private String catalinaDomain = "Catalina"; 44 45 49 private String managerClass = "org.jboss.web.tomcat.tc6.session.JBossManager"; 50 51 54 private String cacheName = "jboss.cache:service=TreeCache"; 55 56 59 private String contextClassName; 60 63 private boolean java2ClassLoadingCompliance = false; 64 67 private boolean unpackWars = true; 68 72 private boolean lenientEjbLink = false; 73 76 private ObjectName serviceName; 77 80 private int debugLevel; 81 84 private boolean useJBossWebLoader = true; 85 89 private boolean deleteWorkDirs = true; 90 94 private String snapshotMode = "instant"; 98 private int snapshotInterval = 1000; 99 100 103 private boolean useLocalCache; 104 105 110 private boolean useJK = false; 111 112 115 private String subjectAttributeName = null; 116 119 private String defaultSecurityDomain; 120 121 private String [] filteredPackages; 122 123 126 private boolean allowSelfPrivilegedWebApps = false; 127 128 private JaasSecurityManagerServiceMBean secMgrService; 129 130 public ClassLoader getServiceClassLoader() 131 { 132 return serviceClassLoader; 133 } 134 135 public void setServiceClassLoader(ClassLoader serviceClassLoader) 136 { 137 this.serviceClassLoader = serviceClassLoader; 138 } 139 140 public String getManagerClass() 141 { 142 return managerClass; 143 } 144 145 public void setManagerClass(String managerClass) 146 { 147 this.managerClass = managerClass; 148 } 149 150 public String getCacheName() 151 { 152 return cacheName; 153 } 154 155 public void setCacheName(String cacheName) 156 { 157 this.cacheName = cacheName; 158 } 159 160 public String getCatalinaDomain() 161 { 162 return catalinaDomain; 163 } 164 165 public void setCatalinaDomain(String catalinaDomain) 166 { 167 this.catalinaDomain = catalinaDomain; 168 } 169 170 public String getContextClassName() 171 { 172 return contextClassName; 173 } 174 175 public void setContextClassName(String contextClassName) 176 { 177 this.contextClassName = contextClassName; 178 } 179 180 public boolean isJava2ClassLoadingCompliance() 181 { 182 return java2ClassLoadingCompliance; 183 } 184 185 public void setJava2ClassLoadingCompliance(boolean java2ClassLoadingCompliance) 186 { 187 this.java2ClassLoadingCompliance = java2ClassLoadingCompliance; 188 } 189 190 public boolean isUnpackWars() 191 { 192 return unpackWars; 193 } 194 195 public void setUnpackWars(boolean unpackWars) 196 { 197 this.unpackWars = unpackWars; 198 } 199 200 public boolean isLenientEjbLink() 201 { 202 return lenientEjbLink; 203 } 204 205 public void setLenientEjbLink(boolean lenientEjbLink) 206 { 207 this.lenientEjbLink = lenientEjbLink; 208 } 209 210 public ObjectName getServiceName() 211 { 212 return serviceName; 213 } 214 215 public void setServiceName(ObjectName serviceName) 216 { 217 this.serviceName = serviceName; 218 } 219 220 public int getDebugLevel() 221 { 222 return debugLevel; 223 } 224 225 public void setDebugLevel(int debugLevel) 226 { 227 this.debugLevel = debugLevel; 228 } 229 230 public boolean isUseJBossWebLoader() 231 { 232 return useJBossWebLoader; 233 } 234 235 public void setUseJBossWebLoader(boolean useJBossWebLoader) 236 { 237 this.useJBossWebLoader = useJBossWebLoader; 238 } 239 240 public boolean isDeleteWorkDirs() 241 { 242 return deleteWorkDirs; 243 } 244 245 public void setDeleteWorkDirs(boolean deleteWorkDirs) 246 { 247 this.deleteWorkDirs = deleteWorkDirs; 248 } 249 250 public String getSnapshotMode() 251 { 252 return snapshotMode; 253 } 254 255 public void setSnapshotMode(String snapshotMode) 256 { 257 this.snapshotMode = snapshotMode; 258 } 259 260 public int getSnapshotInterval() 261 { 262 return snapshotInterval; 263 } 264 265 public void setSnapshotInterval(int snapshotInterval) 266 { 267 this.snapshotInterval = snapshotInterval; 268 } 269 270 public boolean isUseLocalCache() 271 { 272 return useLocalCache; 273 } 274 275 public void setUseLocalCache(boolean useLocalCache) 276 { 277 this.useLocalCache = useLocalCache; 278 } 279 280 public boolean isUseJK() 281 { 282 return useJK; 283 } 284 285 public void setUseJK(boolean useJK) 286 { 287 this.useJK = useJK; 288 } 289 290 public String getSubjectAttributeName() 291 { 292 return subjectAttributeName; 293 } 294 295 public void setSubjectAttributeName(String subjectAttributeName) 296 { 297 this.subjectAttributeName = subjectAttributeName; 298 } 299 300 307 public String getDefaultSecurityDomain() 308 { 309 return defaultSecurityDomain; 310 } 311 312 320 public void setDefaultSecurityDomain(String defaultSecurityDomain) 321 { 322 this.defaultSecurityDomain = defaultSecurityDomain; 323 } 324 325 public boolean isAllowSelfPrivilegedWebApps() 326 { 327 return allowSelfPrivilegedWebApps; 328 } 329 330 public void setAllowSelfPrivilegedWebApps(boolean allowSelfPrivilegedWebApps) 331 { 332 this.allowSelfPrivilegedWebApps = allowSelfPrivilegedWebApps; 333 } 334 335 public JaasSecurityManagerServiceMBean getSecurityManagerService() 336 { 337 return secMgrService; 338 } 339 public void setSecurityManagerService(JaasSecurityManagerServiceMBean mgr) 340 { 341 this.secMgrService = mgr; 342 } 343 344 public String [] getFilteredPackages() 345 { 346 return filteredPackages; 347 } 348 public void setFilteredPackages(String [] filteredPackages) 349 { 350 this.filteredPackages = filteredPackages; 351 } 352 } 353 | Popular Tags |