Interface JmxService

  • All Superinterfaces:
    java.io.Serializable, Service

    @Deprecated
    public interface JmxService
    extends Service
    Deprecated.
    Scheduled for removal in 6.0; see https://hibernate.atlassian.net/browse/HHH-14847 and https://hibernate.atlassian.net/browse/HHH-14846
    Service providing simplified access to JMX related features needed by Hibernate.
    • Method Detail

      • registerService

        void registerService​(Manageable service,
                             java.lang.Class<? extends Service> serviceRole)
        Deprecated.
        Handles registration of a manageable service.
        Parameters:
        service - The manageable service
        serviceRole - The service's role.
      • registerMBean

        void registerMBean​(javax.management.ObjectName objectName,
                           java.lang.Object mBean)
        Deprecated.
        Registers the given mBean under the given objectName
        Parameters:
        objectName - The name under which to register the MBean
        mBean - The MBean to register