create new wrapper for persistenceunitname and hold it 's instance for future use . concode_field_sep Object reloadLock concode_elem_sep AgentLogger LOGGER concode_elem_sep String persistenceUnitName concode_elem_sep EntityManagerFactory currentInstance concode_elem_sep Object builder concode_elem_sep Map<String,EntityManagerFactoryProxy> proxiedFactories concode_elem_sep Map properties concode_elem_sep PersistenceUnitInfo info concode_field_sep void refreshProxiedFactory concode_elem_sep EntityManagerFactory proxy concode_elem_sep void buildFreshEntityManagerFactory concode_elem_sep Class loadClass concode_elem_sep void refreshProxiedFactorySpring concode_elem_sep void refreshProxiedFactories concode_elem_sep void refreshProxiedFactoryVersion43OrGreater
EntityManagerFactoryProxy function ( String arg0 ) { if ( ! proxiedFactories . containsKey ( arg0 ) ) { proxiedFactories . put ( arg0 , new EntityManagerFactoryProxy ( ) ) ; } return proxiedFactories . get ( arg0 ) ; }