Hey all,

Is it possible to use an OSGI service in the advice of an aspect? It requires a 
BundleContext to use a service, which I have always gotten from an Activator. 
Should I make my Aspect into a bundle? I am lost of how to tackle this problem 
as of now :(

My goal is to hide the cross-cutting concern of undo from my gui classes that 
contain swing components. For example, all my JTextfields are undoable, and the 
code that enables this is very repetitive and it would be nice to centralise 
that code in one spot in an aspect :)


This e-mail and any files transmitted with it may be proprietary and are 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this e-mail in error please notify the sender.
Please note that any views or opinions presented in this e-mail are solely 
those of the author and do not necessarily represent those of ITT Corporation. 
The recipient should check this e-mail and any attachments for the presence of 
viruses. ITT accepts no liability for any damage caused by any virus 
transmitted by this e-mail.
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to