12.3. Accessing the MBeanServer from Code
Prev | Chapter 12. Management and Monitoring | Next

## 12.3. Accessing the MBeanServer from Code

You can access the MBeanServer in which the Kodo MBeans are registered using the `JDOConfiguration` interface's `getMBeanServer ()` method.

Example 12.1. Accessing the MBeanServer

    KodoPersistenceManagerFactory kpmf = ...;
    MBeanServer mbServer = kpmf.getConfiguration ().getMBeanServer ();

Prev | Up | Next
12.2. Kodo Management Console | Home | 12.4. MBeans