Package org.mockserver.blob.gcs
Class GcsBlobStoreRegistrar
java.lang.Object
org.mockserver.blob.gcs.GcsBlobStoreRegistrar
Registers the
GcsBlobStore with the core
StateBackendFactory so that blobStoreType=gcs
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 Google
Cloud SDK dependency.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister()Register the GCS blob store factory withStateBackendFactory.
-
Method Details
-
register
public static void register()Register the GCS blob store factory withStateBackendFactory. Idempotent -- safe to call multiple times.
-