⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 componentmanager.java

📁 pojo的mvc框架
💻 JAVA
字号:
package xyz.frame.component;import java.util.Set;import xyz.frame.LogicRequest;/** * Component managers are capable of finding and dealing with business * components/logics. *  * @author Guilherme Silveira */public interface ComponentManager {	/**	 * Registers a new component	 * 	 * @param clazz	 *            component class	 * @throws InvalidComponentException	 *             invalid component	 */	public void register(Class clazz) throws InvalidComponentException;	/**	 * Returns the business component	 * 	 * @param logicRequest	 *            business name	 * @throws InvalidComponentException	 *             if there is no component with this name	 */	public ComponentType getComponent(LogicRequest logicRequest)			throws ComponentNotFoundException;	/**	 * Returns a list with all component classes.	 * 	 * @return all components registered	 */	public Set<ComponentType> getComponents();	/**	 * Directly registers a component type.	 * 	 * @param type	 *            the component type	 */	public void register(ComponentType type);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -