示例#1
0
  @Override
  public void afterPropertiesSet() {

    Assert.notEmpty(appCode, "appCode");
    Assert.notEmpty(separator, "separator");

    FormattingTuple.injectAppCode(appCode);

    this.nodeCode = createNodeCode();

    if (Tools.isBlank(this.nodeCode)) {

      throw new BeanCreationException(
          "createNodeCode() method in subclass of "
              + AppCodeApplication.class.getSimpleName()
              + ", the method return result "
              + "should not be null or empty");
    }

    LOGGER.info("Application: {}", this);
  }