public static < T > void injectEEFields ( Iterable < Set < ResourceInjection < ? > > > resourceInjectionsHierarchy , T beanInstance , CreationalContext < T > ctx ) { for ( Set < ResourceInjection < ? > > resourceInjections : resourceInjectionsHierarchy ) { for ( ResourceInjection < ? > resourceInjection : resourceInjections ) { resourceInjection . injectResourceReference ( beanInstance , ctx ) ; } } }
Injects EJBs and other EE resources .