You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2003/04/25 23:14:36 UTC

cvs commit: jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster mbeans-descriptors.xml

costin      2003/04/25 14:14:36

  Added:       catalina/src/share/org/apache/catalina
                        mbeans-descriptors.xml
               catalina/src/share/org/apache/catalina/deploy
                        mbeans-descriptors.xml
               catalina/src/share/org/apache/catalina/loader
                        mbeans-descriptors.xml
               catalina/src/share/org/apache/catalina/logger
                        mbeans-descriptors.xml
               catalina/src/share/org/apache/catalina/realm
                        mbeans-descriptors.xml
               catalina/src/share/org/apache/catalina/session
                        mbeans-descriptors.xml
               catalina/src/share/org/apache/catalina/startup
                        mbeans-descriptors.xml
               catalina/src/share/org/apache/catalina/users
                        mbeans-descriptors.xml
               modules/cluster/src/share/org/apache/catalina/cluster
                        mbeans-descriptors.xml
  Log:
  Moved mbean declarations in the same package with the declared components.
  That will allow embeded to work without having to explicitely load descriptors,
  and hopefully it'll be easier to maintain.
  
  Well, hopefully xdoclet will be used to generate the descriptors.
  
  Revision  Changes    Path
  1.1                  jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans-descriptors.xml
  
  Index: mbeans-descriptors.xml
  ===================================================================
  <?xml version="1.0"?>
  <mbeans-descriptors>
  
    <mbean name="Group"
           className="org.apache.catalina.mbeans.GroupMBean"
            description="Group from a user database"
                 domain="Users"
                  group="Group"
                   type="org.apache.catalina.Group">
  
      <attribute   name="description"
            description="Description of this group"
                   type="java.lang.String"/>
  
      <attribute   name="groupname"
            description="Group name of this group"
                   type="java.lang.String"/>
  
      <attribute   name="roles"
            description="MBean Names of roles for this group"
                   type="[Ljava.lang.String;"
              writeable="false"/>
  
      <attribute   name="users"
            description="MBean Names of user members of this group"
                   type="[Ljava.lang.String;"
              writeable="false"/>
  
      <operation   name="addRole"
            description="Add a new authorized role for this group"
                 impact="ACTION"
             returnType="void">
        <parameter name="role"
            description="Role to be added"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="removeRole"
            description="Remove an old authorized role for this group"
                 impact="ACTION"
             returnType="void">
        <parameter name="role"
            description="Role to be removed"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="removeRoles"
            description="Remove all authorized roles for this group"
                 impact="ACTION"
             returnType="void">
      </operation>
  
    </mbean>
  
    <mbean         name="Role"
              className="org.apache.catalina.mbeans.RoleMBean"
            description="Security role from a user database"
                 domain="Users"
                  group="Role"
                   type="org.apache.catalina.Role">
  
      <attribute   name="description"
            description="Description of this role"
                   type="java.lang.String"/>
  
      <attribute   name="rolename"
            description="Role name of this role"
                   type="java.lang.String"/>
  
    </mbean>
  
    <mbean         name="User"
              className="org.apache.catalina.mbeans.UserMBean"
            description="User from a user database"
                 domain="Users"
                  group="User"
                   type="org.apache.catalina.User">
  
      <attribute   name="fullName"
            description="Full name of this user"
                   type="java.lang.String"/>
  
      <attribute   name="groups"
            description="MBean Names of groups this user is a member of"
                   type="[Ljava.lang.String;"/>
  
      <attribute   name="password"
            description="Password of this user"
                   type="java.lang.String"/>
  
      <attribute   name="roles"
            description="MBean Names of roles for this user"
                   type="[Ljava.lang.String;"
              writeable="false"/>
  
      <attribute   name="username"
            description="User name of this user"
                   type="java.lang.String"/>
  
      <operation   name="addGroup"
            description="Add a new group membership for this user"
                 impact="ACTION"
             returnType="void">
        <parameter name="groupname"
            description="Group name of the new group"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="addRole"
            description="Add a new authorized role for this user"
                 impact="ACTION"
             returnType="void">
        <parameter name="role"
            description="Role to be added"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="removeGroup"
            description="Remove an old group membership for this user"
                 impact="ACTION"
             returnType="void">
        <parameter name="groupname"
            description="Group name of the old group"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="removeGroups"
            description="Remove all group memberships for this user"
                 impact="ACTION"
             returnType="void">
      </operation>
  
      <operation   name="removeRole"
            description="Remove an old authorized role for this user"
                 impact="ACTION"
             returnType="void">
        <parameter name="role"
            description="Role to be removed"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="removeRoles"
            description="Remove all authorized roles for this user"
                 impact="ACTION"
             returnType="void">
      </operation>
  
    </mbean>
  
  </mbeans-descriptors>
  
  
  
  1.1                  jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/deploy/mbeans-descriptors.xml
  
  Index: mbeans-descriptors.xml
  ===================================================================
  <?xml version="1.0"?>
  <mbeans-descriptors>
  
    <mbean name="ContextEnvironment"
           className="org.apache.catalina.mbeans.ContextEnvironmentMBean"
           description="Representation of an application environment entry"
           domain="Catalina"
           group="Resources"
           type="org.apache.catalina.deploy.ContextEnvironment">
      
      <attribute name="className"
                 description="Fully qualified class name of the managed object"
                 type="java.lang.String"
                 writeable="false"/>
        
      <attribute name="description"
                 description="The description of this environment entry"
                 type="java.lang.String"/>
  
      <attribute name="name"
                 description="The name of this environment entry"
                 type="java.lang.String"/>
        
      <attribute name="override"
                 description="Does this environment entry allow overrides by the
                 application deployment descriptor"
                 type="boolean"/>
  
      <attribute name="type"
                 description="The type of this environment entry"
                 type="java.lang.String"/>
  
      <attribute name="value"
                 description="The value of this environment entry"
                 type="java.lang.String"/>
    </mbean>
  
  
    <mbean         name="ContextResource"
           className="org.apache.catalina.mbeans.ContextResourceMBean"
           description="Representation of a resource reference for a web application"
           domain="Catalina"
           group="Resources"
           type="org.apache.catalina.deploy.ContextResource">
      
      <attribute   name="auth"
                 description="The authorization requirement for this resource"
                 type="java.lang.String"/>
        
      <attribute   name="description"
                 description="The description of this resource"
                 type="java.lang.String"/>
        
      <attribute   name="name"
                 description="The name of this resource"
                 type="java.lang.String"/>
        
      <attribute   name="scope"
                 description="The sharing scope of this resource factory"
                 type="java.lang.String"/>
        
      <attribute   name="type"
                 description="The type of this environment entry"
                 type="java.lang.String"/>
    </mbean>
    
    
     <mbean         name="ContextResourceLink"
            className="org.apache.catalina.mbeans.ContextResourceLinkMBean"
            description="Representation of a resource link for a web application"
            domain="Catalina"
            group="Resources"
            type="org.apache.catalina.deploy.ContextResourceLink">
      
      <attribute   name="global"
                 description="The global name of this resource"
                 type="java.lang.String"/>
        
      <attribute   name="name"
                 description="The name of this resource"
                 type="java.lang.String"/>
        
      <attribute   name="type"
                 description="The type of this resource"
                 type="java.lang.String"/>
        
    </mbean>
    
    <mbean         name="NamingResources"
              className="org.apache.catalina.mbeans.NamingResourcesMBean"
            description="Holds and manages the naming resources defined in the
                         J2EE Enterprise Naming Context and their associated 
                         JNDI context"
                 domain="Catalina"
                  group="Resources"
                   type="org.apache.catalina.deploy.NamingResources">
  
      <attribute   name="environments"
            description="MBean Names of the set of defined environment entries
                         for this web application"
                   type="[Ljava.lang.String;"
              writeable="false"/>
  
      <attribute   name="resources"
            description="MBean Names of all the defined resource references
                         for this application."
                   type="[Ljava.lang.String;"
              writeable="false"/>
  
      <attribute   name="resourceLinks"
            description="MBean Names of all the defined resource link references
                         for this application."
                   type="[Ljava.lang.String;"
              writeable="false"/>
  
      <operation   name="addEnvironment"
            description="Add an environment entry for this web application"
                 impact="ACTION"
             returnType="void">
        <parameter name="envName"
            description="New environment entry name"
                   type="java.lang.String"/>
        <parameter name="type"
            description="New environment entry type"
                   type="java.lang.String"/>
        <parameter name="value"
            description="New environment entry value"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="addResource"
            description="Add a resource reference for this web application"
                 impact="ACTION"
             returnType="void">
        <parameter name="resourceName"
            description="New resource reference name"
                   type="java.lang.String"/>
        <parameter name="type"
            description="New resource reference type"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="addResourceLink"
            description="Add a resource link reference for this web application"
                 impact="ACTION"
             returnType="void">
        <parameter name="resourceLinkName"
            description="New resource reference name"
                   type="java.lang.String"/>
        <parameter name="type"
            description="New resource reference type"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="removeEnvironment"
            description="Remove any environment entry with the specified name"
                 impact="ACTION"
             returnType="void">
        <parameter name="envName"
            description="Name of the environment entry to remove"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="removeResource"
            description="Remove any resource reference with the specified name"
                 impact="ACTION"
             returnType="void">
        <parameter name="resourceName"
            description="Name of the resource reference to remove"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="removeResourceLink"
            description="Remove any resource link reference with the specified name"
                 impact="ACTION"
             returnType="void">
        <parameter name="resourceLinkName"
            description="Name of the resource reference to remove"
                   type="java.lang.String"/>
      </operation>
  
    </mbean>
  
  
  </mbeans-descriptors>
  
  
  
  1.1                  jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/mbeans-descriptors.xml
  
  Index: mbeans-descriptors.xml
  ===================================================================
  <?xml version="1.0"?>
  <mbeans-descriptors>
  
    <mbean         name="WebappLoader"
            description="Classloader implementation which is specialized for
                         handling web applications"
                 domain="Catalina"
                  group="Loader"
                   type="org.apache.catalina.loader.WebappLoader">
  
      <attribute   name="checkInterval"
            description="The number of seconds between checks for modified
                         classes"
                   type="int"/>
  
      <attribute   name="className"
            description="Fully qualified class name of the managed object"
                   type="java.lang.String"
              writeable="false"/>
  
      <attribute   name="debug"
            description="The debugging detail level for this component"
                   type="int"/>
  
      <attribute   name="delegate"
            description="The 'follow standard delegation model' flag that will be
                         used to configure our ClassLoader"
                   type="boolean"/>
  
      <attribute   name="reloadable"
            description="The reloadable flag for this Loader"
                   type="boolean"/>
  
      <attribute   name="repositories"
            description="Extra repositories managed by this loader"
                   type="[Ljava.lang.String;"/>
  
      <attribute   name="repositoriesString"
            description="Extra repositories managed by this loader"
               writeable="false" 
                   type="java.lang.String"/>
  
      <attribute   name="loaderRepositories"
            description="Repositories set in the real loader"
                   type="[Ljava.lang.String;"
              writeable="false" />
  
      <attribute   name="loaderRepositoriesString"
            description="Repositories set in the real loader"
                   type="java.lang.String"
               writeable="false" />
  
      <operation   name="toString"
            description="Info about the loader"
                 impact="INFO"
             returnType="String">
      </operation>
    </mbean>
  
  
  </mbeans-descriptors>
  
  
  
  1.1                  jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/logger/mbeans-descriptors.xml
  
  Index: mbeans-descriptors.xml
  ===================================================================
  <?xml version="1.0"?>
  <mbeans-descriptors>
  
    <mbean name="FileLogger"
           description="Implementation of Logger that appends log messages to a file"
           domain="Catalina"
           group="Logger"
           type="org.apache.catalina.logger.FileLogger">
      
      <attribute name="className"
                 description="Fully qualified class name of the managed object"
                 type="java.lang.String"
                 writeable="false"/>
  
      <attribute name="debug"
                 description="The debugging detail level for this component"
                 type="int"/>
        
      <attribute name="directory"
                 description="The directory in which log files are created"
                 type="java.lang.String"/>
        
      <attribute name="prefix"
                 description="The prefix that is added to log file filenames"
                 type="java.lang.String"/>
        
      <attribute name="suffix"
                 description="The suffix that is added to log file filenames"
                 type="java.lang.String"/>
        
      <attribute name="timestamp"
                 description="Should logged messages be date/time stamped?"
                 type="boolean"/>
        
      <attribute   name="verbosity"
                 description="The verbosity level for above which log messages may be
                 filtered"
                 type="int"/>
    </mbean>
  
    <mbean name="SystemErrLogger"
           description="Simple implementation of Logger that writes to  System.err"
           domain="Catalina"
           group="Logger"
           type="org.apache.catalina.logger.SystemErrLogger">
      
      <attribute name="className"
                 description="Fully qualified class name of the managed object"
                 type="java.lang.String"
                 writeable="false"/>
        
      <attribute   name="debug"
                 description="The debugging detail level for this component"
                 type="int"/>
        
      <attribute   name="verbosity"
                 description="The verbosity level for above which log messages may be filtered"
                 type="int"/>
      </mbean>
    
    
    <mbean name="SystemOutLogger"
           description="Simple implementation of Logger that writes to System.out"
           domain="Catalina"
           group="Logger"
           type="org.apache.catalina.logger.SystemOutLogger">
      
      <attribute   name="className"
                 description="Fully qualified class name of the managed object"
                 type="java.lang.String"
                 writeable="false"/>
        
      <attribute   name="debug"
                 description="The debugging detail level for this component"
                 type="int"/>
        
      <attribute   name="verbosity"
                 description="The verbosity level for above which log messages may be filtered"
                 type="int"/>
    </mbean>
    
  
  </mbeans-descriptors>
  
  
  
  1.1                  jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm/mbeans-descriptors.xml
  
  Index: mbeans-descriptors.xml
  ===================================================================
  <?xml version="1.0"?>
  <mbeans-descriptors>
    <mbean         name="JAASRealm"
            description="Implmentation of Realm that authenticates users via the
                         Java Authentication and Authorization Service (JAAS)"
                 domain="Catalina"
                  group="Realm"
                   type="org.apache.catalina.realm.JAASRealm">
  
      <attribute   name="appName"
            description="The application name passed to the JAAS LoginContext,
                         which uses it to select the set of relevant
                         LoginModules"
                   type="java.lang.String"/>
  
      <attribute   name="className"
            description="Fully qualified class name of the managed object"
                   type="java.lang.String"
              writeable="false"/>
  
      <attribute   name="debug"
            description="The debugging detail level for this component"
                   type="int"/>
  
      <attribute   name="digest"
            description="Digest algorithm used in storing passwords in a
                         non-plaintext format"
                   type="java.lang.String"/>
  
      <attribute   name="roleClassNames"
            description="Comma-delimited list of javax.security.Principal classes
                         that represent security roles"
                   type="java.lang.String"/>
  
      <attribute   name="userClassNames"
            description="Comma-delimited list of javax.security.Principal classes
                         that represent individual users"
                   type="java.lang.String"/>
  
      <attribute   name="validate"
            description="Should we validate client certificate chains when they
                         are presented?"
                   type="java.lang.String"/>
  
  
      <operation name="start" description="Start" impact="ACTION" returnType="void" />
      <operation name="stop" description="Stop" impact="ACTION" returnType="void" />
      <operation name="init" description="Init" impact="ACTION" returnType="void" />
      <operation name="destroy" description="Destroy" impact="ACTION" returnType="void" />
    </mbean>
  
  
    <mbean         name="JDBCRealm"
            description="Implementation of Realm that works with any JDBC
                         supported database"
                 domain="Catalina"
                  group="Realm"
                   type="org.apache.catalina.realm.JDBCRealm">
  
      <attribute   name="className"
            description="Fully qualified class name of the managed object"
                   type="java.lang.String"
              writeable="false"/>
  
      <attribute   name="connectionName"
            description="The connection username to use when trying to connect to
                         the database"
                   type="java.lang.String"/>
  
      <attribute   name="connectionPassword"
            description="The connection URL to use when trying to connect to the
                         database"
                   type="java.lang.String"/>
  
      <attribute   name="connectionURL"
            description="The connection URL to use when trying to connect to the
                         database"
                   type="java.lang.String"/>
  
      <attribute   name="debug"
            description="The debugging detail level for this component"
                   type="int"/>
  
      <attribute   name="digest"
            description="Digest algorithm used in storing passwords in a
                         non-plaintext format"
                   type="java.lang.String"/>
  
      <attribute   name="driverName"
            description="The JDBC driver to use"
                   type="java.lang.String"/>
  
      <attribute   name="roleNameCol"
            description="The column in the user role table that names a role"
                   type="java.lang.String"/>
  
      <attribute   name="userCredCol"
            description="The column in the user table that holds the user's
                         credentials"
                   type="java.lang.String"/>
  
      <attribute   name="userNameCol"
            description="The column in the user table that holds the user's
                         username"
                   type="java.lang.String"/>
  
      <attribute   name="userRoleTable"
            description="The table that holds the relation between user's and
                         roles"
                   type="java.lang.String"/>
  
      <attribute   name="userTable"
            description="The table that holds user data"
                   type="java.lang.String"/>
  
  
      <operation name="start" description="Start" impact="ACTION" returnType="void" />
      <operation name="stop" description="Stop" impact="ACTION" returnType="void" />
      <operation name="init" description="Init" impact="ACTION" returnType="void" />
      <operation name="destroy" description="Destroy" impact="ACTION" returnType="void" />
    </mbean>
  
    <mbean         name="JNDIRealm"
            description="Implementation of Realm that works with a directory
                         server accessed via the Java Naming and Directory
                         Interface (JNDI) APIs"
                 domain="Catalina"
                  group="Realm"
                   type="org.apache.catalina.realm.JNDIRealm">
  
      <attribute   name="className"
            description="Fully qualified class name of the managed object"
                   type="java.lang.String"
              writeable="false"/>
  
      <attribute   name="connectionName"
            description="The connection username for the server we will contact"
                   type="java.lang.String"/>
  
      <attribute   name="connectionPassword"
            description="The connection password for the server we will contact"
                   type="java.lang.String"/>
  
      <attribute   name="connectionURL"
            description="The connection URL for the server we will contact"
                   type="java.lang.String"/>
  
      <attribute   name="contextFactory"
            description="The JNDI context factory for this Realm"
                   type="java.lang.String"/>
  
      <attribute   name="debug"
            description="The debugging detail level for this component"
                   type="int"/>
  
      <attribute   name="digest"
            description="Digest algorithm used in storing passwords in a
                         non-plaintext format"
                   type="java.lang.String"/>
  
      <attribute   name="roleBase"
            description="The base element for role searches"
                   type="java.lang.String"/>
  
      <attribute   name="roleName"
            description="The name of the attribute containing roles held elsewhere"
                   type="java.lang.String"/>
  
      <attribute   name="roleSearch"
            description="The message format used to select roles for a user"
                   type="java.lang.String"/>
  
      <attribute   name="roleSubtree"
            description="Should we search the entire subtree for matching
                         memberships?"
                   type="boolean"/>
  
      <attribute   name="userBase"
            description="The base element for user searches"
                   type="java.lang.String"/>
  
      <attribute   name="userPassword"
            description="The attribute name used to retrieve the user password"
                   type="java.lang.String"/>
  
      <attribute   name="userPattern"
            description="The message format used to select a user"
                   type="java.lang.String"/>
  
       <attribute   name="userRoleName"
            description="The name of the attribute in the user's entry containing
                         roles for that user"
                   type="java.lang.String"/>
  
     <attribute   name="userSearch"
           description="The message format used to search for a user"
                  type="java.lang.String"/>
  
      <attribute   name="userSubtree"
            description="Should we search the entire subtree for matching
                         users?"
                   type="boolean"/>
  
  
      <operation name="start" description="Start" impact="ACTION" returnType="void" />
      <operation name="stop" description="Stop" impact="ACTION" returnType="void" />
      <operation name="init" description="Init" impact="ACTION" returnType="void" />
      <operation name="destroy" description="Destroy" impact="ACTION" returnType="void" />
    </mbean>
  
    <mbean         name="MemoryRealm"
            description="Simple implementation of Realm that reads an XML file to
                         configure the valid users, passwords, and roles"
                 domain="Catalina"
                  group="Realm"
                   type="org.apache.catalina.realm.MemoryRealm">
  
      <attribute   name="className"
            description="Fully qualified class name of the managed object"
                   type="java.lang.String"
              writeable="false"/>
  
      <attribute   name="debug"
            description="The debugging detail level for this component"
                   type="int"/>
  
      <attribute   name="pathname"
            description="The pathname of the XML file containing our database
                         information"
                   type="java.lang.String"/>
  
      <operation name="start" description="Start" impact="ACTION" returnType="void" />
      <operation name="stop" description="Stop" impact="ACTION" returnType="void" />
      <operation name="init" description="Init" impact="ACTION" returnType="void" />
      <operation name="destroy" description="Destroy" impact="ACTION" returnType="void" />
  
    </mbean>
  
    <mbean         name="UserDatabaseRealm"
            description="Realm connected to a UserDatabase as a global JNDI
                         resource"
                 domain="Catalina"
                  group="Realm"
                   type="org.apache.catalina.realm.UserDatabaseRealm">
  
      <attribute   name="className"
            description="Fully qualified class name of the managed object"
                   type="java.lang.String"
              writeable="false"/>
  
      <attribute   name="debug"
            description="The debugging detail level for this component"
                   type="int"/>
  
      <attribute   name="resourceName"
            description="The global JNDI name of the UserDatabase resource to use"
                   type="java.lang.String"/>
  
    </mbean>
  
  </mbeans-descriptors>
  
  
  
  1.1                  jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/mbeans-descriptors.xml
  
  Index: mbeans-descriptors.xml
  ===================================================================
  <?xml version="1.0"?>
  <mbeans-descriptors>
  
    <mbean         name="StandardManager"
            description="Standard implementation of the Manager interface"
                 domain="Catalina"
                  group="Manager"
                   type="org.apache.catalina.session.StandardManager">
  
      <attribute   name="algorithm"
            description="The message digest algorithm to be used when generating
                         session identifiers"
                   type="java.lang.String"/>
  
  
      <attribute   name="randomFile"
            description="File source of random - /dev/urandom or a pipe"
                   type="java.lang.String"/>
  
      <attribute   name="checkInterval"
            description="The interval (in seconds) between checks for expired
                         sessions"
                   type="int"/>
  
      <attribute   name="className"
            description="Fully qualified class name of the managed object"
                   type="java.lang.String"
              writeable="false"/>
  
      <attribute   name="debug"
            description="The debugging detail level for this component"
                   type="int"/>
  
      <attribute   name="distributable"
            description="The distributable flag for Sessions created by this
                         Manager"
                   type="boolean"/>
  
      <attribute   name="entropy"
            description="A String initialization parameter used to increase the
                         entropy of the initialization of our random number
                         generator"
                   type="java.lang.String"/>
   
      <!-- What is that ??? -->
      <attribute   name="managedResource"
            description="The managed resource this MBean is associated with"
                   type="java.lang.Object"/>
  
      <attribute   name="maxActiveSessions"
            description="The maximum number of active Sessions allowed, or -1
                         for no limit"
                   type="int"/>
  
      <attribute   name="maxInactiveInterval"
            description="The default maximum inactive interval for Sessions
                         created by this Manager"
                   type="int"/>
  
      <attribute   name="name"
            description="The descriptive name of this Manager implementation
                         (for logging)"
                   type="java.lang.String"
              writeable="false"/>
  
      <attribute   name="pathname"
            description="Path name of the disk file in which active sessions"
                   type="java.lang.String"/>
  
      <attribute   name="activeSessions"
            description="Number of active sessions at this moment"
                   type="int" 
              writeable="false"/>
  
      <attribute   name="sessionCounter"
            description="Total number of sessions created by this manager"
                   type="int" />
  
      <attribute   name="maxActive"
            description="Maximum number of active sessions so far"
                   type="int" />
  
      <attribute   name="rejectedSessions"
            description="Number of sessions we rejected due to maxActive beeing reached"
                   type="int" />
  
      <attribute   name="expiredSessions"
            description="Number of sessions that expired ( doesn't include explicit invalidations )"
                   type="int" />
  
      <attribute   name="processingTime"
            description="Time spent doing housekeeping and expiration"
                   type="long" />
  
      <attribute   name="duplicates"
            description="Number of duplicated session ids generated"
                   type="int" />
  
      <operation   name="listSessionIds"
            description="Return the list of active session ids"
                 impact="ACTION"
             returnType="java.lang.String">
      </operation>
  
      <operation   name="getSessionAttribute"
            description="Return a session attribute"
                 impact="ACTION"
             returnType="java.lang.String">
        <parameter name="sessionId"
            description="Id of the session"
                   type="java.lang.String"/>
        <parameter name="key"
            description="key of the attribute"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="expireSession"
            description="Expire a session"
                 impact="ACTION"
             returnType="void">
        <parameter name="sessionId"
            description="Id of the session"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="getLastAccessedTime"
            description="Get the last access time"
                 impact="ACTION"
             returnType="java.lang.String">
        <parameter name="sessionId"
            description="Id of the session"
                   type="java.lang.String"/>
      </operation>
  
    </mbean>
  
  </mbeans-descriptors>
  
  
  
  1.1                  jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/mbeans-descriptors.xml
  
  Index: mbeans-descriptors.xml
  ===================================================================
  <?xml version="1.0"?>
  <mbeans-descriptors>
  
    <mbean name="ContextConfig"
           description="Startup event listener for a Context that configures the properties of that Context, and the associated defined servlets"
           domain="Catalina"
           group="Listener"
           type="org.apache.catalina.startup.ContextConfig">
      
      <attribute name="className"
                 description="Fully qualified class name of the managed object"
                 type="java.lang.String"
                 writeable="false"/>
        
      <attribute name="debug"
                 description="The debugging detail level for this component"
                 type="int"/>
    </mbean>
  
    <mbean name="EngineConfig"
           description="Startup event listener for a Engine that configures the properties of that Engine, and the associated defined contexts"
           domain="Catalina"
           group="Listener"
           type="org.apache.catalina.startup.EngineConfig">
  
      <attribute name="className"
                 description="Fully qualified class name of the managed object"
                 type="java.lang.String"
                 writeable="false"/>
        
      <attribute name="debug"
                 description="The debugging detail level for this component"
                 type="int"/>
    </mbean>
  
  
    <mbean name="HostConfig"
           description="Startup event listener for a Host that configures the properties of that Host, and the associated defined contexts"
           domain="Catalina"
           group="Listener"
           type="org.apache.catalina.startup.HostConfig">
      
      <attribute name="className"
                 description="Fully qualified class name of the managed object"
                 type="java.lang.String"
                 writeable="false"/>
  
      <attribute name="configClass"
                 description="The Java class name of the Context configuration class we should use"
                 type="java.lang.String"/>
  
      <attribute name="contextClass"
                 description="The Java class name of the Context implementation we should use"
                 type="java.lang.String"/>
        
      <attribute   name="debug"
                 description="The debugging detail level for this component"
                 type="int"/>
    </mbean>
  
  </mbeans-descriptors>
  
  
  
  1.1                  jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/users/mbeans-descriptors.xml
  
  Index: mbeans-descriptors.xml
  ===================================================================
  <?xml version="1.0"?>
  <mbeans-descriptors>
  
    <mbean         name="JDBCUserDatabase"
              className="org.apache.catalina.mbeans.JDBCUserDatabaseMBean"
            description="JDBC based user and group database"
                 domain="Users"
                  group="UserDatabase"
                   type="org.apache.catalina.users.JDBCUserDatabase">
  
      <attribute   name="groups"
            description="MBean Names of all defined groups"
                   type="[Ljava.lang.String;"
              writeable="false"/>
  
      <attribute   name="roles"
            description="MBean Names of all defined roles"
                   type="[Ljava.lang.String;"
              writeable="false"/>
  
      <attribute   name="users"
            description="MBean Names of all defined users"
                   type="[Ljava.lang.String;"
              writeable="false"/>
  
      <operation   name="createGroup"
            description="Create new group and return MBean name"
                 impact="ACTION"
             returnType="java.lang.String">
        <parameter name="groupname"
            description="Group name of the new group"
                   type="java.lang.String"/>
        <parameter name="description"
            description="Description of the new group"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="createRole"
            description="Create new role and return MBean name"
                 impact="ACTION"
             returnType="java.lang.String">
        <parameter name="rolename"
            description="Role name of the new role"
                   type="java.lang.String"/>
        <parameter name="description"
            description="Description of the new role"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="createUser"
            description="Create new user and return MBean name"
                 impact="ACTION"
             returnType="java.lang.String">
        <parameter name="username"
            description="User name of the new user"
                   type="java.lang.String"/>
        <parameter name="password"
            description="Password of the new user"
                   type="java.lang.String"/>
        <parameter name="fullName"
            description="Full name of the new user"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="findGroup"
            description="Return MBean Name of the specified group (if any)"
                 impact="INFO"
             returnType="java.lang.String">
        <parameter name="groupname"
            description="Group name of the requested group"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="findRole"
            description="Return MBean Name of the specified role (if any)"
                 impact="INFO"
             returnType="java.lang.String">
        <parameter name="rolename"
            description="Role name of the requested role"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="findUser"
            description="Return MBean Name of the specified user (if any)"
                 impact="INFO"
             returnType="java.lang.String">
        <parameter name="username"
            description="User name of the requested user"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="removeGroup"
            description="Remove existing group (and all user memberships)"
                 impact="ACTION"
             returnType="void">
        <parameter name="groupname"
            description="Group name of the group to remove"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="removeRole"
            description="Remove existing role"
                 impact="ACTION"
             returnType="void">
        <parameter name="rolename"
            description="Role name of the role to remove"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="removeUser"
            description="Remove existing user (and all group memberships)"
                 impact="ACTION"
             returnType="void">
        <parameter name="username"
            description="User name of the user to remove"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="save"
            description="Save current users and groups to persistent storage"
                 impact="ACTION"
             returnType="void">
      </operation>
  
  
      <operation name="start" description="Start" impact="ACTION" returnType="void" />
      <operation name="stop" description="Stop" impact="ACTION" returnType="void" />
      <operation name="init" description="Init" impact="ACTION" returnType="void" />
      <operation name="destroy" description="Destroy" impact="ACTION" returnType="void" />
    </mbean>
  
    <mbean         name="MemoryUserDatabase"
              className="org.apache.catalina.mbeans.MemoryUserDatabaseMBean"
            description="In-memory user and group database"
                 domain="Users"
                  group="UserDatabase"
                   type="org.apache.catalina.users.MemoryUserDatabase">
  
      <attribute   name="encoding"
            description="Character encoding to use when writing XML file"
                   type="java.lang.String"/>
  
      <attribute   name="groups"
            description="MBean Names of all defined groups"
                   type="[Ljava.lang.String;"
              writeable="false"/>
  
      <attribute   name="pathname"
            description="Relative or absolute pathname to database file"
                   type="java.lang.String"/>
  
      <attribute   name="roles"
            description="MBean Names of all defined roles"
                   type="[Ljava.lang.String;"
              writeable="false"/>
  
      <attribute   name="users"
            description="MBean Names of all defined users"
                   type="[Ljava.lang.String;"
              writeable="false"/>
  
      <operation   name="createGroup"
            description="Create new group and return MBean name"
                 impact="ACTION"
             returnType="java.lang.String">
        <parameter name="groupname"
            description="Group name of the new group"
                   type="java.lang.String"/>
        <parameter name="description"
            description="Description of the new group"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="createRole"
            description="Create new role and return MBean name"
                 impact="ACTION"
             returnType="java.lang.String">
        <parameter name="rolename"
            description="Role name of the new role"
                   type="java.lang.String"/>
        <parameter name="description"
            description="Description of the new role"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="createUser"
            description="Create new user and return MBean name"
                 impact="ACTION"
             returnType="java.lang.String">
        <parameter name="username"
            description="User name of the new user"
                   type="java.lang.String"/>
        <parameter name="password"
            description="Password of the new user"
                   type="java.lang.String"/>
        <parameter name="fullName"
            description="Full name of the new user"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="findGroup"
            description="Return MBean Name of the specified group (if any)"
                 impact="INFO"
             returnType="java.lang.String">
        <parameter name="groupname"
            description="Group name of the requested group"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="findRole"
            description="Return MBean Name of the specified role (if any)"
                 impact="INFO"
             returnType="java.lang.String">
        <parameter name="rolename"
            description="Role name of the requested role"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="findUser"
            description="Return MBean Name of the specified user (if any)"
                 impact="INFO"
             returnType="java.lang.String">
        <parameter name="username"
            description="User name of the requested user"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="removeGroup"
            description="Remove existing group (and all user memberships)"
                 impact="ACTION"
             returnType="void">
        <parameter name="groupname"
            description="Group name of the group to remove"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="removeRole"
            description="Remove existing role"
                 impact="ACTION"
             returnType="void">
        <parameter name="rolename"
            description="Role name of the role to remove"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="removeUser"
            description="Remove existing user (and all group memberships)"
                 impact="ACTION"
             returnType="void">
        <parameter name="username"
            description="User name of the user to remove"
                   type="java.lang.String"/>
      </operation>
  
      <operation   name="save"
            description="Save current users and groups to persistent storage"
                 impact="ACTION"
             returnType="void">
      </operation>
  
  
      <operation name="start" description="Start" impact="ACTION" returnType="void" />
      <operation name="stop" description="Stop" impact="ACTION" returnType="void" />
      <operation name="init" description="Init" impact="ACTION" returnType="void" />
      <operation name="destroy" description="Destroy" impact="ACTION" returnType="void" />
    </mbean>
  
  
  </mbeans-descriptors>
  
  
  
  1.1                  jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/mbeans-descriptors.xml
  
  Index: mbeans-descriptors.xml
  ===================================================================
  <?xml version="1.0"?>
  <mbeans-descriptors>
  
    <mbean         name="SimpleTcpCluster"
              className="org.apache.catalina.mbeans.ClassNameMBean"
            description="Tcp Cluster implementation"
                 domain="Catalina"
                  group="Cluster"
                   type="org.apache.catalina.cluster.tcp.SimpleTcpCluster">
  
      <attribute   name="protocolStack"
            description="JavaGroups protocol stack selection"
                   type="java.lang.String"/>
  
    </mbean>
  
  
    <mbean         name="SimpleTcpReplicationManager"
              className="org.apache.catalina.mbeans.ClassNameMBean"
            description="Clustered implementation of the Manager interface"
                 domain="Catalina"
                  group="Manager"
                   type="org.apache.catalina.cluster.tcp.SimpleTcpReplicationManager">
  
      <attribute   name="algorithm"
            description="The message digest algorithm to be used when generating
                         session identifiers"
                   type="java.lang.String"/>
  
      <attribute   name="checkInterval"
            description="The interval (in seconds) between checks for expired
                         sessions"
                   type="int"/>
  
      <attribute   name="className"
            description="Fully qualified class name of the managed object"
                   type="java.lang.String"
              writeable="false"/>
  
      <attribute   name="debug"
            description="The debugging detail level for this component"
                   type="int"/>
  
      <attribute   name="distributable"
            description="The distributable flag for Sessions created by this
                         Manager"
                   type="boolean"/>
  
      <attribute   name="entropy"
            description="A String initialization parameter used to increase the
                         entropy of the initialization of our random number
                         generator"
                   type="java.lang.String"/>
  
      <attribute   name="managedResource"
            description="The managed resource this MBean is associated with"
                   type="java.lang.Object"/>
  
      <attribute   name="maxActiveSessions"
            description="The maximum number of active Sessions allowed, or -1
                         for no limit"
                   type="int"/>
  
      <attribute   name="maxInactiveInterval"
            description="The default maximum inactive interval for Sessions
                         created by this Manager"
                   type="int"/>
  
      <attribute   name="name"
            description="The descriptive name of this Manager implementation
                         (for logging)"
                   type="java.lang.String"
              writeable="false"/>
  
      <attribute   name="pathname"
            description="Path name of the disk file in which active sessions"
                   type="java.lang.String"/>
  
    </mbean>
  
  
  
  <mbean         name="ReplicationValve"
              className="org.apache.catalina.mbeans.ClassNameMBean"
            description="Valve for simple tcp replication"
                 domain="Catalina"
                  group="Valve"
                   type="org.apache.catalina.cluster.tcp.ReplicationValve">
  
      <attribute   name="className"
            description="Fully qualified class name of the managed object"
                   type="java.lang.String"
              writeable="false"/>
  
      <attribute   name="debug"
            description="The debugging detail level for this component"
                   type="int"/>
  
    </mbean>
  
  
  </mbeans-descriptors>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org