
com.joe.easysocket.server.backserver.mvc.container.Container Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of socket-backserver Show documentation
Show all versions of socket-backserver Show documentation
socket框架,方便快速开发socket服务端和客户端
The newest version!
package com.joe.easysocket.server.backserver.mvc.container;
import java.util.List;
import com.joe.easysocket.server.backserver.mvc.Bean;
import com.joe.easysocket.server.common.lambda.Endpoint;
/**
* 容器
*
* @param 容器中放置的组件的类型
* @author joe
*/
public interface Container extends Register, Endpoint {
/**
* 根据名称选择组件
*
* @param selector 组件选择器,返回所有符合条件的组件
* @return 指定组件,如果没有返回null
*/
List select(Selector selector);
/**
* 初始化bean,在容器中的bean被找出后根据需要选择性的初始化
*
* @param beans 所有的bean
*/
void initBean(List beans);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy