<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mbean PUBLIC
   "-//JBoss//DTD JBOSS XMBEAN 1.2//EN"
   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd">
<!--
   JBoss Web XMBean descriptor
   
   $Id: webserver-xmbean.xml 59833 2007-01-19 15:45:42Z dimitris@jboss.org $
-->
<mbean>
   <description>The JBoss Web Deployer responsible for war deployment</description>
   <descriptors>
     <interceptors>
       <!-- comment out DynamicInterceptor to disable dynamic addition of interceptors -->
       <interceptor code="org.jboss.mx.interceptor.DynamicInterceptor"/>
     </interceptors>
   </descriptors>
   <class>org.jboss.web.tomcat.service.JBossWeb</class>
   
  <!-- JBossWebMBean attributes -->
  
   <attribute access="read-write" getMethod="getAuthenticators" setMethod="setAuthenticators">
     <name>Authenticators</name>
     <type>java.util.Properties</type>
   </attribute>
	
   <attribute access="read-write" getMethod="getUseJBossWebLoader" setMethod="setUseJBossWebLoader">
     <name>UseJBossWebLoader</name>
     <type>boolean</type>
   </attribute>

   <attribute access="read-write" getMethod="getAllowSelfPrivilegedWebApps" setMethod="setAllowSelfPrivilegedWebApps">
     <name>AllowSelfPrivilegedWebApps</name>
     <type>boolean</type>
   </attribute>

   <attribute access="read-write" getMethod="getDeleteWorkDirOnContextDestroy" 
    setMethod="setDeleteWorkDirOnContextDestroy">
     <name>DeleteWorkDirOnContextDestroy</name>
     <type>boolean</type>
   </attribute>
	
   <attribute access="read-write" getMethod="getHttpHeaderForSSOAuth" 
    setMethod="setHttpHeaderForSSOAuth">
     <name>HttpHeaderForSSOAuth</name>
     <type>java.lang.String</type>
   </attribute>
	
   <attribute access="read-write" getMethod="getSessionCookieForSSOAuth" 
    setMethod="setSessionCookieForSSOAuth">
     <name>SessionCookieForSSOAuth</name>
     <type>java.lang.String</type>
   </attribute>
	
   <attribute access="read-write" getMethod="getSubjectAttributeName" setMethod="setSubjectAttributeName">
     <name>SubjectAttributeName</name>
     <type>java.lang.String</type>
   </attribute>

   <attribute access="read-write" getMethod="getCacheName" setMethod="setCacheName">
     <name>CacheName</name>
     <type>java.lang.String</type>
   </attribute>

   <attribute access="read-write" getMethod="getUnpackWars" setMethod="setUnpackWars">
     <name>UnpackWars</name>
     <type>boolean</type>
   </attribute>

   <attribute access="read-write" getMethod="getAcceptNonWarDirs" setMethod="setAcceptNonWarDirs">
     <name>AcceptNonWarDirs</name>
     <type>boolean</type>
   </attribute>
   
   <attribute access="read-write" getMethod="getConfig" setMethod="setConfig">
     <name>Config</name>
     <type>org.w3c.dom.Element</type>
   </attribute>

   <attribute access="read-write" getMethod="getLenientEjbLink" setMethod="setLenientEjbLink">
     <name>LenientEjbLink</name>
     <type>boolean</type>
   </attribute>

   <attribute access="read-write" getMethod="isUseJK" setMethod="setUseJK">
     <name>UseJK</name>
     <type>boolean</type>
   </attribute>

   <attribute access="read-write" getMethod="getDomain" setMethod="setDomain">
     <name>Domain</name>
     <type>java.lang.String</type>
   </attribute>

   <attribute access="read-write" getMethod="getFilteredPackages" setMethod="setFilteredPackages">
     <name>FilteredPackages</name>
     <type>[Ljava.lang.String;</type>
   </attribute>

   <attribute access="read-write" getMethod="getJava2ClassLoadingCompliance" setMethod="setJava2ClassLoadingCompliance">
     <name>Java2ClassLoadingCompliance</name>
     <type>boolean</type>
   </attribute>

   <attribute access="read-write" getMethod="getDefaultSecurityDomain" setMethod="setDefaultSecurityDomain">
     <name>DefaultSecurityDomain</name>
     <type>java.lang.String</type>
   </attribute>

   <attribute access="read-write" getMethod="getSnapshotMode" setMethod="setSnapshotMode">
     <name>SnapshotMode</name>
     <type>java.lang.String</type>
   </attribute>

   <attribute access="read-write" getMethod="getSnapshotInterval" setMethod="setSnapshotInterval">
     <name>SnapshotInterval</name>
     <type>int</type>
   </attribute>

   <attribute access="read-write" getMethod="getConfigFile" setMethod="setConfigFile">
     <name>ConfigFile</name>
     <type>java.lang.String</type>
   </attribute>

   <attribute access="read-write" getMethod="getUseLocalCache" setMethod="setUseLocalCache">
     <name>UseLocalCache</name>
     <type>boolean</type>
   </attribute>

   <attribute access="read-write" getMethod="getSessionIdAlphabet" setMethod="setSessionIdAlphabet">
     <name>SessionIdAlphabet</name>
     <type>java.lang.String</type>
   </attribute>

   <attribute access="read-write" getMethod="getContextMBeanCode" setMethod="setContextMBeanCode">
     <name>ContextMBeanCode</name>
     <type>java.lang.String</type>
   </attribute>

   <attribute access="read-write" getMethod="getManagerClass" setMethod="setManagerClass">
     <name>ManagerClass</name>
     <type>java.lang.String</type>
   </attribute>

   <attribute access="read-only" getMethod="getDeployedApplications">
     <name>DeployedApplications</name>
     <type>java.util.Iterator</type>
   </attribute>

   <attribute access="write-only" setMethod="setSecurityManagerService">
     <name>SecurityManagerService</name>
     <type>org.jboss.security.plugins.JaasSecurityManagerServiceMBean</type>
   </attribute>
   
   <!-- SubDeployerExt attribute -->
   <attribute access="read-write" getMethod="getEnhancedSuffixes" setMethod="setEnhancedSuffixes">
      <description>Allow the override of supported suffixes and relative order</description>
      <name>EnhancedSuffixes</name>
      <type>[Ljava.lang.String;</type>
   </attribute>
         
   &deployerAttributes;
   &defaultAttributes;

  <!-- JBossWebMBean operations -->
   <operation>
     <description>See if a war is deployed</description>
     <name>isDeployed</name>
     <parameter>
       <name>warUrl</name>
       <type>java.lang.String</type>
     </parameter>
     <return-type>boolean</return-type>
   </operation>

   <operation>
     <description>Start all connectors of the Domain</description>
     <name>startConnectors</name>
   </operation>

   <operation>
     <description>Stop all connectors of the Domain</description>
     <name>stopConnectors</name>
   </operation>
      
   &deployerOperations;   
   &defaultOperations;
   &interceptable;    
   
</mbean>
