try {
if (constructInternalBlobstores) {
// add an executor as a constructor param to
// EnterpriseConfigurationModule, pass
// property overrides instead of Properties()
ctx = new BlobStoreContextFactory().createContext(cfg.getCloudService(), cfg
.getIdentity(), cfg.getPassword(), ImmutableSet.of(
new EnterpriseConfigurationModule(), new Log4JLoggingModule()),
new Properties());
blobStore = ctx.getBlobStore();
asyncBlobStore = ctx.getAsyncBlobStore();