[jboss-cvs] JBossCache/src/org/jboss/cache/interceptors ...
Manik Surtani
msurtani at jboss.com
Tue Aug 22 08:27:51 EDT 2006
User: msurtani
Date: 06/08/22 08:27:51
Modified: src/org/jboss/cache/interceptors Interceptor.java
Log:
Problem with invocation context leaking into notifications
Revision Changes Path
1.20 +17 -7 JBossCache/src/org/jboss/cache/interceptors/Interceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Interceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/Interceptor.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- Interceptor.java 18 Aug 2006 15:40:39 -0000 1.19
+++ Interceptor.java 22 Aug 2006 12:27:51 -0000 1.20
@@ -39,7 +39,7 @@
* Class representing an interceptor.
* <em>Note that this will be replaced by {@link org.jboss.aop.advice.Interceptor} in one of the next releases</em>
* @author Bela Ban
- * @version $Id: Interceptor.java,v 1.19 2006/08/18 15:40:39 msurtani Exp $
+ * @version $Id: Interceptor.java,v 1.20 2006/08/22 12:27:51 msurtani Exp $
*/
public abstract class Interceptor implements InterceptorMBean {
protected Interceptor next=null, last = null;
@@ -84,6 +84,16 @@
statsEnabled = enabled;
}
+ public Interceptor getLast()
+ {
+ return last;
+ }
+
+ public void setLast(Interceptor last)
+ {
+ this.last = last;
+ }
+
public Map dumpStatistics()
{
// should be implemented by individual interceptors
More information about the jboss-cvs-commits
mailing list