Class ConnectorLiteral
- java.lang.Object
-
- javax.enterprise.util.AnnotationLiteral<Connector>
-
- org.eclipse.microprofile.reactive.messaging.spi.ConnectorLiteral
-
- All Implemented Interfaces:
java.lang.annotation.Annotation
public final class ConnectorLiteral extends AnnotationLiteral<Connector> implements Connector
Supports inline instantiation of theConnector
qualifier.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Connector
of(java.lang.String value)
Creates a new instance ofConnectorLiteral
.java.lang.String
value()
-
Methods inherited from class javax.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
-
-
-
Method Detail
-
of
public static Connector of(java.lang.String value)
Creates a new instance ofConnectorLiteral
.- Parameters:
value
- the name of the connector, must not benull
, must not beblank
- Returns:
- the
ConnectorLiteral
instance.
-
value
public java.lang.String value()
- Returns:
- the connector name.
-
-