Interface ClientAttempt


public interface ClientAttempt
Trusted-host attempt closure for one pinned logical call. Application exceptions, error details and annotation metadata cannot implement or replace the managed binding's actual state.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Reports whether this closure entered the Java business proxy for its latest execution.
    Runs one connection followed by at most one business-method invocation.
    default boolean
    Performs a qualified readonly reachability probe without business entry or invocation replay.
  • Method Details

    • execute

      Object execute() throws Throwable
      Runs one connection followed by at most one business-method invocation. Implementations preserve the captured arguments, principal, target and logical deadline.
      Returns:
      business result
      Throws:
      Throwable - connection or business failure, without claiming an effect was undone
    • probe

      default boolean probe()
      Performs a qualified readonly reachability probe without business entry or invocation replay. Unsupported connectors return false, which never grants a healthy half-open result.
      Returns:
      true only after positive bounded proof of the same pinned target
    • businessEntered

      boolean businessEntered()
      Reports whether this closure entered the Java business proxy for its latest execution. The managed binding owns this state and sets it before method invocation, including argument encoding. False is usable only for failures of its qualified read-only connector/OPEN phase. A true value stays true after any thrown application error, including forged NOT_STARTED data.
      Returns:
      true after entering the business proxy; false only before that boundary