Package cn.dreamfame.core.launch.server
Class ServerInfo
java.lang.Object
cn.dreamfame.core.launch.server.ServerInfo
- All Implemented Interfaces:
org.springframework.beans.factory.SmartInitializingSingleton
@AutoConfiguration
public class ServerInfo
extends Object
implements org.springframework.beans.factory.SmartInitializingSingleton
- Author:
- dreamfame
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServerInfo(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties) -
Method Summary
-
Field Details
-
serverProperties
private final org.springframework.boot.autoconfigure.web.ServerProperties serverProperties -
hostName
-
ip
-
port
-
ipWithPort
-
-
Constructor Details
-
ServerInfo
@Autowired(required=false) public ServerInfo(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties)
-
-
Method Details
-
afterSingletonsInstantiated
public void afterSingletonsInstantiated()- Specified by:
afterSingletonsInstantiatedin interfaceorg.springframework.beans.factory.SmartInitializingSingleton
-