Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3674

Mark NarayanaLRAClient as deprecated


    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 5.13.1.Final
    • 5.13.1.Alpha1
    • LRA, Testing
    • None

      The class io.narayana.lra.client.NarayanaLRAClient was created to simplify the narayana implementation of the MP-LRA specification. We did try to include a Java API in the spec and this class would have served as a PoC, but we had to remove it from the spec because we were accused of being overly ambitious and no further work, beyond our own needs, was done on the class.

      The reason we don't want to support it is that it is untested in a general usage scenario and was evolved specifically for use by the implementation. If we don't mark it as deprecated then users may get the undesirable impression that it is supported.

      Note that there are a number of warning in the javadoc for this class indicating that it is not for general usage but making it explicit will help because users don't always read the javadocs.

            rhn-engineering-mmusgrov Michael Musgrove
            rhn-engineering-mmusgrov Michael Musgrove
            0 Vote for this issue
            1 Start watching this issue