Community
Participate
Working Groups
Hello, I want to integrate spring-loaded with aspectj. E.g. 1. I modify class and it's loaded (here we have original compiled class without any spring-loaded or aspectj modifications) 2. Then I need to get somehow weaved bytecode from aspectj. 3. Then I need to pass this bytecode further for spring-loaded. How I can get this weaved bytecode? (I'm using LTW). I have found plugin mechanism in spring-loaded which resolves issue when server stating. It provides ability to call Aj.preProcess during startup, so we get weaved class and it's ok. (So, I didn't enable aspectjweaver agent. I just use code like aj.preProcess (aj is a static var) for classes which are intercepted by spring-loaded) The issue is: when I reload class via spring-loaded asjectj logs print error about not existing interface ( which is added by spring-loaded I guess ). E.g. [ChildClassLoader@16d9e492] error can't determine implemented interfaces of missing type <originalClassName>__I. Is there any method which takes bytecode and returns modified bytecode? (taking into account everything which is in aop.xml) P.S. It's not a bug apparently. I wonder is there any other place where I can ask similar questions, or it's ok to create a bug in such cases?