dev@glassfish.java.net

Re: [Asking]About EclipseLink Weaving

From: Mitesh Meswani <mitesh.meswani_at_oracle.com>
Date: Mon, 08 Apr 2013 09:50:09 -0700

Hi Tang,

If you are just interested in seeing what EclipseLink does for weaving,
you can statically weave the classes and then decompile.

Post to eclipselink-users_at_eclipse.org for more questions around
EclipseLink weaving.

Thanks.
Mitesh
On 4/8/2013 8:30 AM, Tang Yong wrote:
> Team,
>
> I have a question about EclipseLink Weaving.
>
> For the following a entity,
>
> @Embeddable
> public class A extends B<String> implements Serializable {
> ...
> }
>
> After A was weaved by eclipselink , how I can find the contents of weaved A?
>
> Here has a background as following:
>
> After A was weaved by eclipselink, calling it's clazz.getInterfaces()
> will return more than interfaces than "Serializable"
> (eg.org.eclipse.persistence.internal.weaving.PersistenceWeaved...).
>
> So, I want to see what happened after weaving.
>
> Thanks
> --Tang
>
>