interceptordealer.java
来自「pojo的mvc框架」· Java 代码 · 共 36 行
JAVA
36 行
package xyz.frame.interceptor;import xyz.frame.Interceptor;import xyz.frame.LogicRequest;import xyz.frame.component.ComponentInstantiationException;import xyz.frame.introspector.Introspector;import xyz.frame.util.GettingException;import xyz.frame.util.SettingException;/** * Deals with injecting and outjecting to and from interceptors * * @author Guilherme Silveira */public class InterceptorDealer { private Introspector introspector; public InterceptorDealer(Introspector introspector) { this.introspector = introspector; } public void outject(Interceptor interceptor, InterceptorClass clazz, LogicRequest context) throws GettingException { introspector.outject(clazz.getOutAnnotations(), interceptor, context); } public void inject(Interceptor interceptor, InterceptorClass clazz, LogicRequest context) throws ComponentInstantiationException, SettingException { this.introspector .inject(clazz.getInAnnotations(), interceptor, context); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?