db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbeams <cbe...@gmail.com>
Subject @Implements annotation
Date Fri, 24 Aug 2007 21:32:20 GMT
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message