public synchronized TransactorNode getTransactorNode() { checkIfClosed(); if (tnode == null) { tnode = new TransactorNode(env, getTransactorID()); } else if (tnode.getStatus() == TrStatus.CLOSED) { throw new IllegalStateException("TransactorNode is closed!"); } return tnode; }