The PersistenceManagerFactory in SVN is desperately in need of the following
adding to it ;-)
/**
* Adds the listener instance to the list of lifecycle event
* listeners. The <code>classes</code> parameter identifies all
* of the classes of interest. If the <code>classes</code>
* parameter is specified as <code>null</code>, events for all
* persistent classes and interfaces will be sent to
* <code>listenerInstance</code>.
* <p>The listenerInstance will be called for each event for which it
* implements the corresponding listenerInstance interface.</p>
* @param listener the lifecycle listener
* @param classes the classes of interest to the listener
* @since 2.0
*/
void addInstanceLifecycleListener (InstanceLifecycleListener listener,
Class[] classes);
/**
* Removes the listener instance from the list of lifecycle event
listeners.
* @param listener the listener instance to be removed
* @since 2.0
*/
void removeInstanceLifecycleListener (InstanceLifecycleListener listener);
--
Andy
Java Persistent Objects JDO - JPOX