use of org.unidal.dal.jdbc.transaction.TransactionManager in project x-pipe by ctripcorp.
the class DalTransactionAspect method postConstruct.
@PostConstruct
private void postConstruct() {
try {
transactionManager = ContainerLoader.getDefaultContainer().lookup(TransactionManager.class, ROLE_HINT);
logger.info("[postConstruct]Load TransactionManager: {}", transactionManager.getClass());
} catch (ComponentLookupException e) {
throw new ServerException("Cannot find transaction manager.", e);
}
}
Aggregations