code: public synchronized final void initialize() throws RepositoryException {
          if (!initialized) {
              try {
                  doInitialize();
                  initialized = true;
              } catch (RuntimeException e) {
                  throw new RepositoryException(e);
              }
          }
      }
docs: Initialize the provider. This is called automatically by ModeShape once for each provider instance, and should not be
  called by the provider itself.
  
  @throws RepositoryException if there is a problem initializing the provider