in src/main/java/org/apache/sling/datasource/internal/DataSourceFactory.java [199:210]
protected void activate(BundleContext bundleContext, Map<String, ?> config) throws Exception {
this.bundleContext = bundleContext;
name = getDataSourceName(config);
checkArgument(name != null, "DataSource name must be specified via [%s] property", PROP_DATASOURCE_NAME);
dataSource = new LazyJmxRegisteringDataSource(createPoolConfig(config));
svcPropName = getSvcPropName(config);
registerDataSource(svcPropName);
log.info("Created DataSource [{}] with properties {}", name, dataSource.getPoolProperties().toString());
}