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 {
 


Reply via email to