Transaction transaction = context_.getTransaction();
if( transaction == null ) {
logger.log(Level.FINE, "Context transaction = null. Using " +
"invocation instead.");
InvocationManager iMgr = Switch.getSwitch().getInvocationManager();
ComponentInvocation i = iMgr.getCurrentInvocation();
transaction = i.transaction;
}
if( transaction == null ) {
throw new Exception("transaction = null in getContainerSynch " +
"for timerId = " + getTimerId());