Class Config.Jmx

java.lang.Object
io.hypersistence.optimizer.core.config.Config.Jmx
Enclosing class:
Config

public static class Config.Jmx extends Object
JMX configuration.
  • Constructor Details

    • Jmx

      public Jmx(String persistenceUnitName)
      Init constructor.
      Parameters:
      persistenceUnitName - Persistence Unit name
  • Method Details

    • getPersistenceUnitName

      public String getPersistenceUnitName()
      Get the name of the current Persistence Unit.
      Returns:
      the name of the current Persistence Unit
    • getMBeanServer

      public MBeanServer getMBeanServer()
      Get the MBean server to use for registering the JMX Beans.
      Returns:
      the MBean server to use for registering the JMX Beans
    • setMBeanServer

      public Config.Jmx setMBeanServer(MBeanServer mBeanServer)
      Set the MBean server to use for registering the JMX Beans.
      Parameters:
      mBeanServer - the MBean server to use for registering the JMX Beans
      Returns:
      a reference to this object