[ https://issues.apache.org/jira/browse/GEODE-5233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Shu updated GEODE-5233: ---------------------------- Component/s: (was: regions) transactions > Eliminate the TxManagerImpl singleton > ------------------------------------- > > Key: GEODE-5233 > URL: https://issues.apache.org/jira/browse/GEODE-5233 > Project: Geode > Issue Type: Improvement > Components: transactions > Reporter: Dale Emery > Priority: Major > > Eliminate the {{TxManagerImpl}} singleton > Many classes invoke static {{TxManagerImpl}} methods that access a > {{TxManagerImpl}} singleton. These methods, and the singleton, are difficult > to configure and observe when testing classes that interact with > {{TxManagerImpl}}. > For testability, eliminate the singleton. Instead, let other objects locate > an instance and interact with it rather than with static methods. This will > allow tests to mock or otherwise fake the {{TxManagerImpl}} for test purposes. -- This message was sent by Atlassian JIRA (v7.6.3#76005)