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

LRA constructor without a URI is "brittle"

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.0.2.Final
    • LRA
    • None

      The constructor that takes just a Uid should only be used when loading an LRA from the ObjectStore. So after constructing the LRA the expectation is that it restore_state will be called so that the URI for the LRA gets initialised. Such behaviour is not obvious and can result in difficult to understand code. This issue tracker is to either improve the code structure or to add clear commentary about how the LRA URI gets initialised.

              Unassigned Unassigned
              rhn-engineering-mmusgrov Michael Musgrove
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: