org.codehaus.groovy.runtime
Class ClosureListener
java.lang.Object
org.codehaus.groovy.runtime.ClosureListener
- All Implemented Interfaces:
- InvocationHandler
- public class ClosureListener
- extends Object
- implements InvocationHandler
Represents a method on an object using a closure which can be invoked at any
time
- Version:
- $Revision: 1.1 $
- Author:
- James Strachan
ClosureListener
public ClosureListener(String listenerMethodName,
groovy.lang.Closure closure)
invoke
public Object invoke(Object object,
Method method,
Object[] arguments)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
equals
public boolean equals(Object that)
Copyright © 2003-2004 The Codehaus. All Rights Reserved.