void performJavaNameSpaceBinding ( ) throws InjectionException { final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "performJavaNameSpaceBinding: " + this ) ; for ( InjectionBinding < A > injectionBinding : ivAllAnnotationsCollection . values ( ) ) { // F743-31682 - Only bind to java:global/:app/:module if needed. if ( injectionBinding . getInjectionScope ( ) == InjectionScope . COMP || ivContext . ivBindNonCompInjectionBindings ) { if ( injectionBinding . getBindingObject ( ) == null ) { if ( isTraceOn && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "skipping empty " + injectionBinding ) ; } else { injectionBinding . bindInjectedObject ( ) ; } } else { if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . debug ( tc , "skipping non-java:comp " + injectionBinding . toSimpleString ( ) ) ; } } if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . exit ( tc , "performJavaNameSpaceBinding" ) ; }
Bind all the jndi annotation entries found .