<html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Weaving and Instrumentation</title><meta content="DocBook XSL Stylesheets V1.76.0" name="generator"><link rel="home" href="index.html" title="Virgo Programmer Guide"><link rel="up" href="ch07.html" title="Chapter 7. Working with Common Enterprise Libraries"><link rel="prev" href="ch07s02.html" title="Working with DataSources"><link rel="next" href="ch07s04.html" title="JSP Tag Libraries"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table summary="Navigation header" width="100%"><tr><td align="left" width="20%"><a accesskey="p" href="ch07s02.html">Prev</a> </td><th align="center" width="60%"> </th><td align="right" width="20%"> <a accesskey="n" href="ch07s04.html">Next</a></td></tr></table><hr></div><div class="section" title="Weaving and Instrumentation"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="common-libraries-weaving-instrumentation"></a>Weaving and Instrumentation</h2></div></div></div><p> | |
When using a library that performs bytecode weaving or instrumentation, such as AspectJ, | |
OpenJPA or EclipseLink, any types that are woven must be able to see the library doing | |
the weaving. This is accomplished by adding an <code class="literal">Import-Library</code> for the | |
weaving library into all bundles that are to be woven. | |
</p><p> | |
Weaving is often used by JPA implementations to transform persisted types. When using a | |
JPA provider that uses load-time weaving, an <code class="literal">Import-Library</code> for the | |
provider is needed in the bundles containing the persisted types. | |
</p></div><div class="navfooter"><hr><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="ch07s02.html">Prev</a> </td><td align="center" width="20%"><a accesskey="u" href="ch07.html">Up</a></td><td align="right" width="40%"> <a accesskey="n" href="ch07s04.html">Next</a></td></tr><tr><td valign="top" align="left" width="40%"> </td><td align="center" width="20%"><a accesskey="h" href="index.html">Home</a></td><td valign="top" align="right" width="40%"> </td></tr></table></div></body></html> |