jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <n...@apache.org>
Subject Re: Extending RegionScopedSwiftBlobStore
Date Mon, 13 Feb 2017 09:50:06 GMT
Could you share the code you use to get the blob store context? IIRC
when using the "region scoped" one you need to specify the region.
Something like:

RegionScopedBlobStoreContext ctx =
contextBuilder.buildView(RegionScopedBlobStoreContext.class); // with
your modules
BlobStore getBlobStore("regionId");

What region ids are returned if you call: ctx.getConfiguredRegions() ?


On 13 February 2017 at 10:33, Archana C <carchana36@yahoo.co.uk> wrote:
> Hi
>
> We are trying to extend RegionScopedSwiftblobStore for our use case somewhat
> like
>
> public class SwiftBlobStore extends RegionScopedSwiftBlobStore{
>     // Our Implementation
> }
>
> Compilation is successful, binding is not happening properly at the run time
>
> Error:
>
> 1) No implementation for java.lang.String annotated with
> @com.google.inject.assistedinject.Assisted(value=) was bound.
>   while locating java.lang.String annotated with
> @com.google.inject.assistedinject.Assisted(value=)
>     for parameter 4 at
> com.modules.SwiftBlobStore.<init>(SwiftBlobStore.java:129)
>
> @Assisted is causing issue here. Is there anything that we need modify
> internally to avoid this error ?
>
> Regards
> Archana

Mime
View raw message