<?xml version="1.0" encoding="UTF-8"?>
<!--
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - JOnAS: Java(TM) Open Application Server
  - Copyright (C) 2007-2008 Bull S.A.S.
  - Contact: jonas-team@ow2.org
  -
  - This library is free software; you can redistribute it and/or
  - modify it under the terms of the GNU Lesser General Public
  - License as published by the Free Software Foundation; either
  - version 2.1 of the License, or (at your option) any later version.
  -
  - This library is distributed in the hope that it will be useful,
  - but WITHOUT ANY WARRANTY; without even the implied warranty of
  - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  - Lesser General Public License for more details.
  -
  - You should have received a copy of the GNU Lesser General Public
  - License along with this library; if not, write to the Free Software
  - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
  -
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - $Id: easybeans-jonas.xml 19280 2010-02-24 16:05:38Z benoitf $
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<easybeans xmlns="http://org.ow2.easybeans.server">

    <!-- No infinite loop (managed by JOnAS): wait="false"
         Enable MBeans: mbeans="true"
         Disable the naming: naming="false"
         Use JOnAS JACC provider: jacc="false"
         Using JOnAS monitoring: scanning="false"
         Using JOnAS JMX Connector: connector="false"
         Disable Deployer and J2EEServer MBeans: deployer="false" & j2eeserver="false"
    -->
    <config
        wait="false"
        mbeans="true"
        naming="false"
        jacc="false"
        scanning="false"
        connector="false"
        deployer="false"
        j2eeserver="false" />

    <!-- Define components that will be started at runtime -->
    <components>
        <!-- All components are launched by JOnAS -->

        <!-- RMI component will be used to access some of JNDI properties -->
        <!-- But as there are no protocols, no registry is launched. -->
        <rmi />

        <!-- Register a JNDI Resolver for remote clients -->
        <jndi-resolver />

        <!-- Launch the jmx component -->
        <jmx modeler-service="#modeler-service" />

        <!-- Launch the statistic component -->
        <statistic event="#event" jmx="#jmx" />
        
        <!-- Launch the audit component -->
        <!--
        <audit event="#event"/>
        -->
    </components>
</easybeans>
