test_class.declarator: singleXAResource
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private SingleXAResource singleXAResource;
test_class.type: SingleXAResource
test_class.var_name: singleXAResource
test_class.declarator: xaDataSource
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private XADataSource xaDataSource;
test_class.type: XADataSource
test_class.var_name: xaDataSource
test_class.declarator: xaConnection
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private XAConnection xaConnection;
test_class.type: XAConnection
test_class.var_name: xaConnection
test_class.declarator: xaResource
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private XAResource xaResource;
test_class.type: XAResource
test_class.var_name: xaResource
test_class.declarator: bitronixRecoveryResource
test_class.modifier: private
test_class.original_string: private BitronixRecoveryResource bitronixRecoveryResource;
test_class.type: BitronixRecoveryResource
test_class.var_name: bitronixRecoveryResource
test_class.file: shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/test/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/BitronixRecoveryResourceTest.java
test_class.identifier: BitronixRecoveryResourceTest
test_case.body: @Test
      public void assertFindXAResourceHolder() {
          assertNotNull(bitronixRecoveryResource.findXAResourceHolder(singleXAResource));
      }
test_case.class_method_signature: BitronixRecoveryResourceTest.assertFindXAResourceHolder()
test_case.full_signature: @Test public void assertFindXAResourceHolder()
test_case.identifier: assertFindXAResourceHolder
test_case.invocations: assertNotNull findXAResourceHolder
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertFindXAResourceHolder()
focal_class.declarator: serialVersionUID = 3352890484951804392L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 3352890484951804392L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: resourceName
focal_class.modifier: private final
focal_class.original_string: private final String resourceName;
focal_class.type: String
focal_class.var_name: resourceName
focal_class.declarator: xaDataSource
focal_class.modifier: private final
focal_class.original_string: private final XADataSource xaDataSource;
focal_class.type: XADataSource
focal_class.var_name: xaDataSource
focal_class.declarator: xaConnection
focal_class.modifier: private
focal_class.original_string: private XAConnection xaConnection;
focal_class.type: XAConnection
focal_class.var_name: xaConnection
focal_class.file: shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/main/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/BitronixRecoveryResource.java
focal_class.identifier: BitronixRecoveryResource
focal_class.interfaces: implements XAResourceProducer
focal_class.class_method_signature: BitronixRecoveryResource.init()
focal_class.full_signature: @Override public void init()
focal_class.identifier: init
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void init()
focal_class.class_method_signature: BitronixRecoveryResource.getUniqueName()
focal_class.full_signature: @Override public String getUniqueName()
focal_class.identifier: getUniqueName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUniqueName()
focal_class.class_method_signature: BitronixRecoveryResource.startRecovery()
focal_class.full_signature: @SneakyThrows(SQLException.class) @Override public XAResourceHolderState startRecovery()
focal_class.identifier: startRecovery
focal_class.modifiers: @SneakyThrows(SQLException.class) @Override public
focal_class.parameters: ()
focal_class.return: XAResourceHolderState
focal_class.signature: XAResourceHolderState startRecovery()
focal_class.class_method_signature: BitronixRecoveryResource.endRecovery()
focal_class.full_signature: @SneakyThrows(SQLException.class) @Override public void endRecovery()
focal_class.identifier: endRecovery
focal_class.modifiers: @SneakyThrows(SQLException.class) @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void endRecovery()
focal_class.class_method_signature: BitronixRecoveryResource.setFailed(final boolean failed)
focal_class.full_signature: @Override public void setFailed(final boolean failed)
focal_class.identifier: setFailed
focal_class.modifiers: @Override public
focal_class.parameters: (final boolean failed)
focal_class.return: void
focal_class.signature: void setFailed(final boolean failed)
focal_class.class_method_signature: BitronixRecoveryResource.findXAResourceHolder(final XAResource xaResource)
focal_class.full_signature: @Override public XAResourceHolder findXAResourceHolder(final XAResource xaResource)
focal_class.identifier: findXAResourceHolder
focal_class.modifiers: @Override public
focal_class.parameters: (final XAResource xaResource)
focal_class.return: XAResourceHolder
focal_class.signature: XAResourceHolder findXAResourceHolder(final XAResource xaResource)
focal_class.class_method_signature: BitronixRecoveryResource.createPooledConnection(final Object xaFactory, final ResourceBean bean)
focal_class.full_signature: @Override public XAStatefulHolder createPooledConnection(final Object xaFactory, final ResourceBean bean)
focal_class.identifier: createPooledConnection
focal_class.modifiers: @Override public
focal_class.parameters: (final Object xaFactory, final ResourceBean bean)
focal_class.return: XAStatefulHolder
focal_class.signature: XAStatefulHolder createPooledConnection(final Object xaFactory, final ResourceBean bean)
focal_class.class_method_signature: BitronixRecoveryResource.getReference()
focal_class.full_signature: @Override public Reference getReference()
focal_class.identifier: getReference
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Reference
focal_class.signature: Reference getReference()
focal_class.class_method_signature: BitronixRecoveryResource.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.superclass: extends ResourceBean
focal_method.body: @Override
      public XAResourceHolder findXAResourceHolder(final XAResource xaResource) {
          SingleXAResource singleXAResource = (SingleXAResource) xaResource;
          return resourceName.equals(singleXAResource.getResourceName()) ? new SingleXAResourceHolder(xaResource, this) : null;
      }
focal_method.class_method_signature: BitronixRecoveryResource.findXAResourceHolder(final XAResource xaResource)
focal_method.full_signature: @Override public XAResourceHolder findXAResourceHolder(final XAResource xaResource)
focal_method.identifier: findXAResourceHolder
focal_method.invocations: equals getResourceName
focal_method.modifiers: @Override public
focal_method.parameters: (final XAResource xaResource)
focal_method.return: XAResourceHolder
focal_method.signature: XAResourceHolder findXAResourceHolder(final XAResource xaResource)