[jboss-cvs] jboss-seam/src/debug/org/jboss/seam/debug/hot ...
Gavin King
gavin.king at jboss.com
Thu Mar 8 00:02:30 EST 2007
User: gavin
Date: 07/03/08 00:02:30
Modified: src/debug/org/jboss/seam/debug/hot HotDeployFilter.java
Log:
JBSEAM-998
Revision Changes Path
1.3 +7 -0 jboss-seam/src/debug/org/jboss/seam/debug/hot/HotDeployFilter.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: HotDeployFilter.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/debug/org/jboss/seam/debug/hot/HotDeployFilter.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- HotDeployFilter.java 7 Mar 2007 17:25:58 -0000 1.2
+++ HotDeployFilter.java 8 Mar 2007 05:02:30 -0000 1.3
@@ -19,7 +19,9 @@
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.Startup;
+import org.jboss.seam.core.Exceptions;
import org.jboss.seam.core.Init;
+import org.jboss.seam.core.Pages;
import org.jboss.seam.init.Initialization;
import org.jboss.seam.log.LogProvider;
import org.jboss.seam.log.Logging;
@@ -50,6 +52,11 @@
}
}
}
+
+ //TODO: check the timestamp, for a minor optimization
+ getServletContext().removeAttribute( Seam.getComponentName(Pages.class) );
+ getServletContext().removeAttribute( Seam.getComponentName(Exceptions.class) );
+
chain.doFilter(request, response);
}
More information about the jboss-cvs-commits
mailing list