You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by Andy Jefferson <an...@jpox.org> on 2005/03/30 22:02:47 UTC

JDO API2.0

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

Re: JDO API2.0

Posted by Craig Russell <Cr...@Sun.COM>.
Done. Checked into the svn repository.

Craig

On Mar 30, 2005, at 12:02 PM, Andy Jefferson wrote:

> 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
>
Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!