
com.joe.easysocket.server.common.spi.Spi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of socket-common Show documentation
Show all versions of socket-common Show documentation
socket框架,方便快速开发socket服务端和客户端
The newest version!
package com.joe.easysocket.server.common.spi;
import java.util.Properties;
import lombok.NonNull;
/**
* SPI,所有的spi接口都应该继承该接口
*
* @author joe
* @version 2018.06.27 11:17
*/
public interface Spi {
/**
* 配置SPI,使用SPI实现类前会先调用该方法
*
* @param environment 环境
*/
void setProperties(@NonNull Properties environment);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy