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, init
public String getProfilingKey()
public void setProfilingKey(String profilingKey)
profilingKey
- the profilingKey to setpublic void setDevMode(String mode)
public String intercept(ActionInvocation invocation) throws Exception
AbstractInterceptor
intercept
in interface Interceptor
intercept
in class AbstractInterceptor
invocation
- 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.