[jboss-jira] [JBoss JIRA] (DROOLS-975) Drools/jBPM classes are tightly coupled to JtaTransactionManager

Luke McDougall (JIRA) issues at jboss.org
Tue Nov 10 10:31:00 EST 2015


Luke McDougall created DROOLS-975:
-------------------------------------

             Summary: Drools/jBPM classes are tightly coupled to JtaTransactionManager
                 Key: DROOLS-975
                 URL: https://issues.jboss.org/browse/DROOLS-975
             Project: Drools
          Issue Type: Enhancement
          Components: core engine
    Affects Versions: 6.3.0.Final
            Reporter: Luke McDougall
            Assignee: Mario Fusco
            Priority: Minor


A few Drools/jBPM classes are directly instantiating JtaTransactionManager making it impossible to swap in a different TransactinManager implementation.

Instead these classes could obtain TransactionManager instances using the abstract factory pattern.  The default factory would return JtaTransactionManager instance so current behaviour is unchanged.

I plan to submit a pull request with this change.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list