> * @author Alfredo "Rainbowbreeze" Morresi
> */
> public class FilesystemBlobStoreContextModule extends AbstractModule {
>
> @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);
> + bind(BlobStore.class).to(LocalBlobStore.class).in(Scopes.SINGLETON);
Any reason for the change in binding? Or is this to mirror the
`asEagerSingleton()` for `LocalAsyncBlobStore`?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/220/files#r8053739