All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ow2.easybeans.container.management.mbeans-descriptors-ext.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mbeans-descriptors PUBLIC
 "-//Apache Software Foundation//DTD Model MBeans Configuration File"
 "http://jakarta.apache.org/commons/dtds/mbeans-descriptors.dtd">

<!--
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 - EasyBeans
 - Copyright (C) 2006 Bull S.A.S.
 - Contact: [email protected]
 -
 - 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 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307
 - USA
 -
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 - $Id: mbeans-descriptors-ext.xml 5693 2011-01-10 08:46:49Z benoitf $
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 -->

<mbeans-descriptors>

  <mbean name="ezb:EJBModule"
         className="org.ow2.easybeans.container.management.JContainer3MBean"
         type="org.ow2.easybeans.container.JContainer3"
         description="EJB3 Container"
         domain="EasyBeans">

    <!-- ========================== -->
    <!-- EasyBeans extra attributes -->
    <!-- ========================== -->
    <attribute name="id"
               description="Container Internal Identifier"
               type="java.lang.String"
               writeable="false"/>

    <attribute name="name"
               description="Container name (EJB-JAR name)"
               type="java.lang.String"
               writeable="false"/>

    <attribute name="url"
               description="Container URL (URL of the EJB)"
               type="java.net.URL"
               writeable="false"/>

    <attribute name="available"
               description="Is the Container available ?"
               type="boolean"
               writeable="false"
               getMethod="isAvailable"/>

    <!-- ========================== -->
    <!-- EasyBeans extra operations -->
    <!-- ========================== -->
    <operation name="start"
               description="Start the container"
               impact="ACTION"
               returnType="void" />

    <operation name="stop"
               description="Stop the container"
               impact="ACTION"
               returnType="void" />

    <operation name="loadClass"
      description="Try to load a given class and gets the result"
      impact="ACTION" returnType="java.lang.String">
      <parameter name="className" description="The name of the class to search"
        type="java.lang.String"/>
    </operation>

    <operation name="getResources"
      description="Gets all URLs available for this web application for a given resource name"
      impact="ACTION" returnType="[Ljava.net.URL;">
      <parameter name="name" description="Name of the resource to search"
        type="java.lang.String"/>
    </operation>

  </mbean>

</mbeans-descriptors>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy