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

com.hyf.hotrefresh.adapter.spring.config.MappedInterceptorEscapeHelper Maven / Gradle / Ivy

There is a newer version: 1.2.5
Show newest version
package com.hyf.hotrefresh.adapter.spring.config;

import com.hyf.hotrefresh.adapter.spring.agent.MappedInterceptorEscape;
import com.hyf.hotrefresh.common.Log;
import com.hyf.hotrefresh.common.util.FastReflectionUtils;
import com.hyf.hotrefresh.core.util.InfraUtils;

import javax.annotation.PostConstruct;

public class MappedInterceptorEscapeHelper {

    @PostConstruct
    public void post() {
        try {
            Class MappedInterceptorEscapeClass = InfraUtils.forName(MappedInterceptorEscape.class.getName());
            FastReflectionUtils.fastInvokeMethod(MappedInterceptorEscapeClass, "escapeMappedInterceptor");
        } catch (Throwable t) {
            Log.error("Failed to escapeMappedInterceptor", t);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy