Annotation Interface Endpoint.Listener

Enclosing class:
Endpoint

@Target(TYPE) @Retention(RUNTIME) @Documented public static @interface Endpoint.Listener
Listener socket assigned to this endpoint. This only makes sense for server side, as it is binding endpoint to a server socket.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Name of a routing to bind this application/service to.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Set to true if the value() MUST be configured.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Configuration key of the routing name, appended after the fully qualified class name (does not contain the leading dot).
    static final String
    Configuration key of the routing name required flag, appended after the fully qualified class name (does not contain the leading dot).
  • Field Details

    • CONFIG_KEY_NAME

      static final String CONFIG_KEY_NAME
      Configuration key of the routing name, appended after the fully qualified class name (does not contain the leading dot).
      See Also:
    • CONFIG_KEY_REQUIRED

      static final String CONFIG_KEY_REQUIRED
      Configuration key of the routing name required flag, appended after the fully qualified class name (does not contain the leading dot).
      See Also:
  • Element Details

    • value

      String value
      Name of a routing to bind this application/service to.
      Returns:
      name of a routing (or listener host/port) on WebServer
    • required

      boolean required
      Set to true if the value() MUST be configured.
      Returns:
      true to enforce existence of the named routing
      Default:
      false