All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.osjf.sdk.spring.proxy.CglibProxyHandler Maven / Gradle / Ivy

The newest version!
package top.osjf.sdk.spring.proxy;

import org.springframework.cglib.proxy.MethodInterceptor;
import org.springframework.cglib.proxy.MethodProxy;

import java.lang.reflect.Method;

/**
 * {@link MethodInterceptor} for {@link ProxyHandler} refit.
 *
 * @author zhangpengfei
 * @since 1.0.0
 */
public interface CglibProxyHandler extends MethodInterceptor, ProxyHandler {

    @Override
    default Object intercept(Object o, Method method, Object[] objects, MethodProxy methodProxy) {
        return handle(o, method, objects);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy