Table of Contents
Kodo JDO Enterprise Edition includes a number of proprietary features targeted at the enterprise developer. This chapter outlines these features.
Often, it is desirable to be able to do extra processing on a global basis when a change is made to an object. The JDO specification provides the javax.jdo.InstanceCallbacks interface to this end. However, if you wish to perform extra logic regardless of the type of the object, it is not ideal to require developers to make a callback to some global change listener. For example, if your application wished to log all deletes, you could use this callback mechanism to perform this logging without requiring that all your persistence-capable objects implement the jdoPreDelete() method.
The EEPersistenceManager uses the com.solarmetric.kodo.ee.ObjectEventListener interface to permit this type of global callback behavior. See the JavaDoc included with this documentation for more information on this interface.