spring-framework / org.springframework.transaction.support / TransactionSynchronizationUtils / sameResourceFactory

sameResourceFactory

open static fun sameResourceFactory(tm: ResourceTransactionManager, resourceFactory: Any): Boolean

Check whether the given resource transaction managers refers to the given (underlying) resource factory.

See Also
ResourceTransactionManager#getResourceFactory()org.springframework.core.InfrastructureProxy#getWrappedObject()