java.lang.Object | ||
↳ | org.springframework.aop.interceptor.AbstractTraceInterceptor | |
↳ | org.springframework.aop.interceptor.AbstractMonitoringInterceptor |
Known Direct Subclasses |
Base class for monitoring interceptors, such as performance monitors.
Provides prefix
and suffix
properties
that help to classify/group performance monitoring results.
Subclasses should call the createInvocationTraceName(MethodInvocation)
method to create a name for the given trace that includes information about the
method invocation under trace along with the prefix and suffix added as appropriate.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.aop.interceptor.AbstractTraceInterceptor
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Set whether to log the invocation on the target class, if applicable
(i.e.
| |||||||||||
Set the text that will get appended to the trace data.
| |||||||||||
Set the text that will get prepended to the trace data.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a
String name for the given MethodInvocation
that can be used for trace/logging purposes. | |||||||||||
Return the text that will get appended to the trace data.
| |||||||||||
Return the text that will get prepended to the trace data.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.aop.interceptor.AbstractTraceInterceptor
| |||||||||||
From class
java.lang.Object
|
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.
Set the text that will get appended to the trace data.
Default is none.
Set the text that will get prepended to the trace data.
Default is none.
Create a String
name for the given MethodInvocation
that can be used for trace/logging purposes. This name is made up of the
configured prefix, followed by the fully-qualified name of the method being
invoked, followed by the configured suffix.