[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Array interception needed for jboss cache

kabir.khan@jboss.com do-not-reply at jboss.com
Tue Jan 2 07:12:10 EST 2007


I have added the ability to have different advice chains when reading and writing arrays. The following snippet from the tests should explain it

  |    <arraybind type="READ_WRITE">
  |    	<advice aspect="org.jboss.test.aop.array.AspectForPrecedence" name="advice"/>
  |    	<interceptor-ref name="org.jboss.test.aop.array.TestArrayElementInterceptor"/>
  |    </arraybind>
  |    <arraybind type="READ_ONLY">
  | 	   <interceptor-ref name="org.jboss.test.aop.array.TestArrayElementReadInterceptor"/>
  |    </arraybind>
  |    <arraybind type="WRITE_ONLY">
  | 	   <interceptor-ref name="org.jboss.test.aop.array.TestArrayElementWriteInterceptor"/>
  |    </arraybind>
  | 

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

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



More information about the jboss-dev-forums mailing list