Annotation Interface J7mResource


@Documented @Retention(RUNTIME) @Target({FIELD,PARAMETER}) public @interface J7mResource
Requests an application-scoped J7M capability such as a durable queue, coordination service, saga service, isolation provider, audit publisher, or metrics publisher.

The platform resolves resources by public API type and optional qualifier. It must never inject raw transport internals, mutable registry maps, or implementation-private runtime objects into application code.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns the host-owned named binding policy.
    Returns the explicit binding refresh mode; legacy injectors retain their existing behavior.
    Returns an optional qualifier.
  • Element Details

    • value

      String value
      Returns an optional qualifier.
      Returns:
      resource qualifier, or the empty string for the default binding
      Default:
      ""
    • refresh

      Returns the explicit binding refresh mode; legacy injectors retain their existing behavior.
      Returns:
      NEVER unless a managed host supplies a dynamic binding adapter
      Default:
      NEVER
    • policy

      String policy
      Returns the host-owned named binding policy.
      Returns:
      default policy identifier
      Default:
      "default"