Class S3BlobStoreRegistrar

java.lang.Object
org.mockserver.blob.s3.S3BlobStoreRegistrar

public final class S3BlobStoreRegistrar extends Object
Registers the S3BlobStore with the core StateBackendFactory so that blobStoreType=s3 selects it. Call register() at application startup, or let the factory's auto-discovery mechanism load this class via reflection when the module is on the classpath.

This design keeps mockserver-core free of any AWS SDK dependency: the core factory uses a registry pattern, and this module registers itself into it.

  • Method Details

    • register

      public static void register()
      Register the S3 blob store factory with StateBackendFactory. Idempotent -- safe to call multiple times.