Tuscany
  1. Tuscany
  2. TUSCANY-3871

Provide API to access delegation information in binding.sca

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Java-SCA-2.0-M5
    • Fix Version/s: Java-SCA-2.0
    • Component/s: SCA Java Runtime
    • Labels:
      None

      Description

      There isn't a convenient API to determine how the default binding delegating to a remote binding.

        Activity

        Hide
        Simon Laws added a comment -

        Change committed at revision: 1145112

        Added a simple API to endpoint/endpoint reference to access the delegate endpoint/endpoint reference if there is one.

        Show
        Simon Laws added a comment - Change committed at revision: 1145112 Added a simple API to endpoint/endpoint reference to access the delegate endpoint/endpoint reference if there is one.
        Hide
        Simon Laws added a comment -

        I've been looking at TUSCANY-3884 about separating our the local code. I note that the delegation code clones endpoints and endpoint references during the delegation process. I think we might have to get a bit smarter in routing messages back to the wire from whence they came as this seems to be problematic in the async case where response information is cached on the reference and not copied into the clone. Not sure this thought belongs to this JIRA but if we have an API the model of the delegation should be as clean as possible so that the API makes sense.

        Show
        Simon Laws added a comment - I've been looking at TUSCANY-3884 about separating our the local code. I note that the delegation code clones endpoints and endpoint references during the delegation process. I think we might have to get a bit smarter in routing messages back to the wire from whence they came as this seems to be problematic in the async case where response information is cached on the reference and not copied into the clone. Not sure this thought belongs to this JIRA but if we have an API the model of the delegation should be as clean as possible so that the API makes sense.

          People

          • Assignee:
            Simon Laws
            Reporter:
            Simon Laws
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development