6.3. PersistenceManager Extension
Prev | Chapter 6. Standard Features | Next

## 6.3. PersistenceManager Extension

Some advanced users may want to use a custom `PersistenceManager` in place of Kodo JDO's `com.solarmetric.kodo.runtime.PersistenceManagerImpl`.

Kodo JDO permits simple extension of the `PersistenceManager` used by the `PersistenceManagerFactory`. This can be useful when custom behavior is desired, or when an application needs to receive notification when certain `PersistenceManager` methods are invoked.

To specify a subclass of `PersistenceManagerImpl`, use the `com.solarmetric.kodo.PersistenceManagerClass` property. The class specified must extend `com.solarmetric.kodo.runtime.PersistenceManagerImpl` -- the method will throw a `JDOUserException` if it does not. You can also setup your custom `PersistenceManager` through the `com.solarmetric.kodo.PersistenceManagerClass` and `com.solarmetric.kodo.PersistenceManagerProperties` properties, as described in the configuration framework.

Prev | Up | Next
6.2. ExtentImpl | Home | 6.4. Custom Proxies