private void setBindingName ( ) // d681743 throws InjectionException { Map < String , String > ejbRefBindings = ivNameSpaceConfig . getEJBRefBindings ( ) ; if ( ejbRefBindings != null ) { ivBindingName = ejbRefBindings . get ( getJndiName ( ) ) ; if ( ivBindingName != null && ivBindingName . equals ( "" ) ) { ivBindingName = null ; Tr . warning ( tc , "EJB_BOUND_TO_EMPTY_STRING_CWNEN0025W" ) ; if ( isValidationFailable ( ) ) // fail if enabled F743-14449 { InjectionConfigurationException icex = new InjectionConfigurationException ( "The " + getJndiName ( ) + " EJB reference in the " + ivModule + " module of the " + ivApplication + " application has been" + " bound to the empty string in the global Java Naming and Directory Interface (JNDI) namespace." ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) Tr . exit ( tc , "resolve : " + icex ) ; throw icex ; } } } }
Returns true if the user has configured a binding for this reference .