Esempio n. 1
0
 @Inject
 public NodeInfo(NodeConfig config) {
   this(
       config.getEnvironment(),
       config.getPool(),
       config.getNodeId(),
       config.getNodeIp(),
       config.getLocation(),
       config.getBinarySpec(),
       config.getConfigSpec());
 }
Esempio n. 2
0
 @Inject
 public NodeInfo(NodeConfig config) {
   this(
       config.getEnvironment(),
       config.getPool(),
       config.getNodeId(),
       config.getNodeInternalIp(),
       config.getNodeInternalHostname(),
       config.getNodeBindIp(),
       config.getNodeExternalAddress(),
       config.getLocation(),
       config.getBinarySpec(),
       config.getConfigSpec());
 }