Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7172

Problem to bind AOP interceptor pointcut to EJB 3 remote method invocation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-5.1.0.GA
    • AOP, EJB
    • None

      When binding AOP interceptor by following jboss-aop.xml descriptor, no interception is done when invoking matching EJB 3 business method via remote access. But it works when invoked locally. Also it works when using EJB 2.0. In JBoss 4.2.x it works fine.

      <aop xmlns="urn:jboss:aop-beans:1.0">
      <interceptor name="TestInterceptor" class="evilcroco.interceptor.TestInterceptor" />

      <bind pointcut="execution(public * evilcroco.->(..))">
      <interceptor-ref name="TestInterceptor"/>
      </bind>
      </aop>

              kkhan1@redhat.com Kabir Khan
              vit.jonas_jira Ví­t Jonáš (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: