Example usage for org.springframework.aop.framework AopProxyUtils completeProxiedInterfaces

List of usage examples for org.springframework.aop.framework AopProxyUtils completeProxiedInterfaces

Introduction

In this page you can find the example usage for org.springframework.aop.framework AopProxyUtils completeProxiedInterfaces.

Prototype

static Class<?>[] completeProxiedInterfaces(AdvisedSupport advised, boolean decoratingProxy) 

Source Link

Document

Determine the complete set of interfaces to proxy for the given AOP configuration.

Usage

From source file:org.springframework.aop.framework.JdkDynamicAopProxy.java

@Override
public Object getProxy(@Nullable ClassLoader classLoader) {
    if (logger.isDebugEnabled()) {
        logger.debug("Creating JDK dynamic proxy: target source is " + this.advised.getTargetSource());
    }/*www .j a  v a2s.  co  m*/
    Class<?>[] proxiedInterfaces = AopProxyUtils.completeProxiedInterfaces(this.advised, true);
    findDefinedEqualsAndHashCodeMethods(proxiedInterfaces);
    return Proxy.newProxyInstance(classLoader, proxiedInterfaces, this);
}