Annotation Interface ResourceTransaction


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface ResourceTransaction
Selects a trusted host policy for native participating resource 2PC, not JDBC or external ACID. REQUIRED joins only the same actual owned invocation/profile. Ordinary Java self-calls do not introduce interception, and a remote hop does not convey transaction authority.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns the exact trusted resource transaction policy name.
  • Element Details

    • policy

      String policy
      Returns the exact trusted resource transaction policy name.
      Returns:
      registered policy ID, defaulting to the explicit default registration
      Default:
      "default"