[jboss-cvs] JBossCache/src-50/resources ...

Ben Wang bwang at jboss.com
Sun Sep 24 04:18:41 EDT 2006


  User: bwang   
  Date: 06/09/24 04:18:41

  Modified:    src-50/resources  pojocache-aop.xml
  Log:
  upd
  
  Revision  Changes    Path
  1.2       +14 -1     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.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- pojocache-aop.xml	24 Sep 2006 08:10:57 -0000	1.1
  +++ pojocache-aop.xml	24 Sep 2006 08:18:41 -0000	1.2
  @@ -1,4 +1,9 @@
   <?xml version="1.0" encoding="UTF-8"?>
  +<!--
  +    This is the pojocache configuration file to use the jboss aop library.
  +    To run PojoCache, you will need to define a system property:
  +    jboss.aop.path that contains the path to this file.
  +-->
   <aop>
   
      <!--
  @@ -6,28 +11,37 @@
      -->
      <!-- Check id range validity -->
      <interceptor name="CheckId" class="org.jboss.cache.pojo.interceptors.CheckIdInterceptor" scope="PER_INSTANCE"/>
  +
      <!-- Track Tx undo operation -->
      <interceptor name="Undo" class="org.jboss.cache.pojo.interceptors.PojoTxUndoInterceptor" scope="PER_INSTANCE"/>
  +
      <!-- Begining -->
      <interceptor name="Start" class="org.jboss.cache.pojo.interceptors.PojoBeginInterceptor" scope="PER_INSTANCE"/>
  +
      <!-- Check if we need a local tx for batch processing -->
      <interceptor name="Tx" class="org.jboss.cache.pojo.interceptors.PojoTxInterceptor" scope="PER_INSTANCE"/>
  +
      <!-- Mockup failed tx for testing -->
      <interceptor name="MockupTx" class="org.jboss.cache.pojo.interceptors.PojoFailedTxMockupInterceptor" scope="PER_INSTANCE"/>
  +
      <!-- Perform parent level node locking -->
      <interceptor name="TxLock" class="org.jboss.cache.pojo.interceptors.PojoTxLockInterceptor" scope="PER_INSTANCE"/>
  +
      <!-- 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">
            <attribute name="marshallNonSerializable">false</attribute>
                   </interceptor>
   
  +   <!-- This defines the stack macro -->
      <stack name="Attach">
         <interceptor-ref name="Start"/>
         <interceptor-ref name="CheckId"/>
  @@ -164,5 +178,4 @@
      -->
      <prepare expr="field(* $instanceof{@org.jboss.cache.aop.annotation.InstanceOfPojoCacheable}->*)" />
   
  -
   </aop>
  
  
  



More information about the jboss-cvs-commits mailing list