File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes OSGI and load time weaving Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "OSGI and load time weaving" Watch "OSGI and load time weaving" New topic
Author

OSGI and load time weaving

Don Scott
Greenhorn

Joined: Mar 10, 2009
Posts: 8
Many of our apps use a javaagent to do some loadtime weaving with ASM. Since OSGI has a sort of start/stop available status for a module, how much does this affect the bytecode weavin? Is compile time weaving even possible in a generic way yet ie. not just an Equinox solution?
Richard S. Hall
author
Ranch Hand

Joined: Feb 14, 2011
Posts: 47
Don Scott wrote:Many of our apps use a javaagent to do some loadtime weaving with ASM. Since OSGI has a sort of start/stop available status for a module, how much does this affect the bytecode weavin? Is compile time weaving even possible in a generic way yet ie. not just an Equinox solution?


The new R4.3 spec defines an approach for load-time weaving.
 
Consider Paul's rocket mass heater.
 
subject: OSGI and load time weaving
 
Similar Threads
Counting the Number of Instances Created
Dynamic Weaving in AspectJ
AOP & performance
* Welcome Arnaud Cogoluegnes, Thierry Templier & Andy Piper
Trying to find AOP runtime weaving solution for Java applets