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

com.neko233.skilltree.aop.api.impl.demo.TestAopApi Maven / Gradle / Ivy

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

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

import java.lang.reflect.Method;

/**
 * @author SolarisNeko
 * Date on 2023-04-29
 */
public class TestAopApi implements AopApi {


    @Override
    public void preHandle(Method method,
                          Object target,
                          Object[] args) {
        System.out.println(" TestAopApi preHandle");
    }

    @Override
    public boolean tryEatException(Exception e) {
        return true;
    }

    @Override
    public void postHandle(Method method,
                           Object target,
                           Object[] args) {
        System.out.println(" TestAopApi postHandle");

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy