1 Reply Latest reply on Nov 23, 2013 6:21 AM by Miguel Angel Lemus

    Migrate Spring AOP from JBoss 4 to JBoss 7.1.1?

    Miguel Angel Lemus Newbie

      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:aspect id="idaspect" ref="handler">

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




      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.