congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
BlobStoreMapModule.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.jclouds.blobstore.config.BlobStoreMapModule
constructor

Best Java code snippets using org.jclouds.blobstore.config.BlobStoreMapModule.<init> (Showing top 14 results out of 315)

origin: jclouds/legacy-jclouds

  @Override
  protected void configure() {
   install(new BlobStoreMapModule());
   bind(ConsistencyModel.class).toInstance(ConsistencyModel.STRICT);
   bind(AsyncBlobStore.class).to(SwiftAsyncBlobStore.class).in(Scopes.SINGLETON);
   bind(BlobStore.class).to(SwiftBlobStore.class).in(Scopes.SINGLETON);
  }
}
origin: org.jclouds.api/swift

  @Override
  protected void configure() {
   install(new BlobStoreMapModule());
   bind(ConsistencyModel.class).toInstance(ConsistencyModel.STRICT);
   bind(AsyncBlobStore.class).to(SwiftAsyncBlobStore.class).in(Scopes.SINGLETON);
   bind(BlobStore.class).to(SwiftBlobStore.class).in(Scopes.SINGLETON);
  }
}
origin: jclouds/legacy-jclouds

@Override
protected void configure() {
 install(new BlobStoreMapModule());
 bind(ConsistencyModel.class).toInstance(ConsistencyModel.STRICT);
 bind(AsyncBlobStore.class).to(AzureAsyncBlobStore.class).in(Scopes.SINGLETON);
 bind(BlobStore.class).to(AzureBlobStore.class).in(Scopes.SINGLETON);
 bind(ContainsValueInListStrategy.class).to(FindMD5InBlobProperties.class);
 bind(BlobRequestSigner.class).to(AzureBlobRequestSigner.class);
}
origin: org.jclouds/jclouds-azure

@Override
protected void configure() {
 install(new BlobStoreMapModule());
 bind(ConsistencyModel.class).toInstance(ConsistencyModel.STRICT);
 bind(AsyncBlobStore.class).to(AzureAsyncBlobStore.class).in(Scopes.SINGLETON);
 bind(BlobStore.class).to(AzureBlobStore.class).in(Scopes.SINGLETON);
 bind(BlobStoreContext.class).to(new TypeLiteral<BlobStoreContextImpl<AzureBlobClient, AzureBlobAsyncClient>>() {
 }).in(Scopes.SINGLETON);
 bind(ContainsValueInListStrategy.class).to(FindMD5InBlobProperties.class);
 bind(BlobRequestSigner.class).to(AzureBlobRequestSigner.class);
}
origin: jclouds/legacy-jclouds

@Override
protected void configure() {
 install(new BlobStoreMapModule());
 bind(ConsistencyModel.class).toInstance(ConsistencyModel.EVENTUAL);
 bind(AsyncBlobStore.class).to(AtmosAsyncBlobStore.class).in(Scopes.SINGLETON);
 bind(BlobStore.class).to(AtmosBlobStore.class).in(Scopes.SINGLETON);
 bind(ContainsValueInListStrategy.class).to(FindMD5InUserMetadata.class);
 bind(BlobRequestSigner.class).to(AtmosBlobRequestSigner.class);
}
origin: org.jclouds.api/atmos

@Override
protected void configure() {
 install(new BlobStoreMapModule());
 bind(ConsistencyModel.class).toInstance(ConsistencyModel.EVENTUAL);
 bind(AsyncBlobStore.class).to(AtmosAsyncBlobStore.class).in(Scopes.SINGLETON);
 bind(BlobStore.class).to(AtmosBlobStore.class).in(Scopes.SINGLETON);
 bind(ContainsValueInListStrategy.class).to(FindMD5InUserMetadata.class);
 bind(BlobRequestSigner.class).to(AtmosBlobRequestSigner.class);
}
origin: jclouds/legacy-jclouds

@Override
protected void configure() {
 install(new BlobStoreMapModule());
 bind(ConsistencyModel.class).toInstance(ConsistencyModel.EVENTUAL);
 bind(AsyncBlobStore.class).to(S3AsyncBlobStore.class).in(SINGLETON);
 bind(BlobStore.class).to(S3BlobStore.class).in(SINGLETON);
 bind(new TypeLiteral<Function<String, Location>>() {
 }).to(LocationFromBucketName.class);
 bindRequestSigner();
}
origin: org.jclouds.provider/azureblob

@Override
protected void configure() {
 install(new BlobStoreMapModule());
 bind(ConsistencyModel.class).toInstance(ConsistencyModel.STRICT);
 bind(AsyncBlobStore.class).to(AzureAsyncBlobStore.class).in(Scopes.SINGLETON);
 bind(BlobStore.class).to(AzureBlobStore.class).in(Scopes.SINGLETON);
 bind(ContainsValueInListStrategy.class).to(FindMD5InBlobProperties.class);
 bind(BlobRequestSigner.class).to(AzureBlobRequestSigner.class);
}
origin: jclouds/legacy-jclouds

  @Override
  protected void configure() {
   install(new BlobStoreMapModule());
   bind(ConsistencyModel.class).toInstance(ConsistencyModel.STRICT);
   bind(AsyncBlobStore.class).to(HPCloudObjectStorageAsyncBlobStore.class);
   bind(BlobStore.class).to(HPCloudObjectStorageBlobStore.class);
   bind(ObjectToBlobMetadata.class).to(HPCloudObjectStorageObjectToBlobMetadata.class);
  }
}
origin: org.jclouds/jclouds-aws

@Override
protected void configure() {
 install(new BlobStoreMapModule());
 bind(new TypeLiteral<Supplier<Location>>() {
 }).to(new TypeLiteral<DefaultLocationSupplier>() {
 });
 bind(ConsistencyModel.class).toInstance(ConsistencyModel.EVENTUAL);
 bind(AsyncBlobStore.class).to(S3AsyncBlobStore.class).in(Scopes.SINGLETON);
 bind(BlobStore.class).to(S3BlobStore.class).in(Scopes.SINGLETON);
 bind(BlobStoreContext.class).to(new TypeLiteral<BlobStoreContextImpl<S3Client, S3AsyncClient>>() {
 }).in(Scopes.SINGLETON);
 bind(BlobRequestSigner.class).to(S3BlobRequestSigner.class);
}
origin: org.jclouds.api/s3

@Override
protected void configure() {
 install(new BlobStoreMapModule());
 bind(ConsistencyModel.class).toInstance(ConsistencyModel.EVENTUAL);
 bind(AsyncBlobStore.class).to(S3AsyncBlobStore.class).in(SINGLETON);
 bind(BlobStore.class).to(S3BlobStore.class).in(SINGLETON);
 bind(new TypeLiteral<Function<String, Location>>() {
 }).to(LocationFromBucketName.class);
 bindRequestSigner();
}
origin: jclouds/legacy-jclouds

@Override
protected void configure() {
 bind(AsyncBlobStore.class).to(LocalAsyncBlobStore.class).asEagerSingleton();
 // forward all requests from TransientBlobStore to TransientAsyncBlobStore.  needs above binding as cannot proxy a class
 bindSyncToAsyncApi(binder(), LocalBlobStore.class, AsyncBlobStore.class);
 install(new BlobStoreObjectModule());
 install(new BlobStoreMapModule());
 bind(BlobStore.class).to(LocalBlobStore.class);
 bind(ConsistencyModel.class).toInstance(ConsistencyModel.STRICT);
 bind(LocalStorageStrategy.class).to(TransientStorageStrategy.class);
 bind(BlobRequestSigner.class).to(LocalBlobRequestSigner.class);
}
origin: org.jclouds/jclouds-blobstore

@Override
protected void configure() {
 bind(AsyncBlobStore.class).to(LocalAsyncBlobStore.class).asEagerSingleton();
 // forward all requests from TransientBlobStore to TransientAsyncBlobStore.  needs above binding as cannot proxy a class
 bindSyncToAsyncApi(binder(), LocalBlobStore.class, AsyncBlobStore.class);
 install(new BlobStoreObjectModule());
 install(new BlobStoreMapModule());
 bind(BlobStore.class).to(LocalBlobStore.class);
 bind(ConsistencyModel.class).toInstance(ConsistencyModel.STRICT);
 bind(LocalStorageStrategy.class).to(TransientStorageStrategy.class);
 bind(BlobRequestSigner.class).to(LocalBlobRequestSigner.class);
}
origin: jclouds/legacy-jclouds

@Override
protected void configure() {
 bind(AsyncBlobStore.class).to(LocalAsyncBlobStore.class).asEagerSingleton();
 // forward all requests from TransientBlobStore to TransientAsyncBlobStore.  needs above binding as cannot proxy a class
 bindSyncToAsyncApi(binder(), LocalBlobStore.class, AsyncBlobStore.class);
 bind(BlobStore.class).to(LocalBlobStore.class);
 install(new BlobStoreObjectModule());
 install(new BlobStoreMapModule());
 bind(ConsistencyModel.class).toInstance(ConsistencyModel.STRICT);
 bind(LocalStorageStrategy.class).to(FilesystemStorageStrategyImpl.class);
 bind(BlobUtils.class).to(FileSystemBlobUtilsImpl.class);
 bind(FilesystemBlobKeyValidator.class).to(FilesystemBlobKeyValidatorImpl.class);
 bind(FilesystemContainerNameValidator.class).to(FilesystemContainerNameValidatorImpl.class);
 bind(BlobRequestSigner.class).to(LocalBlobRequestSigner.class);
}
org.jclouds.blobstore.configBlobStoreMapModule<init>

Popular methods of BlobStoreMapModule

  • bind

Popular in Java

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • getResourceAsStream (ClassLoader)
  • getContentResolver (Context)
  • Menu (java.awt)
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Join (org.hibernate.mapping)
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now