db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: @Implements annotation
Date Sat, 25 Aug 2007 04:03:29 GMT
Hi Chris,

The real description is found in the xml equivalent in 18.10. Does  
this help?

Regards,

Craig

On Aug 24, 2007, at 2:32 PM, cbeams wrote:

> I'd like to get a little clarity on the @Implements annotation.   
> Why does it need to exist?
>
> For example:
>
>     @PersistenceCapable
>     @Implements(org.jpox.samples.MyInterface.class)
>     public class MyClass implement MyInterface
>     {
>         ...
>     }
>
> This just seems redundant at first glance.  I'm sure there is a  
> valid reason, but the spec doesn't say much (at least it doesn't in  
> the 19.18 section).  Please enlighten me, thanks.
>
> - Chris
>
> Chris Beams
>

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!


Mime
View raw message