[jboss-cvs] JBossCache/src/resources ...
Ben Wang
bwang at jboss.com
Wed Aug 2 06:29:27 EDT 2006
User: bwang
Date: 06/08/02 06:29:27
Modified: src/resources jboss-aop.xml
Log:
JBCACHE-694 Recurive toString
Revision Changes Path
1.17 +15 -3 JBossCache/src/resources/jboss-aop.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: jboss-aop.xml
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/resources/jboss-aop.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- jboss-aop.xml 31 Jul 2006 05:15:14 -0000 1.16
+++ jboss-aop.xml 2 Aug 2006 10:29:26 -0000 1.17
@@ -37,7 +37,7 @@
<!--
Supports inheritance and polymorphism. It can either be a concrete class
- or an interface. All sub-classes or interface implementors will be instrumeneted.
+ or an interface. All sub-classes or intrface implementors will be instrumeneted.
-->
<prepare expr="field(* $instanceof{@org.jboss.cache.aop.InstanceOfAopMarker}->*)" />
@@ -70,7 +70,6 @@
-->
<prepare expr="field(* $instanceof{@org.jboss.cache.pojo.annotation.InstanceOfPojoCacheable}->*)" />
-
<!-- Observer and Observable to monitor field modification -->
<bind pointcut="
set(* $instanceof{@org.jboss.cache.pojo.annotation.InstanceOfPojoCacheable}->*) OR
@@ -113,6 +112,9 @@
<!-- Interceptor to perform Pojo level rollback -->
<interceptor name="TxUndo" class="org.jboss.cache.pojo.interceptors.PojoTxUndoSynchronizationInterceptor"
scope="PER_INSTANCE"/>
+ <!-- Interceptor to perform Pojo level rollback -->
+ <interceptor name="Reentrant" class="org.jboss.cache.pojo.interceptors.MethodReentrancyStopperInterceptor"
+ scope="PER_INSTANCE"/>
<!-- Whether to allow non-serializable pojo -->
<interceptor name="MarshallNonSerializable" class="org.jboss.cache.pojo.interceptors.CheckNonSerializableInterceptor"
scope="PER_INSTANCE">
@@ -143,7 +145,17 @@
<interceptor-ref name="CheckId"/>
</stack>
- <!-- This bind the jointpoint to specific in-memory operations. Currently in PojoUtil. -->
+ <!-- TODO. Not working yet. This bind the jointpoint to specific in-memory operations. Currently in PojoUtil. -->
+ <!--bind pointcut="execution(*
+ @org.jboss.cache.pojo.annotation.Reentrant->toString())">
+ <interceptor-ref name="Reentrant"/>
+ </bind-->
+
+ <bind pointcut="execution(*
+ org.jboss.cache.pojo.collection.*->toString())">
+ <interceptor-ref name="Reentrant"/>
+ </bind>
+
<bind pointcut="execution(*
org.jboss.cache.pojo.PojoUtil->@org.jboss.cache.pojo.annotation.TxUndo(..))">
<interceptor-ref name="Undo"/>
More information about the jboss-cvs-commits
mailing list