Interface ObjectStorageProvider


@DoNotInherit public interface ObjectStorageProvider
Entry point for object storage. Provides ObjectStorage instances for named buckets.

Inject this service into side-effecting components (endpoints, workflows, agents, consumers, timed actions) and call forBucket(String) to get a client for a specific bucket.

Not for user extension.

  • Method Summary

    Modifier and Type
    Method
    Description
    forBucket(String bucketName)
    Returns a client for the named bucket.
  • Method Details

    • forBucket

      ObjectStorage forBucket(String bucketName)
      Returns a client for the named bucket. The bucket must be configured in the application settings (or, in dev/test mode, any name is accepted when using the default filesystem or in-memory backend).
      Parameters:
      bucketName - logical bucket name as declared in configuration