public class CallbackClosure extends Object implements org.apache.commons.collections.Closure
| Constructor and Description |
|---|
CallbackClosure(Object callee,
String callbackName,
Class[] parameterTypes,
Object[] parameters)
Creates a new closure object.
|
public CallbackClosure(Object callee, String callbackName, Class[] parameterTypes, Object[] parameters)
callee - The object on which the callbacks will be invokedcallbackName - The name of the callback methodparameterTypes - The parameter types. This array has to contain one null
for the type of the object for which the callback is invoked.
null or an empty array is regarded to be the
same as an array containing a single nullparameters - The actual arguments. The value at the placeholder position
will be ignored. Can be null if no parameter types
where givenpublic void execute(Object obj) throws DdlUtilsException
execute in interface org.apache.commons.collections.ClosureDdlUtilsExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.