org.apache.tapestry5.jmx

## Interface MBeanSupport

- All Known Implementing Classes:
    MBeanSupportImpl

      public interface MBeanSupport

  Creates an MBean server and registers MBeans with the created server. The registered MBeans are unregistered when Registry is shut down.
  Since:
    5.2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `register(Object bean, ObjectName objectName)` Registers the specified MBean with the server.
    `void` | `register(Object bean, String name)` Registers the specific MBean with the server.
    `void` | `unregister(ObjectName objectName)` Unregisters the specified MBean from the server.

- - ### Method Detail

    - #### register

          void register(Object bean,
                        ObjectName objectName)

      Registers the specified MBean with the server.
      Parameters:
        `bean` - the MBean instance
        `objectName` - the name for the MBean

    - #### register

          void register(Object bean,
                        String name)

      Registers the specific MBean with the server.
      Parameters:
        `bean` - the MBean instance
        `name` - string name used to create an `ObjectName`
      Since:
        5.3

    - #### unregister

          void unregister(ObjectName objectName)

      Unregisters the specified MBean from the server.
      Parameters:
        `objectName` - the name for the MBean

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.