protected void activate(ComponentContext context, Map<String, Object> config) {
String homeDir = lookup(context, PROP_HOME);
if (homeDir != null) {
log.info("Initializing the FileBlobStore with homeDir [{}]", homeDir);
}
BlobStore blobStore = new FileBlobStore(FilenameUtils.concat(homeDir,"datastore"));
PropertiesUtil.populate(blobStore, config, false);
reg = context.getBundleContext().registerService(new String[]{
BlobStore.class.getName(),
GarbageCollectableBlobStore.class.getName()
}, blobStore, null);