Annotation Interface VaultName


@Retention(RUNTIME) @Target({FIELD,PARAMETER}) public @interface VaultName
Define a named vault instance.

This annotation is optional. If not defined, the default instance will be injected.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Utility to obtain VaultName instances.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Vault name to inject.
  • Element Details

    • value

      String value
      Vault name to inject.
      Returns:
      name