docs: private void registerServerTransactionTable(ComponentRegistry componentRegistry, String cacheName) {
        //skip for global tx table and non-transactional cache
        if (GLOBAL_TX_TABLE_CACHE_NAME.equals(cacheName) ||
              !componentRegistry.getComponent(Configuration.class).transaction().transactionMode().isTransactional()) {
           return;
        }
        EmbeddedCacheManager cacheManager = componentRegistry.getGlobalComponentRegistry()
              .getComponent(EmbeddedCacheManager.class);
        createGlobalTxTable(cacheManager);
        // TODO We need a way for a module to install a factory before the default implementation is instantiated
        BasicComponentRegistry basicComponentRegistry = componentRegistry.getComponent(BasicComponentRegistry.class);
        basicComponentRegistry.replaceComponent(PerCacheTxTable.class.getName(), new PerCacheTxTable(cacheManager.getAddress()), true);
        basicComponentRegistry.replaceComponent(TransactionOriginatorChecker.class.getName(), new ServerTransactionOriginatorChecker(), true);
        basicComponentRegistry.rewire();
     }