code: @Override
      public final void afterPropertiesSet() throws Exception {
          if (this.getLocator() != null) {
              this.logger.warn(
                      "Static "
                              + this.getClass().getName()
                              + " reference has already been set and setInstance is being called");
          }
          this.setLocator(this);
      }
docs: /* (non-Javadoc)
  @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet()