if (dbInit == null) { sp = new FileAssetInitializerServiceProvider();
String prop = System.getProperty(Node.INITIALIZER_PROP);  if (prop != null && prop.indexOf("DB") != -1 && dbInit != null) {  sp = new DBAssetInitializerServiceProvider(dbInit); if (log.isInfoEnabled()) log.info("Will init OrgAssets from CSMART DB");  } else if (prop != null && prop.indexOf("XML") != -1) {   DBInitializerService myDbInit = new NonCSMARTDBInitializerServiceImpl(); sp = new DBAssetInitializerServiceProvider(myDbInit); if (log.isInfoEnabled()) log.info("Will init OrgAssets from NON CSMART DB!");
  private ServiceProvider chooseSP() {    try {      ServiceProvider sp;      if (dbInit == null) {        sp = new FileAssetInitializerServiceProvider();      } else {        sp = new DBAssetInitializerServiceProvider(dbInit);      }      return sp;    } catch (Exception e) {      throw new RuntimeException("Exception while creating "+getClass().getName(), e);    }  }