Interface ServerMXBean


public interface ServerMXBean
Interface of the MXBean of a Server.

An MBean is a managed Java object, similar to a JavaBeans component, that follows the design patterns set forth in the JMX specification. An MBean can represent a device, an application, or any resource that needs to be managed.

A standard MBean is defined by writing a Java interface called SomethingMBean and a Java class called Something that implements that interface. The interface lists the methods for all exposed attributes and operations. The class implements this interface and provides the functionality of the instrumented resource.

An MXBean is a type of MBean that references only a predefined set of data types. MXBeans also provide a convenient way to bundle related values together, without requiring clients to be configured to handle the bundles.

  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the number of executing instances.
    Returns the implementation version of a server.
  • Method Details

    • getServerVersion

      String getServerVersion()
      Returns the implementation version of a server.
      Returns:
      the implementation version of a server.
    • getInstanceCount

      int getInstanceCount()
      Returns the number of executing instances.
      Returns:
      the number of executing instances.