List of usage examples for org.springframework.util ClassUtils createCompositeInterface
@SuppressWarnings("deprecation") public static Class<?> createCompositeInterface(Class<?>[] interfaces, @Nullable ClassLoader classLoader)
From source file:org.iff.infra.util.spring.script.ScriptFactoryPostProcessor.java
/** * Create a composite interface Class for the given interfaces, * implementing the given interfaces in one single Class. * <p>The default implementation builds a JDK proxy class * for the given interfaces./* w w w . j av a2 s . c o m*/ * @param interfaces the interfaces to merge * @return the merged interface as Class * @see java.lang.reflect.Proxy#getProxyClass */ protected Class<?> createCompositeInterface(Class<?>[] interfaces) { return ClassUtils.createCompositeInterface(interfaces, this.beanClassLoader); }
From source file:org.springframework.aop.framework.ProxyFactoryBean.java
/** * Create a composite interface Class for the given interfaces, * implementing the given interfaces in one single Class. * <p>The default implementation builds a JDK proxy class for the * given interfaces./* w w w .j a v a 2 s. c o m*/ * @param interfaces the interfaces to merge * @return the merged interface as Class * @see java.lang.reflect.Proxy#getProxyClass */ protected Class<?> createCompositeInterface(Class<?>[] interfaces) { return ClassUtils.createCompositeInterface(interfaces, this.proxyClassLoader); }