Class ConnectorLiteral
- java.lang.Object
-
- javax.enterprise.util.AnnotationLiteral<Connector>
-
- org.eclipse.microprofile.reactive.messaging.spi.ConnectorLiteral
-
- All Implemented Interfaces:
Annotation
public final class ConnectorLiteral extends javax.enterprise.util.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(String value)
Creates a new instance ofConnectorLiteral
.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 Connector of(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 String value()
- Returns:
- the connector name.
-
-