MbeansDescriptorsSerSource (Apache Tomcat 7.0.96 API Documentation)

org.apache.tomcat.util.modeler.modules

## Class MbeansDescriptorsSerSource

- java.lang.Object
- - org.apache.tomcat.util.modeler.modules.ModelerSource
  - - org.apache.tomcat.util.modeler.modules.MbeansDescriptorsSerSource

-     public class MbeansDescriptorsSerSource
      extends ModelerSource

- - ### Field Summary

    - ### Fields inherited from class org.apache.tomcat.util.modeler.modules.ModelerSource

      `location, source`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MbeansDescriptorsSerSource()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute()`
    `java.util.List<javax.management.ObjectName>` | `loadDescriptors(Registry registry, java.lang.String type, java.lang.Object source)`
    `void` | `setLocation(java.lang.String loc)` Deprecated. Unused. Will be removed in Tomcat 8.0.x
    `void` | `setRegistry(Registry reg)`
    `void` | `setSource(java.lang.Object source)`
    `void` | `setType(java.lang.String type)` Used if a single component is loaded

    - ### Methods inherited from class org.apache.tomcat.util.modeler.modules.ModelerSource

      `getInputStream, loadDescriptors, store, updateField`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MbeansDescriptorsSerSource

          public MbeansDescriptorsSerSource()

  - ### Method Detail

    - #### setRegistry

          public void setRegistry(Registry reg)

    - #### setLocation

          @Deprecated
          public void setLocation(java.lang.String loc)

      Deprecated. Unused. Will be removed in Tomcat 8.0.x

    - #### setType

          public void setType(java.lang.String type)

      Used if a single component is loaded
      Parameters:
        `type` -

    - #### setSource

          public void setSource(java.lang.Object source)

    - #### loadDescriptors

          public java.util.List<javax.management.ObjectName> loadDescriptors(Registry registry,
                                                                    java.lang.String type,
                                                                    java.lang.Object source)
                                                                      throws java.lang.Exception

      Specified by:
        `loadDescriptors` in class `ModelerSource`
      Throws:
        `java.lang.Exception`

    - #### execute

          public void execute()
                       throws java.lang.Exception

      Throws:
        `java.lang.Exception`

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.