1 22 package org.jboss.web.tomcat.tc6.deployers; 23 24 import java.net.URL ; 25 26 import javax.management.ObjectName ; 27 28 import org.jboss.security.plugins.JaasSecurityManagerServiceMBean; 29 30 36 public class DeployerConfig 37 { 38 41 private ClassLoader serviceClassLoader; 42 45 private String catalinaDomain = "Catalina"; 46 47 51 private String managerClass = "org.jboss.web.tomcat.tc6.session.JBossManager"; 52 53 56 private String cacheName = "jboss.cache:service=TreeCache"; 57 58 61 private String contextClassName; 62 65 private boolean java2ClassLoadingCompliance = false; 66 69 private boolean unpackWars = true; 70 74 private boolean lenientEjbLink = false; 75 78 private ObjectName serviceName; 79 82 private int debugLevel; 83 86 private boolean useJBossWebLoader = true; 87 91 private boolean deleteWorkDirs = true; 92 96 private String snapshotMode = "instant"; 100 private int snapshotInterval = 1000; 101 102 105 private boolean useLocalCache; 106 107 112 private boolean useJK = false; 113 114 117 private String subjectAttributeName = null; 118 121 private String defaultSecurityDomain; 122 123 private String [] filteredPackages; 124 125 128 private boolean allowSelfPrivilegedWebApps = false; 129 130 private JaasSecurityManagerServiceMBean secMgrService; 131 132 private URL xacmlPolicyURL = null; 133 134 public ClassLoader getServiceClassLoader() 135 { 136 return serviceClassLoader; 137 } 138 139 public void setServiceClassLoader(ClassLoader serviceClassLoader) 140 { 141 this.serviceClassLoader = serviceClassLoader; 142 } 143 144 public String getManagerClass() 145 { 146 return managerClass; 147 } 148 149 public void setManagerClass(String managerClass) 150 { 151 this.managerClass = managerClass; 152 } 153 154 public String getCacheName() 155 { 156 return cacheName; 157 } 158 159 public void setCacheName(String cacheName) 160 { 161 this.cacheName = cacheName; 162 } 163 164 public String getCatalinaDomain() 165 { 166 return catalinaDomain; 167 } 168 169 public void setCatalinaDomain(String catalinaDomain) 170 { 171 this.catalinaDomain = catalinaDomain; 172 } 173 174 public String getContextClassName() 175 { 176 return contextClassName; 177 } 178 179 public void setContextClassName(String contextClassName) 180 { 181 this.contextClassName = contextClassName; 182 } 183 184 public boolean isJava2ClassLoadingCompliance() 185 { 186 return java2ClassLoadingCompliance; 187 } 188 189 public void setJava2ClassLoadingCompliance(boolean java2ClassLoadingCompliance) 190 { 191 this.java2ClassLoadingCompliance = java2ClassLoadingCompliance; 192 } 193 194 public boolean isUnpackWars() 195 { 196 return unpackWars; 197 } 198 199 public void setUnpackWars(boolean unpackWars) 200 { 201 this.unpackWars = unpackWars; 202 } 203 204 public boolean isLenientEjbLink() 205 { 206 return lenientEjbLink; 207 } 208 209 public void setLenientEjbLink(boolean lenientEjbLink) 210 { 211 this.lenientEjbLink = lenientEjbLink; 212 } 213 214 public ObjectName getServiceName() 215 { 216 return serviceName; 217 } 218 219 public void setServiceName(ObjectName serviceName) 220 { 221 this.serviceName = serviceName; 222 } 223 224 public int getDebugLevel() 225 { 226 return debugLevel; 227 } 228 229 public void setDebugLevel(int debugLevel) 230 { 231 this.debugLevel = debugLevel; 232 } 233 234 public boolean isUseJBossWebLoader() 235 { 236 return useJBossWebLoader; 237 } 238 239 public void setUseJBossWebLoader(boolean useJBossWebLoader) 240 { 241 this.useJBossWebLoader = useJBossWebLoader; 242 } 243 244 public boolean isDeleteWorkDirs() 245 { 246 return deleteWorkDirs; 247 } 248 249 public void setDeleteWorkDirs(boolean deleteWorkDirs) 250 { 251 this.deleteWorkDirs = deleteWorkDirs; 252 } 253 254 public String getSnapshotMode() 255 { 256 return snapshotMode; 257 } 258 259 public void setSnapshotMode(String snapshotMode) 260 { 261 this.snapshotMode = snapshotMode; 262 } 263 264 public int getSnapshotInterval() 265 { 266 return snapshotInterval; 267 } 268 269 public void setSnapshotInterval(int snapshotInterval) 270 { 271 this.snapshotInterval = snapshotInterval; 272 } 273 274 public boolean isUseLocalCache() 275 { 276 return useLocalCache; 277 } 278 279 public void setUseLocalCache(boolean useLocalCache) 280 { 281 this.useLocalCache = useLocalCache; 282 } 283 284 public boolean isUseJK() 285 { 286 return useJK; 287 } 288 289 public void setUseJK(boolean useJK) 290 { 291 this.useJK = useJK; 292 } 293 294 public String getSubjectAttributeName() 295 { 296 return subjectAttributeName; 297 } 298 299 public void setSubjectAttributeName(String subjectAttributeName) 300 { 301 this.subjectAttributeName = subjectAttributeName; 302 } 303 304 311 public String getDefaultSecurityDomain() 312 { 313 return defaultSecurityDomain; 314 } 315 316 324 public void setDefaultSecurityDomain(String defaultSecurityDomain) 325 { 326 this.defaultSecurityDomain = defaultSecurityDomain; 327 } 328 329 public boolean isAllowSelfPrivilegedWebApps() 330 { 331 return allowSelfPrivilegedWebApps; 332 } 333 334 public void setAllowSelfPrivilegedWebApps(boolean allowSelfPrivilegedWebApps) 335 { 336 this.allowSelfPrivilegedWebApps = allowSelfPrivilegedWebApps; 337 } 338 339 public JaasSecurityManagerServiceMBean getSecurityManagerService() 340 { 341 return secMgrService; 342 } 343 public void setSecurityManagerService(JaasSecurityManagerServiceMBean mgr) 344 { 345 this.secMgrService = mgr; 346 } 347 348 public String [] getFilteredPackages() 349 { 350 return filteredPackages; 351 } 352 public void setFilteredPackages(String [] filteredPackages) 353 { 354 this.filteredPackages = filteredPackages; 355 } 356 357 public URL getXacmlPolicyURL() 358 { 359 return xacmlPolicyURL; 360 } 361 362 public void setXacmlPolicyURL(URL xacmlPolicyURL) 363 { 364 this.xacmlPolicyURL = xacmlPolicyURL; 365 } 366 } 367 | Popular Tags |