Class Config.Jmx
java.lang.Object
io.hypersistence.optimizer.core.config.Config.Jmx
- Enclosing class:
- Config
JMX configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the MBean server to use for registering the JMX Beans.Get the name of the current Persistence Unit.setMBeanServer(MBeanServer mBeanServer) Set the MBean server to use for registering the JMX Beans.
-
Constructor Details
-
Jmx
Init constructor.- Parameters:
persistenceUnitName- Persistence Unit name
-
-
Method Details
-
getPersistenceUnitName
Get the name of the current Persistence Unit.- Returns:
- the name of the current Persistence Unit
-
getMBeanServer
Get the MBean server to use for registering the JMX Beans.- Returns:
- the MBean server to use for registering the JMX Beans
-
setMBeanServer
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
-