Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1279

Extending AWSS3BlobStore is not possible because of default access specifier

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0, 2.0.1
    • None
    • jclouds-blobstore
    • None
    • RHEL 7.2, Java 1.7

    Description

      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.

         @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;
         }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Rishika Rishika
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: