static void releaseLock ( final StatefulSessionComponentInstance instance ) { instance . getLock ( ) . unlock ( getLockOwner ( instance . getComponent ( ) . getTransactionSynchronizationRegistry ( ) ) ) ; ROOT_LOGGER . tracef ( "Released lock: %s" , instance . getLock ( ) ) ; }
Releases the lock held by this thread on the stateful component instance .