{
for (int i=0; i<args.length; i++)
{
if (args[i] instanceof ClientCallback)
{
ClientCallback cc = (ClientCallback) args[i];
ClassLoader cl = cc.getClass().getClassLoader();
Class clazz = cl.loadClass(cc.getCallbackClass());
List<Class> clazzes = new ArrayList();
while (clazz != null && (!clazz.equals(Object.class)))
{
clazzes.addAll(Arrays.asList(clazz.getInterfaces()));
clazz = clazz.getSuperclass();