You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2017/07/05 21:41:00 UTC

[jira] [Updated] (JCLOUDS-1279) Extending AWSS3BlobStore is not possible because of default access specifier

     [ https://issues.apache.org/jira/browse/JCLOUDS-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Gaul updated JCLOUDS-1279:
---------------------------------
    Fix Version/s:     (was: 2.0.2)
                       (was: 2.1.0)

> Extending AWSS3BlobStore is not possible because of default access specifier 
> -----------------------------------------------------------------------------
>
>                 Key: JCLOUDS-1279
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1279
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-blobstore
>    Affects Versions: 2.0.0, 2.0.1
>         Environment: RHEL 7.2, Java 1.7
>            Reporter: Rishika
>
> methods (constructor) in  AWSS3BlobStore are all package protected with default access specifier and cannot be easily extended. This hinders us to create Custom blobstore outside jClouds.
> {code:java}
>    @Inject
>    AWSS3BlobStore(BlobStoreContext context, BlobUtils blobUtils, Supplier<Location> defaultLocation,
>             @Memoized Supplier<Set<? extends Location>> locations, PayloadSlicer slicer, AWSS3Client sync,
>             Function<Set<BucketMetadata>, PageSet<? extends StorageMetadata>> convertBucketsToStorageMetadata,
>             ContainerToBucketListOptions container2BucketListOptions, BucketToResourceList bucket2ResourceList,
>             ObjectToBlob object2Blob, BlobToHttpGetOptions blob2ObjectGetOptions, BlobToObject blob2Object,
>             BlobToObjectMetadata blob2ObjectMetadata,
>             ObjectToBlobMetadata object2BlobMd, Provider<FetchBlobMetadata> fetchBlobMetadataProvider) {
>       super(context, blobUtils, defaultLocation, locations, slicer, sync, convertBucketsToStorageMetadata,
>                container2BucketListOptions, bucket2ResourceList, object2Blob, blob2ObjectGetOptions, blob2Object,
>                blob2ObjectMetadata, object2BlobMd, fetchBlobMetadataProvider);
>       this.blob2Object = blob2Object;
>    }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)