@Activate void activate(ComponentContext compContext){
  logger.debug("Activating ConnectionManager Service with configuration {}",compContext.getProperties());
  try {
    config=enhancedConfig.getConfigurationAsJson(compContext);
    configuredDataSourceService.getAndSet(initDataSourceService(config,compContext.getBundleContext()));
    logger.info("JDBCConnectionManager started.");
  }
 catch (  RuntimeException e) {
    logger.warn("Configuration invalid and could not be parsed, can not start JDBC repository: ",e);
    throw e;
  }
}

@ Activate void activate ( ComponentContext compContext ) { logger . debug ( "Activating ConnectionManager Service with configuration {}" , compContext . getProperties ( ) ) ; try { config = enhancedConfig . getConfigurationAsJson ( compContext ) ; configuredDataSourceService . getAndSet ( initDataSourceService ( config , compContext . getBundleContext ( ) ) ) ; logger . info ( "JDBCConnectionManager started." ) ; } catch ( RuntimeException e ) { logger . warn ( "Configuration invalid and could not be parsed, can not start JDBC repository: " , e ) ; throw e ; } }
activates the jdbc repository service
