public class ProfilingActivationInterceptor extends AbstractInterceptor
 
 // to change the profiling key
 <action ...>
   ...
   <interceptor-ref name="profiling">
      <param name="profilingKey">profilingKey</param>
   </interceptor-ref>
   ...
 </action>
 
 | Constructor and Description | 
|---|
| ProfilingActivationInterceptor() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getProfilingKey() | 
| String | intercept(ActionInvocation invocation)Override to handle interception | 
| void | setDevMode(String mode) | 
| void | setProfilingKey(String profilingKey) | 
destroy, initpublic String getProfilingKey()
public void setProfilingKey(String profilingKey)
profilingKey - the profilingKey to setpublic void setDevMode(String mode)
public String intercept(ActionInvocation invocation) throws Exception
AbstractInterceptorintercept in interface Interceptorintercept in class AbstractInterceptorinvocation - the action invocationActionInvocation.invoke(), or from the interceptor itself.Exception - any system-level error, as defined in Action.execute().Copyright © 2000–2019 Apache Software Foundation. All rights reserved.