com.zusmart.basic.handler.HandlerChain Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zusmart-basic Show documentation
Show all versions of zusmart-basic Show documentation
基础模块,提供配置,日志,SPI,图排序,路径匹配,资源扫描,包扫描,常用工具类
package com.zusmart.basic.handler;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
public interface HandlerChain extends Iterable> {
public void addFirst(String name, T handler);
public void addLast(String name, T handler);
public void addBefore(String target, String name, T handler);
public void addAfter(String target, String name, T handler);
public void delHandler(String target);
public boolean containsHandler(String target);
public void replaceHandler(String target, String name, T handler);
public T getFirstHandler();
public T getLastHandler();
public HandlerContext getFirstHandlerContext();
public HandlerContext getLastHandlerContext();
public Map getAllHandlerAsMap();
public List getAllHandlerAsList();
public List getAllHandlerNameAsList();
}