Class GcsBlobStoreRegistrar

java.lang.Object
org.mockserver.blob.gcs.GcsBlobStoreRegistrar

public final class GcsBlobStoreRegistrar extends Object
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 Details

    • register

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