Apache JDO Project - @Implements annotation

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > August 2007 > @Implements annotation





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author @Implements annotation
cbeams

2007-08-24, 7:11 pm

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 L Russell

2007-08-25, 1:11 am

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com