Groovy 2.2.1

groovy.lang
[Java] Class TracingInterceptor

java.lang.Object
  groovy.lang.TracingInterceptor
All Implemented Interfaces:
Interceptor

public class TracingInterceptor
extends Object

Field Summary
protected Writer writer

 
Method Summary
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)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

writer

protected Writer writer


 
Method Detail

afterInvoke

public Object afterInvoke(Object object, String methodName, Object[] arguments, Object result)


beforeInvoke

public Object beforeInvoke(Object object, String methodName, Object[] arguments)


doInvoke

public boolean doInvoke()


getWriter

public Writer getWriter()
Returns the writer associated with this interceptor.


setWriter

public void setWriter(Writer writer)
Changes the writer associated with this interceptor.


write

protected void write(Object object, String methodName, Object[] arguments, String origin)


writeInfo

protected void writeInfo(Class aClass, String methodName, Object[] arguments)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.