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

tech.rsqn.cacheservice.proxy.CachingProxyInterceptor Maven / Gradle / Ivy


package tech.rsqn.cacheservice.proxy;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class CachingProxyInterceptor implements MethodInterceptor {
    private Logger log = LoggerFactory.getLogger(getClass());

    public Object invoke(MethodInvocation invocation) throws Throwable {
        log.info("Caching proxy intercepted [" + invocation + "]");

        Object rval = invocation.proceed();

        return rval;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy