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

com.github.datalking.aop.framework.Advised Maven / Gradle / Ivy

The newest version!
package com.github.datalking.aop.framework;

import com.github.datalking.aop.Advisor;
import com.github.datalking.aop.TargetSource;
import org.aopalliance.aop.Advice;

/**
 * @author yaoo on 4/18/18
 */
public interface Advised {

    Class getTargetClass();

    boolean isProxyTargetClass();

    Class[] getProxiedInterfaces();

    boolean isInterfaceProxied(Class intf);

    void setTargetSource(TargetSource targetSource);

    TargetSource getTargetSource();

    Advisor[] getAdvisors();

    void addAdvisor(Advisor advisor);

    void addAdvisor(int pos, Advisor advisor);

    boolean removeAdvisor(Advisor advisor);

    void removeAdvisor(int index);

    int indexOf(Advisor advisor);

    boolean replaceAdvisor(Advisor a, Advisor b);

    void addAdvice(Advice advice);

    void addAdvice(int pos, Advice advice);

    boolean removeAdvice(Advice advice);

    int indexOf(Advice advice);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy