ObjectName transactionManagerObjectName,
ObjectName cachedConnectionManagerObjectName,
ObjectName managedConnectionPoolObjectName)
throws Exception
{
TxConnectionManager cm = new TxConnectionManager();
cm.preRegister(mbeanServer, on);
cm.setTrackConnectionByTx(trackConnectionByTx);
cm.setLocalTransactions(localTransactions);
// dependencies
cm.setTransactionManagerService(transactionManagerObjectName);
cm.setCachedConnectionManager(cachedConnectionManagerObjectName);
cm.setManagedConnectionPool(managedConnectionPoolObjectName);
mbeanServer.registerMBean(cm, on);
mbeanServer.invoke(on, "start", new Object[0], new String[0]);
log.debug("started " + on);