alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Glassfish example source code file (mbeans-descriptors.xml)

This example Glassfish source code file (mbeans-descriptors.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Glassfish tags/keywords

catalina, catalina, debug, generation, generation, gpl, id, internal, internal, jk, jk, license, state, the

The Glassfish mbeans-descriptors.xml source code

<?xml version="1.0"?>
<!--

    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.

    Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.

    The contents of this file are subject to the terms of either the GNU
    General Public License Version 2 only ("GPL") or the Common Development
    and Distribution License("CDDL") (collectively, the "License").  You
    may not use this file except in compliance with the License.  You can
    obtain a copy of the License at
    https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
    or packager/legal/LICENSE.txt.  See the License for the specific
    language governing permissions and limitations under the License.

    When distributing the software, include this License Header Notice in each
    file and include the License file at packager/legal/LICENSE.txt.

    GPL Classpath Exception:
    Oracle designates this particular file as subject to the "Classpath"
    exception as provided by Oracle in the GPL Version 2 section of the License
    file that accompanied this code.

    Modifications:
    If applicable, add the following below the License Header, with the fields
    enclosed by brackets [] replaced by your own identifying information:
    "Portions Copyright [year] [name of copyright owner]"

    Contributor(s):
    If you wish your version of this file to be governed by only the CDDL or
    only the GPL Version 2, indicate your decision by adding "[Contributor]
    elects to include this software in this distribution under the [CDDL or GPL
    Version 2] license."  If you don't indicate a single choice of license, a
    recipient has the option to distribute your version of this file under
    either the CDDL, the GPL Version 2 or to extend the choice of license to
    its licensees as provided above.  However, if you add GPL Version 2 code
    and therefore, elected the GPL Version 2 license, then the option applies
    only if the new code is made subject to such option by the copyright
    holder.

-->

<!DOCTYPE mbeans-descriptors PUBLIC
 "-//Apache Software Foundation//DTD Model MBeans Configuration File"
 "http://jakarta.apache.org/commons/dtds/mbeans-descriptors.dtd">

<!--
     Descriptions of JMX MBeans for jk
 -->

<mbeans-descriptors>

  <mbean name="ChannelSocket"
         description="Socket channel"
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.common.ChannelSocket">

    <attribute   name="port"
          description="The port number on which we listen for ajp13 requests"
                type="int"/>
    <attribute   name="maxPort"
          description="The max port number on which we listen for ajp13 requests"
                type="int"/>
    <attribute   name="address"
          description="The IP address on which to bind"
                 type="java.lang.String"/>
    <attribute   name="maxSpareThreads"
          description="The maximum number of unused request processing threads"
                 type="int"/>
    <attribute   name="maxThreads"
          description="The maximum number of request processing threads to be created"
                 type="int"/>
    <attribute   name="minSpareThreads"
          description="The number of request processing threads that will be created"
                 type="int"/>
    <attribute   name="tcpNoDelay"
          description="Should we use TCP no delay?"
                 type="boolean"/>
    <attribute   name="soLinger"
          description="Linger value on the incoming connection"
                 type="int"/>
    <attribute   name="soTimeout"
          description="Socket timeout"
                 type="int"/>
    <attribute   name="requestCount"
          description="current request count"
                 type="int"
            writeable="false"/>
    <attribute   name="daemon"
          description="are worker threads on daemon mode"
                 type="boolean"
            writeable="false"/>
    <attribute name="packetSize"
          description="The maximum AJP packet size"
          type="int" />

    <operation name="start"
               description="Start, if server socket no create call init"
               impact="ACTION"
               returnType="void" />
    <operation name="stop"
               description="Stop"
               impact="ACTION"
               returnType="void" />
    <operation name="pause"
               description="Pause ajp socket, no new connection accepted"
               impact="ACTION"
               returnType="void"/>
    <operation name="resume"
               description="Resume socket for new connections"
               impact="ACTION"
               returnType="void"/>
    <operation name="reinit"
               description="Init and Destroy"
               impact="ACTION"
               returnType="void" />
    <operation name="init"
               description="Init"
               impact="ACTION"
               returnType="void" />
    <operation name="destroy"
               description="Destroy"
               impact="ACTION"
               returnType="void" />
    <operation name="resetCounters"
               description="reset request counter"
               impact="ACTION"
               returnType="void"/>


  </mbean>

  <mbean name="JkWorkerEnv"
         description="Worker env for jk"
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.core.WorkerEnv">

    <attribute name="localId"
               description="If automatic port allocation is enabled, ChannelSocket will allocate ports sequentially. This is the sequence number"
               type="java.lang.Integer"/>

    <attribute name="jkHome"
               description="Base directory for jk"
               type="java.lang.String"/>

    <attribute name="managedResource"
               description="Access to the object"
               type="java.lang.Object" writeable="false" />

    <attribute name="handlersObjectName"
               description="List of all jk handlers"
               type="[Ljavax.management.ObjectName;"/>

    <operation name="addHandler"
               description="add a jk component"
               returnType="void">
      <parameter name="name"
                 description="local name"
                 type="java.lang.String"/>
      <parameter name="handler"
                 description="handler"
                 type="org.apache.jk.core.JkHandler"/>
    </operation>

  </mbean>

  <!-- Native connectors -->
  <mbean name="JkAjp13"
         description="native Ajp13 connector"
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.ajp13">

    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>

    <attribute name="lb_factor"
               description=""
               type="java.lang.Integer"/>
    <attribute name="lb_value"
               description=""
               type="java.lang.Integer"/>
    <attribute name="epCount"
               description=""
               type="java.lang.Integer"/>
    <attribute name="graceful"
               description=""
               type="java.lang.Integer"/>

    <attribute name="route"
               description=""
               type="java.lang.String"/>

  </mbean>

  <mbean name="JkChannelSocket"
         description="native Ajp13 connector"
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.channel.socket">

    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>

  </mbean>

  <mbean name="JkWorkerEnv" 
         description=""
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.workerEnv">

    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>

  </mbean>

  <mbean name="JkLoggerApache2" 
         description=""
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.logger.apache2">
    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>


  </mbean>

  <mbean name="JkUriMap" 
         description=""
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.uriMap">
    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>


  </mbean>

  <mbean name="JkConfig" 
         description=""
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.config">
    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>

    <attribute name="file"
               description="Config file"
               type="java.lang.String"/>

  </mbean>
  <mbean name="JkShm" 
         description=""
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.shm">
    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>


  </mbean>
  <mbean name="JkUri" 
         description=""
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.uri">

    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>

    <attribute name="host"
               description="Uri components"
               type="java.lang.String"/>
    <attribute name="uri"
               description="Uri"
               type="java.lang.String"/>
    <attribute name="path"
               description="Uri"
               type="java.lang.String"/>

  </mbean>

  <mbean name="JkVm" 
         description=""
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.vm">
    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>


  </mbean>

  <mbean name="JkChannelUn" 
         description=""
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.channel.un">
    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>


  </mbean>

  <mbean name="JkChannelJni" 
         description=""
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.channel.jni">
    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>


  </mbean>

  <mbean name="JkWorkerJni" 
         description=""
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.worker.jni">
    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>


  </mbean>

  <mbean name="JkStatus" 
         description=""
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.status">
    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>


  </mbean>
  <mbean name="JkHandlerResponse" 
         description=""
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.handler.response">
    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>


  </mbean>
  <mbean name="JkHandlerLogon" 
         description=""
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.handler.logon">
    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>


  </mbean>

  <mbean name="JkLb" 
         description=""
         domain="Catalina"
         group="Jk"
         type="org.apache.jk.modjk.lb">
   
    <attribute name="Id"
               description="Internal id"
               type="java.lang.String"/>

    <attribute name="disabled"
               description="State"
               type="java.lang.Integer"/>

    <attribute name="ver"
               description="Generation"
               type="java.lang.Integer"/>

    <attribute name="debug"
               description="Debug level"
               type="java.lang.Integer"/>

  </mbean>



</mbeans-descriptors>

Other Glassfish examples (source code examples)

Here is a short list of links related to this Glassfish mbeans-descriptors.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.