private void connectReferences ( ) { // ready to associate initalized beans with references for ( Bean bean : beans . values ( ) ) { for ( JpaRef ref : refs . get ( bean . getId ( ) ) ) { BeanId target = ref . getTarget ( ) ; Bean targetBean = beans . get ( target ) ; target . setBean ( targetBean ) ; bean . addReference ( ref . getPropertyName ( ) , target ) ; } } }
Assemble beans and initalize references from what have been provided .