Example #1
0
 @Inject
 public NodeInfo(NodeConfig config) {
   this(
       config.getEnvironment(),
       config.getPool(),
       config.getNodeId(),
       config.getNodeIp(),
       config.getLocation(),
       config.getBinarySpec(),
       config.getConfigSpec());
 }
Example #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());
 }