@Retention(value=RUNTIME)
@Target(value=TYPE)
@Documented
public static @interface Contexts.Id
context builder
by a name. Each implementation of a technology
registered into a context
can be annotated with a name (or multiple names). Such implementation
will later be
preferred during lookup
if their name(s) has been requested in when
creating a context
.Modifier and Type | Required Element and Description |
---|---|
java.lang.String[] |
value
Identifier(s) for the implementation.
|
Copyright © 2021 The Apache Software Foundation. All rights reserved.