And to be clear, this is not part of standard OSGi and will not work
with other OSGi implementations. Currently, there is no approach for
doing this in a standard way.
-> richard
Jeff McAffer wrote:
You might be interested in looking at the support we put in Equinox for load
time weaving of aspects. See
http://www.eclipse.org/equinox/incubator/aspects/index.php
This approach addresses issues around the actual weaving, the discovery of
aspects and the addition of dependencies required to load the woven code.
Further issues/questions about this stuff should be directed towards the
equinox mailing list ([EMAIL PROTECTED])
Jeff
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:osgi-dev-
[EMAIL PROTECTED] On Behalf Of Luca Ferrari
Sent: Friday, March 21, 2008 12:16 PM
To: [email protected]
Subject: [osgi-dev] altering a class definition thru a classloader in
OSGi?
Hi all,
first of all apologize for my question, I'm quite new to OSGi and I'm
studying
it right now. If I got it right, OSGi uses classloaders to implement
the
modularity and to expose classes that are exposed as services. Now, I'm
working on a framework that applies AOP-like techniques at class
loading
time, and since it is a framework, I'm thinking of making it OSGi
compliant.
My doubt is about my use of classloaders: should I worry about my
custom
classloaders? Please note that the classes that implement services do
not
change their definition, but change the definition of application-side
classes. Also the classloader that provides such manipulation is a
class that
does not change at runtime, so my service classes and objects are
"stable",
but I need a classloader in "user space" to alter running classes. Is
this
possible? Is there something in particular I should read/study to
achieve my
goal?
Thanks,
Luca
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev