test for spr-1442 . destroyed target should re-associated with thread and not throw npe concode_field_sep DefaultListableBeanFactory beanFactory concode_elem_sep Resource CONTEXT concode_elem_sep int INITIAL_COUNT concode_field_sep void testReuseInSameThread concode_elem_sep void setUp concode_elem_sep void testCanGetStatsViaMixin concode_elem_sep void testNewThreadHasOwnInstance concode_elem_sep void tearDown concode_elem_sep void testUseDifferentManagedInstancesInSameThread
void function ( ) { ThreadLocalTargetSource loc0 = ( ThreadLocalTargetSource ) this . beanFactory . getBean ( "srini_string" ) ; loc0 . getTarget ( ) ; loc0 . destroy ( ) ; try { loc0 . getTarget ( ) ; } catch ( NullPointerException loc1 ) { fail ( "srini_string" ) ; } }