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

cn.easyes.extension.context.Interceptor Maven / Gradle / Ivy

There is a newer version: 2.0.0-beta1
Show newest version
package cn.easyes.extension.context;

import cn.easyes.extension.plugins.Plugin;

/**
 * 

* Interceptor *

* * @author lilu * @since 2022/3/4 */ public interface Interceptor { Object intercept(Invocation invocation) throws Throwable; /** * 代理 * @param t 泛型 * @param 泛型 * @return 泛型 */ default T plugin(T t) { return Plugin.wrap(t, this); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy