@Override
 public Statement instance() {
   checkIfShutdown();
   return getKernelTransactionBoundToThisThread(true).acquireStatement();
 }
 public void assertInUnterminatedTransaction() {
   checkIfShutdown();
   assertInUnterminatedTransaction(threadToTransactionMap.get());
 }
 public boolean hasTransaction() {
   checkIfShutdown();
   return threadToTransactionMap.get() != null;
 }