Annotation Interface ServiceRegistrarType


@Retention(RUNTIME) @Target(TYPE) public @interface ServiceRegistrarType
The type of the service registrar. Use this annotation on your ServiceRegistrarProvider

The type is used to determine service registrar.

Use stork.my-registration.service-registrar.type=my-service-registrar to use the ServiceRegistrarProvider annotated with @ServiceRegistrar("my-service-registrar")

  • Element Details

    • value

      String value
      Returns:
      the type of the service registrar
    • metadataKey

      Class<? extends MetadataKey> metadataKey
      Returns:
      metadata key type for the service registrar. Must match the second type argument of the service registrar provider