code: public void start()
     {
        if (registryService != null && !registryService.getForceXMLConfigurationValue(initParams))
        {
           SessionProvider sessionProvider = SessionProvider.createSystemProvider();
           try
           {
              readParamsFromRegistryService(sessionProvider);
           }
           catch (Exception e)
           {
              readParamsFromFile();
              try
              {
                 writeParamsToRegistryService(sessionProvider);
              }
              catch (Exception exc)
              {
                 LOG.error("Cannot write init configuration to RegistryService.", exc);
              }
           }
           finally
           {
              sessionProvider.close();
           }
        }
        else
        {
           readParamsFromFile();
        }
     }
docs: {@inheritDoc}