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