<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mbean PUBLIC
   "-//JBoss//DTD JBOSS XMBEAN 1.1//EN"
   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd">
<!-- $Id: org.jboss.deployment.SARDeployer-xmbean.xml,v 1.1 2005/01/20 09:42:42 starksm Exp $ The SARDeployer XMBean descriptor -->
<mbean>
   <description>The SAR deployer handles the JBoss service archive deployments.
   </description>
   <class>org.jboss.deployment.SARDeployer</class>

   <attribute access='read-only' getMethod='getServiceName'>
      <description>Get the JMX ObjectName of the service that provides the SubDeployer</description>
      <name>ServiceName</name>
      <type>javax.management.ObjectName</type>
   </attribute>
   <attribute access='read-write' getMethod='getSuffixes' setMethod='setSuffixes'>
      <description>Get an array of suffixes of interest to this subdeployer</description>
      <name>Suffixes</name>
      <type>[Ljava.lang.String;</type>
   </attribute>
   <attribute access='read-write' getMethod='getRelativeOrder' setMethod='setRelativeOrder'>
      <description>Get the relative order of the specified suffixes</description>
      <name>RelativeOrder</name>
      <type>int</type>
   </attribute>
   <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>

   &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>
   <operation>
      <description>This method is called by MainDeployer to determine which
      deployer is suitable for a DeploymentInfo.</description>
      <name>accepts</name>
      <parameter>
         <name>di</name>
         <type>org.jboss.deployment.DeploymentInfo</type>
      </parameter>
      <return-type>boolean</return-type>
   </operation>
   <operation>
      <description>The init method lets the deployer set a few properties of the
      DeploymentInfo, such as the watch url.</description>
      <name>init</name>
      <parameter>
         <name>di</name>
         <type>org.jboss.deployment.DeploymentInfo</type>
      </parameter>
      <return-type>void</return-type>
   </operation>
   <operation>
      <description>Set up the components of the deployment that do not refer to
      other components.</description>
      <name>create</name>
      <parameter>
         <name>di</name>
         <type>org.jboss.deployment.DeploymentInfo</type>
      </parameter>
      <return-type>void</return-type>
   </operation>
   <operation>
      <description>The start method starts all the mbeans in this DeploymentInfo.</description>
      <name>start</name>
      <parameter>
         <name>di</name>
         <type>org.jboss.deployment.DeploymentInfo</type>
      </parameter>
      <return-type>void</return-type>
   </operation>
   <operation>
      <description>The stop method invokes stop on the mbeans associated with
      the deployment in reverse order relative to start.</description>
      <name>stop</name>
      <parameter>
         <name>di</name>
         <type>org.jboss.deployment.DeploymentInfo</type>
      </parameter>
      <return-type>void</return-type>
   </operation>
   <operation>
      <description>The destroy method invokes destroy on the mbeans associated
      with the deployment in reverse order relative to create.</description>
      <name>destroy</name>
      <parameter>
         <name>di</name>
         <type>org.jboss.deployment.DeploymentInfo</type>
      </parameter>
      <return-type>void</return-type>
   </operation>

   &defaultOperations;
</mbean>