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

com.neko233.skilltree.aop.proxy.Aop Maven / Gradle / Ivy

There is a newer version: 0.3.6
Show newest version
package com.neko233.skilltree.aop.proxy;

import com.neko233.skilltree.aop.api.AopApi;

/**
 * @author SolarisNeko
 * Date on 2023-04-29
 */
public interface Aop {

    /**
     * 基于 interface 生成代理
     *
     * @param target 目标
     * @param aopApi 对象
     * @param     接口
     * @return 代理后的对象, return 接口
     */
     T proxyByApi(T target,
                     AopApi aopApi);

    /**
     * 动态代理 by @annotation
     *
     * @param target 目标
     * @param     接口
     * @return 动态代理
     */
     T proxyByAnnotation(T target);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy