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 Details

    • serverProperties

      private final org.springframework.boot.autoconfigure.web.ServerProperties serverProperties
    • hostName

      private String hostName
    • ip

      private String ip
    • port

      private Integer port
    • ipWithPort

      private String ipWithPort
  • Constructor Details

    • ServerInfo

      @Autowired(required=false) public ServerInfo(org.springframework.boot.autoconfigure.web.ServerProperties serverProperties)
  • Method Details

    • afterSingletonsInstantiated

      public void afterSingletonsInstantiated()
      Specified by:
      afterSingletonsInstantiated in interface org.springframework.beans.factory.SmartInitializingSingleton