1 Reply Latest reply on Nov 23, 2013 6:21 AM by mlemus

    Migrate Spring AOP from JBoss 4 to JBoss 7.1.1?

    mlemus

      Hello, sorry for my bad english.

      I'm migrating from Jboss 4 to Jboss 7.1.1 and I have a aspects.xml file with many aspects define, they look like this:

       

      <bean id="handler" class="com.main.Handler"></bean>

      <aop:config>

           <aop:aspect id="idaspect" ref="handler">

                <aop:around pointcut="execution(* com.pack.sample.FirstTest.helloWorld(..))" method="printHandler" />

           </aop:aspect>

      </aop:config>

       

      I undertand that this code don't function any more in Jboss 7.

      The question is, how can do this in Jboss 7?

       

      Thanks in advance.

       

      Miguel