[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: InterceptorSimpleIfaceDeploymentTestCase

kabir.khan@jboss.com do-not-reply at jboss.com
Wed Nov 26 09:15:10 EST 2008


It should be

  |    <bind xmlns="urn:jboss:aop-beans:1.0" pointcut="execution(* $instanceof{org.jboss.test.microcontainer.beans.iPOJO}->$implements{org.jboss.test.microcontainer.beans.iPOJO}(..))">
  |       <interceptor-ref name="org.jboss.test.microcontainer.beans.TestInterceptor"/>
  |    </bind>
  | 

i.e.
$instanceof{} rather than $instanceof() and you need the parameters.

I've updated the test so it works

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

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



More information about the jboss-dev-forums mailing list