📄 componenttype.java
字号:
package xyz.frame.component;import java.util.Collection;import java.util.List;import xyz.frame.annotations.In;import xyz.frame.annotations.Out;import xyz.frame.interceptor.InterceptorClass;import xyz.frame.introspector.FieldReadParameter;public interface ComponentType { /** * Instantiates this component. * * @return the new component * @throws ComponentInstantiationException * something wrong happened during instantiation */ Object newInstance() throws ComponentInstantiationException; /** * Returns the component name * * @return the name */ String getName(); /** * Returns a specifig logic from this component * * @param key * the logic name * @return the logic itself * @throws LogicNotFoundException * you are asking for something that doesn't belong to me */ LogicMethod getLogic(String key) throws LogicNotFoundException; /** * Returns all interceptors for this component class * * @return the interceptor's list */ List<InterceptorClass> getInterceptors(); /** * @return Returns the inAnnotations. */ List<FieldAnnotation<In>> getInAnnotations(); /** * @return Returns the outAnnotations. */ List<FieldAnnotation<Out>> getOutAnnotations(); /** * @return Returns the read parameters for this class. */ List<FieldReadParameter> getReadParameters(); /** * Returns all actions. * * @return all logics */ Collection<LogicMethod> getLogics(); Class getComponentClass();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -