[jboss-cvs] JBossCache/src-50/resources ...
Ben Wang
bwang at jboss.com
Tue Nov 21 05:20:35 EST 2006
User: bwang
Date: 06/11/21 05:20:35
Modified: src-50/resources pojocache-aop.xml
Log:
JBCACHE-868 Renaming PojoCache annotation.
Revision Changes Path
1.8 +7 -3 JBossCache/src-50/resources/pojocache-aop.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: pojocache-aop.xml
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src-50/resources/pojocache-aop.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- pojocache-aop.xml 21 Nov 2006 06:08:33 -0000 1.7
+++ pojocache-aop.xml 21 Nov 2006 10:20:35 -0000 1.8
@@ -140,16 +140,20 @@
-->
<!-- If a POJO has PojoCachable annotation, it will be asepctized. -->
- <prepare expr="field(* @org.jboss.cache.pojo.annotation.Replicable->*)" />
+ <!--
+ Supports inheritance and polymorphism. It can either be a concrete class
+ or an interface. All sub-classes or interface implementors will be instrumeneted.
+ -->
+ <prepare expr="field(* $instanceof{@org.jboss.cache.pojo.annotation.Replicable}->*)" />
<!-- Observer and Observable to monitor field modification -->
<bind pointcut="
- set(* @org.jboss.cache.pojo.annotation.Replicable->*)
+ set(* $instanceof{@org.jboss.cache.pojo.annotation.Replicable}->*)
">
<interceptor class="org.jboss.cache.pojo.observable.SubjectInterceptor"/>
</bind>
- <introduction class="@org.jboss.cache.pojo.annotation.Replicable">
+ <introduction class="$instanceof{@org.jboss.cache.pojo.annotation.Replicable}">
<mixin>
<interfaces>org.jboss.cache.pojo.observable.Subject</interfaces>
<class>org.jboss.cache.pojo.observable.SubjectImpl</class>
More information about the jboss-cvs-commits
mailing list