public static synchronized TxnManagerFactory getTxnManagerFactory() {
    if (self == null) {
      self = new TxnManagerFactory();
    }
    return self;
  }
Get the singleton instance of this factory.
@return this factory
ql/src/java/org/apache/hadoop/hive/ql/lockmgr/TxnManagerFactory.java