http://jira.jboss.com/jira/browse/JBAS-3053
I need to inject the transaction manager in the ejb timer service, so is there a problem if I make:
org.jboss.tm.TransactionManagerServiceMBean extend a new
org.jboss.tm.TransactionManagerFactory interface
and move in the new interface
TransactionManager getTransactionManager();
so the injection in the timer service becomes more clear if we move to a non-jmx environment?
As long as you don't hardwire in the dependency between interface and implementation.