save the specified entitymanager in the local threads active transaction . the transactionsynchronizationregistry will clear the reference to the entitymanager when the transaction completes . concode_field_sep EntityManager manager concode_elem_sep String scopedPuName concode_elem_sep TransactionManager transactionManager concode_elem_sep TransactionSynchronizationRegistry transactionSynchronizationRegistry concode_field_sep void beforeCompletion concode_elem_sep TransactionSynchronizationRegistry getTransactionSynchronizationRegistry concode_elem_sep String currentThread concode_elem_sep EntityManager getEntityManagerInTransactionRegistry concode_elem_sep String getEntityManagerDetails concode_elem_sep void afterCompletion concode_elem_sep EntityManager getTransactionScopedEntityManager concode_elem_sep void setTransactionManager concode_elem_sep void registerSynchronization concode_elem_sep boolean safeToClose concode_elem_sep TransactionManager getTransactionManager concode_elem_sep void setTransactionSynchronizationRegistry concode_elem_sep boolean isInTx concode_elem_sep Transaction getTransaction
void function ( String arg0 , EntityManager arg1 ) { getTransactionSynchronizationRegistry ( ) . putResource ( arg0 , arg1 ) ; }