code: public static WsLocationAdminImpl createLocations(final Map<String, Object> initProps) {
          if (instance.get() == null) {
              SymbolRegistry.getRegistry().clear();
              Callable<WsLocationAdminImpl> initializer = new Callable<WsLocationAdminImpl>() {
                  @Override
                  public WsLocationAdminImpl call() throws Exception {
                      return new WsLocationAdminImpl(initProps);
                  }
              };
              instance = StaticValue.mutateStaticValue(instance, initializer);
          }
  
          return instance.get();
      }
docs: Construct the WsLocationAdminService singleton based on a set of initial
  properties provided by bootstrap or other initialization code (e.g. an
  initializer in a test environment).
  
  @param initProps
  @return WsLocationAdmin