<?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">
<!--
   SARDeployer XMBean descriptor
   
   $Id: org.jboss.deployment.SARDeployer-xmbean.xml 35861 2005-09-11 22:24:37Z dimitris $
 -->
<mbean>
   <description>The SAR deployer handles the JBoss service archive deployments.</description>
   <class>org.jboss.deployment.SARDeployer</class>
   
   <attribute access="read-write" getMethod="getUseNamespaceAwareParser" setMethod="setUseNamespaceAwareParser">
      <description>A flag passed to the JAXP DocumentBuilderFactory setNamespaceAware method</description>
      <name>UseNamespaceAwareParser</name>
      <type>boolean</type>
      <descriptors>
         <value value="true"/>
      </descriptors>
   </attribute>
   
   <!-- SubDeployerExtMBean 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>
      <descriptors>
         <!-- Add "350:har" to the suffixes supported normally by the SARDeployer -->
         <value value="050:.deployer,050:-deployer.xml,150:.sar,150:-service.xml,350:.har"/>
      </descriptors>
   </attribute>

   &deployerAttributes;
   &defaultAttributes;

   <operation>
      <description>Get the associated service DeploymentInfo if found, null otherwise</description>
      <name>getService</name>
      <parameter>
         <name>serviceName</name>
         <type>javax.management.ObjectName</type>
      </parameter>
      <return-type>org.jboss.deployment.DeploymentInfo</return-type>
   </operation>

   &deployerOperations;   
   &defaultOperations;
   
</mbean>