[jboss-cvs] jboss-seam/src/main/org/jboss/seam ...
Gavin King
gavin.king at jboss.com
Mon Sep 18 18:30:41 EDT 2006
User: gavin
Date: 06/09/18 18:30:41
Modified: src/main/org/jboss/seam Component.java
Log:
JBSEAM-352 interceptors for debug page
Revision Changes Path
1.161 +21 -1 jboss-seam/src/main/org/jboss/seam/Component.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Component.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/Component.java,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -b -r1.160 -r1.161
--- Component.java 18 Sep 2006 22:26:00 -0000 1.160
+++ Component.java 18 Sep 2006 22:30:41 -0000 1.161
@@ -88,7 +88,7 @@
*
* @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
* @author Gavin King
- * @version $Revision: 1.160 $
+ * @version $Revision: 1.161 $
*/
@Scope(ScopeType.APPLICATION)
public class Component
@@ -708,6 +708,26 @@
}
}
+ /**
+ * For use with Seam debug page.
+ *
+ * @return the server-side interceptor stack
+ */
+ public List<Interceptor> getServerSideInterceptors()
+ {
+ return getInterceptors(InterceptorType.SERVER);
+ }
+
+ /**
+ * For use with Seam debug page.
+ *
+ * @return the client-side interceptor stack
+ */
+ public List<Interceptor> getClientSideInterceptors()
+ {
+ return getInterceptors(InterceptorType.CLIENT);
+ }
+
public Method getDestroyMethod()
{
return destroyMethod;
More information about the jboss-cvs-commits
mailing list