>> Hi everyone, >> >> I am currently developing a OSGI based application in which we are using >> springDM and virgo as the server and facing the below mentioned issue: >> >> I have an aspect for logging, which logs the method level entry & exit data. >> I have it configured using spring aop in a bundle (common-bundle) and trying >> to use it in other bundles outside the common bundle. >> >> When tested using junit test cases within the bundle it is working but when >> deployed in Virgo or with the Gemini blueprint based integration test that >> we have it failed to apply the aspects. >> >> My undertsanding was when i have the aspects declared in one bundle and when >> given as a dependency through maven along with appropriate package imports >> and exports in consumers and providers, it should work. >> >> eg: when common-bundle is imported into service-bundle (using import-bundle >> or require-bundle), will aspects for logging in common-bundle be applied on >> the service methods ? >> >> or should I do a special reference in osgi context ? Will I be able to use >> spring aop based aspects created in one bundle in another bundle ? If do how >> do I refer to it ? >> >> I have all the required bunldes like- CGLIB and spring aop. >> >> Please suggest. Thanks for the help in advance. >> > Thanks, > Ganesh Mohan.
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
