Well, there is the PersistenceCapable interface.  That's what we key off of
to determine if a given Entity is enhanced or not.  So, I would start with
that class.  And, then as Rick pointed out, jad'ing the code will provide
more detail.

Good luck!
Kevin

On Thu, Jun 25, 2009 at 1:46 PM, David Goodenough <
[email protected]> wrote:

> On Thursday 25 June 2009, Kevin Sutter wrote:
> > Unfortunately, Rick is correct.  These added methods are not documented
> > currently.  But, it would be a great exercise for any aspiring
> committer...
> >
> > :-)  The other thing to keep in mind is that the Entity classes are
> > : enhanced
> >
> > "inline" as well.  That is, some of the existing methods have byte codes
> > weaved into existing method blocks as an aid to detect persistence
> > activities (updating attributes, etc).
> Where do you suppose that this aspiring committer might start looking in
> order to build this documentation.  Or is the source the only place?
>
> David
> >
> > Kevin
> >
> > On Thu, Jun 25, 2009 at 10:21 AM, Rick Curtis <[email protected]>
> wrote:
> > > David-
> > > If I remember correctly, there is little to no documentation about the
> > > methods that are added by the enhancement processing(someone please
> > > correct me if I've missed something). Previously as an academic
> exercise
> > > I decompiled an enhanced class to see what was added... that may be
> your
> > > best place to start. Good luck.
> > >
> > > -Rick
> > >
> > > On Thu, Jun 25, 2009 at 8:56 AM, David Goodenough <
> > >
> > > [email protected]> wrote:
> > > > I realise that these methods are not part of JPA, and are not safe
> for
> > > > users
> > > > to call, but other than the source code that adds them, is there any
> > > > documentation for these methods, saying what they are, what they do
> and
> > > > what assumptions they make?
> > > >
> > > > David
>
>
>

Reply via email to