Package org.mockserver.blob.s3
Class S3BlobStoreRegistrar
java.lang.Object
org.mockserver.blob.s3.S3BlobStoreRegistrar
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 Summary
Modifier and TypeMethodDescriptionstatic voidregister()Register the S3 blob store factory withStateBackendFactory.
-
Method Details
-
register
public static void register()Register the S3 blob store factory withStateBackendFactory. Idempotent -- safe to call multiple times.
-