I've enabled Spring Bean autodiscovery but got only one or two bean autodiscovered. I have two j2ee applications deployed into a single jboss server running under AppDynamics java agent. Both apps use spring with pretty simple contexts (two context per application - root context and dispatcher servlet).
What I am trying to find are scheduled jobs such as
<task:scheduled-tasks>
...<task:scheduled ref="myService" method="myMethod" cron="#{config.cron}"/>
...</task:scheduled-tasks>
It looks like when I set Spring Bean autodiscovery on, AppDynamics finds only one of my scheduled beans, but misses everything else. The only difference is that missing beans are bytecode modified by AspectJ. Configuring spring bean custom filters does not help either.
It is possible to use spring beans autodiscovery with AspectJ? Are there any configuration options to overcome this issue?