super(getConstructorParams(defaultTransactionTimeoutSeconds, transactionLog, (ReferenceCollection)resourceManagers));
}
private static TransactionManagerProxy.ConstructorParams getConstructorParams(int defaultTransactionTimeoutSeconds, TransactionLog transactionLog, ReferenceCollection resourceManagers) throws SystemException {
TransactionManagerProxy.ConstructorParams params = new TransactionManagerProxy.ConstructorParams();
XidFactory xidFactory = new XidFactoryImpl("WHAT DO WE CALL IT?".getBytes());
if (transactionLog == null) {
transactionLog = new UnrecoverableLog();
}
ExtendedTransactionManager delegate = new TransactionManagerImpl(defaultTransactionTimeoutSeconds, transactionLog, xidFactory);
Recovery recovery = new RecoveryImpl(transactionLog, xidFactory);