You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by tm...@apache.org on 2006/10/31 04:16:49 UTC
svn commit: r469354 -
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ProfilingActivationInterceptor.java
Author: tmjee
Date: Mon Oct 30 19:16:48 2006
New Revision: 469354
URL: http://svn.apache.org/viewvc?view=rev&rev=469354
Log:
WW-1460 - Adding activation interceptor, and added profiling hook in dispatcher
- added snippet to javadoc just like other interceptors
Modified:
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ProfilingActivationInterceptor.java
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ProfilingActivationInterceptor.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ProfilingActivationInterceptor.java?view=diff&rev=469354&r1=469353&r2=469354
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ProfilingActivationInterceptor.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/ProfilingActivationInterceptor.java Mon Oct 30 19:16:48 2006
@@ -24,8 +24,44 @@
import com.opensymphony.xwork2.util.profiling.UtilTimerStack;
/**
+ * <!-- START SNIPPET: description -->
+ *
* Allows profiling to be enabled or disabled via request parameters, when
* devMode is enabled.
+ *
+ * <!-- END SNIPPET: description -->
+ *
+ *
+ * <!-- START SNIPPET: parameters -->
+ *
+ * <ul>
+ * <li>profilingKey</li>
+ * </ul>
+ *
+ * <!-- END SNIPPET: parameters -->
+ *
+ * <!-- START SNIPPET: extending -->
+ *
+ * none
+ *
+ * <!-- END SNIPPET: extending -->
+ *
+ * <pre>
+ * <!-- START SNIPPET: example -->
+ *
+ * // to change the profiling key
+ * <action ...>
+ * ...
+ * <interceptor-ref name="profiling">
+ * <param name="profilingKey">profilingKey</param>
+ * </interceptor-ref>
+ * ...
+ * </action>
+ *
+ * <!-- END SNIPPET: example -->
+ * </pre>
+ *
+ * @version $Date$ $Id$
*/
public class ProfilingActivationInterceptor extends AbstractInterceptor {