Annotation Interface OciConfig
@Documented
@Qualifier
@Retention(RUNTIME)
@Target({FIELD,METHOD,PARAMETER,TYPE})
public @interface OciConfig
A convenient
Qualifier
annotation indicating that the qualified element is sourced from an OCI configuration
file in some way, because, for example, other means of sourcing the element might otherwise be available.
Consider, as an arbitrary example, the SessionTokenAuthenticationDetailsProvider
class, whose instances can be created either manually from its associated builder class or from an OCI configuration file. It can be useful to qualify production in the second case with this qualifier
annotation.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
AnAnnotationLiteral
that implements theOciConfig
annotation interface.