List of usage examples for javax.transaction TransactionManager hashCode
@HotSpotIntrinsicCandidate public native int hashCode();
From source file:org.apache.synapse.commons.transaction.TranscationManger.java
public static void lookUp(Context txContext) throws Exception { long key = Thread.currentThread().getId(); Map<Long, TransactionManager> txMgrMap = txManagers.get(); if (txMgrMap.containsKey(key)) { } else {/*from w ww . ja v a 2 s . c o m*/ TransactionManager transactionManager = (TransactionManager) txContext .lookup(TRANSCATION_MANGER_LOOKUP_STR); txMgrMap.put(key, transactionManager); if (log.isDebugEnabled()) { StringBuilder logMsg = new StringBuilder(); logMsg.append(" Transaction Mgr Hashcode : " + transactionManager.hashCode()).append("\n") .append(" Transaction Mgr : " + transactionManager); log.debug(logMsg.toString()); } } }