test_class.declarator: shardingTransactionManagerEngine = new ShardingTransactionManagerEngine()
test_class.modifier: private final
test_class.original_string: private final ShardingTransactionManagerEngine shardingTransactionManagerEngine = new ShardingTransactionManagerEngine();
test_class.type: ShardingTransactionManagerEngine
test_class.var_name: shardingTransactionManagerEngine
test_class.file: shardingsphere-transaction/shardingsphere-transaction-core/src/test/java/org/apache/shardingsphere/transaction/ShardingTransactionManagerEngineTest.java
test_class.identifier: ShardingTransactionManagerEngineTest
test_case.body: @Test
      public void assertGetEngine() {
          assertThat(shardingTransactionManagerEngine.getTransactionManager(TransactionType.XA), instanceOf(ShardingTransactionManagerFixture.class));
      }
test_case.class_method_signature: ShardingTransactionManagerEngineTest.assertGetEngine()
test_case.full_signature: @Test public void assertGetEngine()
test_case.identifier: assertGetEngine
test_case.invocations: assertThat getTransactionManager instanceOf
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertGetEngine()
focal_class.declarator: transactionManagerMap = new EnumMap<>(TransactionType.class)
focal_class.modifier: private final
focal_class.original_string: private final Map<TransactionType, ShardingTransactionManager> transactionManagerMap = new EnumMap<>(TransactionType.class);
focal_class.type: Map<TransactionType, ShardingTransactionManager>
focal_class.var_name: transactionManagerMap
focal_class.file: shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/ShardingTransactionManagerEngine.java
focal_class.identifier: ShardingTransactionManagerEngine
focal_class.class_method_signature: ShardingTransactionManagerEngine.ShardingTransactionManagerEngine()
focal_class.full_signature: public  ShardingTransactionManagerEngine()
focal_class.identifier: ShardingTransactionManagerEngine
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  ShardingTransactionManagerEngine()
focal_class.class_method_signature: ShardingTransactionManagerEngine.loadShardingTransactionManager()
focal_class.full_signature: private void loadShardingTransactionManager()
focal_class.identifier: loadShardingTransactionManager
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void loadShardingTransactionManager()
focal_class.class_method_signature: ShardingTransactionManagerEngine.init(final DatabaseType databaseType, final Map<String, DataSource> dataSourceMap)
focal_class.full_signature: public void init(final DatabaseType databaseType, final Map<String, DataSource> dataSourceMap)
focal_class.identifier: init
focal_class.modifiers: public
focal_class.parameters: (final DatabaseType databaseType, final Map<String, DataSource> dataSourceMap)
focal_class.return: void
focal_class.signature: void init(final DatabaseType databaseType, final Map<String, DataSource> dataSourceMap)
focal_class.class_method_signature: ShardingTransactionManagerEngine.getResourceDataSources(final Map<String, DataSource> dataSourceMap)
focal_class.full_signature: private Collection<ResourceDataSource> getResourceDataSources(final Map<String, DataSource> dataSourceMap)
focal_class.identifier: getResourceDataSources
focal_class.modifiers: private
focal_class.parameters: (final Map<String, DataSource> dataSourceMap)
focal_class.return: Collection<ResourceDataSource>
focal_class.signature: Collection<ResourceDataSource> getResourceDataSources(final Map<String, DataSource> dataSourceMap)
focal_class.class_method_signature: ShardingTransactionManagerEngine.getTransactionManager(final TransactionType transactionType)
focal_class.full_signature: public ShardingTransactionManager getTransactionManager(final TransactionType transactionType)
focal_class.identifier: getTransactionManager
focal_class.modifiers: public
focal_class.parameters: (final TransactionType transactionType)
focal_class.return: ShardingTransactionManager
focal_class.signature: ShardingTransactionManager getTransactionManager(final TransactionType transactionType)
focal_class.class_method_signature: ShardingTransactionManagerEngine.close()
focal_class.full_signature: public void close()
focal_class.identifier: close
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_method.body: public ShardingTransactionManager getTransactionManager(final TransactionType transactionType) {
          ShardingTransactionManager result = transactionManagerMap.get(transactionType);
          if (TransactionType.LOCAL != transactionType) {
              Preconditions.checkNotNull(result, "Cannot find transaction manager of [%s]", transactionType);
          }
          return result;
      }
focal_method.class_method_signature: ShardingTransactionManagerEngine.getTransactionManager(final TransactionType transactionType)
focal_method.full_signature: public ShardingTransactionManager getTransactionManager(final TransactionType transactionType)
focal_method.identifier: getTransactionManager
focal_method.invocations: get checkNotNull
focal_method.modifiers: public
focal_method.parameters: (final TransactionType transactionType)
focal_method.return: ShardingTransactionManager
focal_method.signature: ShardingTransactionManager getTransactionManager(final TransactionType transactionType)