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

com.github.ydoc.core.handler.Middleware Maven / Gradle / Ivy

The newest version!
package com.github.ydoc.core.handler;

import com.github.ydoc.core.AnnotationProxy;
import com.github.ydoc.core.kv.Kv;

import java.lang.annotation.Annotation;
import java.lang.reflect.Parameter;
import java.util.List;

/**
 * @author nobugboy
 **/
public interface Middleware extends AnnotationProxy {

    /**
     * handle
     * 
     * @param target    target
     * @param parameter java parameter
     */
    void doHandle(List target, Parameter parameter);

    /**
     * 优先级权重 order
     * 
     * @return order
     */
    int getOrder();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy