public static Class<?> createCompositeInterface(Class<?>[] interfaces,ClassLoader classLoader){
  Assert.notEmpty(interfaces,"Interfaces must not be empty");
  Assert.notNull(classLoader,"ClassLoader must not be null");
  return Proxy.getProxyClass(classLoader,interfaces);
}

public static Class < ? > createCompositeInterface ( Class < ? > [ ] interfaces , ClassLoader classLoader ) { Assert . notEmpty ( interfaces , "Interfaces must not be empty" ) ; Assert . notNull ( classLoader , "ClassLoader must not be null" ) ; return Proxy . getProxyClass ( classLoader , interfaces ) ; }
create a composite interface class for the given interfaces , implementing the given interfaces in one single class . < p > this implementation builds a jdk proxy class for the given interfaces .
