[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Possible regression in aop?

adrian@jboss.org do-not-reply at jboss.com
Thu Mar 20 22:29:13 EDT 2008


If you look at the following test in deployers:
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-deployers/trunk/deployers-impl/src/tests/org/jboss/test/deployers/scope/test/LoaderMetaDataRepositoryUnitTestCase.java?revision=70660&view=markup
it uses the AOPProxyFactory to test that deployments are getting constructed
with the correct scope/metadata, but it is currently failing with the latest aop upgrade.

This is the deployer that creates the proxy
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-deployers/trunk/deployers-impl/src/tests/org/jboss/test/deployers/scope/support/TestComponentCreator.java?revision=70660&view=markup
I've confirmed that the metadata passed to the proxy factory has the annotation,
but its not triggering the advice getting called when it invokes upon the proxy.

That this test fails is not a big issue, since nobody is really using the scoped
metadata setup by the deployers, but it could be indicitive of some other problem in aop
(assuming its not a broken test that just happened to work before by some fluke? ;-)


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138215#4138215

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138215



More information about the jboss-dev-forums mailing list