In their invokeUnderTrace implementation, subclasses should call the
createInvocationTraceName method to create a name for the given trace,
including information about the method invocation along with a prefix/suffix.
setPrefix, setSuffix, createInvocationTraceName
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | createInvocationTraceName(MethodInvocation invocation)
Create a |
| protected String | |
| protected String | |
| public void | setLogTargetClassInvocation(boolean logTargetClassInvocation)
Set whether to log the invocation on the target class, if applicable (i.e. if the method is actually delegated to the target class). |
| public void | |
| public void |
| logTargetClassInvocation | back to summary |
|---|---|
| private boolean logTargetClassInvocation | |
| prefix | back to summary |
|---|---|
| private String prefix | |
| suffix | back to summary |
|---|---|
| private String suffix | |
| AbstractMonitoringInterceptor | back to summary |
|---|---|
| public AbstractMonitoringInterceptor() | |
| createInvocationTraceName | back to summary |
|---|---|
| protected String createInvocationTraceName(MethodInvocation invocation) Create a | |
| getPrefix | back to summary |
|---|---|
| protected String getPrefix() Return the text that will get appended to the trace data. | |
| getSuffix | back to summary |
|---|---|
| protected String getSuffix() Return the text that will get prepended to the trace data. | |
| setLogTargetClassInvocation | back to summary |
|---|---|
| public void setLogTargetClassInvocation(boolean logTargetClassInvocation) Set whether to log the invocation on the target class, if applicable (i.e. if the method is actually delegated to the target class). Default is "false", logging the invocation based on the proxy interface/class name. | |
| setPrefix | back to summary |
|---|---|
| public void setPrefix(String prefix) Set the text that will get appended to the trace data. Default is none. | |
| setSuffix | back to summary |
|---|---|
| public void setSuffix(String suffix) Set the text that will get prepended to the trace data. Default is none. | |