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 AnnotationLiteral<Connector> implements Connector
Supports inline instantiation of the Connector qualifier.
See Also:
  • Method Details

    • of

      public static Connector of(String value)
      Creates a new instance of ConnectorLiteral.
      Parameters:
      value - the name of the connector, must not be null, must not be blank
      Returns:
      the ConnectorLiteral instance.
    • value

      public String value()
      Returns:
      the connector name.