Package io.smallrye.context.api
Class NamedInstance.Literal
- java.lang.Object
-
- javax.enterprise.util.AnnotationLiteral<NamedInstance>
-
- io.smallrye.context.api.NamedInstance.Literal
-
- All Implemented Interfaces:
Annotation
- Enclosing class:
- NamedInstance
public static final class NamedInstance.Literal extends javax.enterprise.util.AnnotationLiteral<NamedInstance> implements NamedInstance
Supports inline instantiation of theNamedInstance
qualifier.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.smallrye.context.api.NamedInstance
NamedInstance.Literal
-
-
Method Summary
Modifier and Type Method Description static NamedInstance.Literal
of(String value)
String
value()
-
Methods inherited from class javax.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.annotation.Annotation
annotationType, equals, hashCode, toString
-
-
-
-
Method Detail
-
of
public static NamedInstance.Literal of(String value)
-
value
public String value()
-
-