Hi,

I need to use AspectJ in my OSGi project. I am using Karaf 3.0.0-SNAPSHOT
as my project uses gemini-blueprint. I am following this (
http://dywicki.pl/2011/11/running-aspects-under-osgi-4-2-with-karaf/) link
to enable aspect weaving. However, I am not able to automate the process
using features/kar packaging. The method mentioned in the blog only works
if I do the steps manually.

I need to use AspectJ because I am trying to use the wormhole pattern to
pass user context from front-end to the persistence layer, and switch the
database based on the user context information received in the front-end.

Is there a way this can be automated? Are there any alternatives to do this
in Karaf? If yes, it will help to get some relevant examples/documentation.

Regards,
Aritra Chatterjee

Reply via email to