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

Ben Wang bwang at jboss.com
Thu Jul 13 03:53:40 EDT 2006


  User: bwang   
  Date: 06/07/13 03:53:40

  Modified:    src/resources  jboss-aop.xml
  Log:
  Added CheckNonSerializableInterceptor to check for marshalling non-serializable pojo.
  
  Revision  Changes    Path
  1.15      +8 -1      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.14
  retrieving revision 1.15
  diff -u -b -r1.14 -r1.15
  --- jboss-aop.xml	13 Jul 2006 06:42:26 -0000	1.14
  +++ jboss-aop.xml	13 Jul 2006 07:53:40 -0000	1.15
  @@ -109,11 +109,18 @@
      <!-- 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 name="TxUndo" class="org.jboss.cache.pojo.interceptors.PojoTxUndoSynchronizationInterceptor"
  +                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>
   
      <stack name="Attach">
         <interceptor-ref name="Start"/>
         <interceptor-ref name="CheckId"/>
  +      <interceptor-ref name="MarshallNonSerializable"/>
         <interceptor-ref name="Tx"/>
         <interceptor-ref name="TxLock"/>
         <interceptor-ref name="TxUndo"/>
  
  
  



More information about the jboss-cvs-commits mailing list