if (transactionFactory != null) {
return;
}
// 如果传入的工厂为空将采用默认的工厂模式
if (StringUtil.isEmptyAndNull(factoryName)) {
transactionFactory = new DefaultTransactionFactory();
return;
}
transactionFactory = (TransactionFactory)RefObjectUtil.loadClass(factoryName);
}