}
} else {
// Find this method in one of the callback classes
for (Class<?> callBackClass : callbackClasses) {
if (interfaceClass.isAssignableFrom(callBackClass)) {
callback = new ProxyCallbackSignature(callBackClass.getDeclaredMethod(method.getName(), method.getParameterTypes()));
break;
}
}
}
// Put the callback instance if available