[Java] Class TracingInterceptor
- groovy.lang.TracingInterceptor
- All Implemented Interfaces and Traits:
- Interceptor
public class TracingInterceptor extends Object
Field Summary
Modifiers | Name | Description |
---|---|---|
protected Writer | writer |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
Object |
afterInvoke(Object object, String methodName, Object[] arguments, Object result) | |
Object |
beforeInvoke(Object object, String methodName, Object[] arguments) | |
boolean |
doInvoke() | |
Writer |
getWriter() Returns the writer associated with this interceptor. | |
void |
setWriter(Writer writer) Changes the writer associated with this interceptor. | |
protected void |
write(Object object, String methodName, Object[] arguments, String origin) | |
protected void |
writeInfo(Class aClass, String methodName, Object[] arguments) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail
protected Writer writer
Method Detail
public Object afterInvoke(Object object, String methodName, Object[] arguments, Object result)
public Object beforeInvoke(Object object, String methodName, Object[] arguments)
public boolean doInvoke()
public Writer getWriter()
Returns the writer associated with this interceptor.
public void setWriter(Writer writer)
Changes the writer associated with this interceptor.
protected void write(Object object, String methodName, Object[] arguments, String origin)
protected void writeInfo(Class aClass, String methodName, Object[] arguments)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/groovy/lang/TracingInterceptor.html