[Java] Class TracingInterceptor

  • groovy.lang.TracingInterceptor
All Implemented Interfaces and Traits:
Interceptor
public class TracingInterceptor
extends Object
implements Interceptor

Field Summary

Fields
Modifiers Name Description
protected Writer writer

Methods Summary

Methods
Type Params Return Type Name and description
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)

Inherited Methods Summary

Inherited Methods
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/3.0.7/html/gapi/groovy/lang/TracingInterceptor.html