private void addDefaultInterceptors()
                    throws EJBConfigurationException
    {
        final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
        if (isTraceOn && tc.isEntryEnabled())
        {
            Tr.entry(tc, "addDefaultInterceptorNames");
        }

        // Get list of default interceptor names from interceptor-binding for EJB name *.
        List<String> names = new LinkedList<String>();
        if (ivModuleInterceptorBinding != null)
        {
            if (!ivModuleInterceptorBinding.ivInterceptorClassNames.isEmpty()) // d453477
            {
                names = ivModuleInterceptorBinding.ivInterceptorClassNames;
            }
            else if (!ivModuleInterceptorBinding.ivInterceptorOrder.isEmpty()) // d453477
            {
                // interceptor-order and interceptor-classes are mutually exclusive
                // in xml schema.  So only 1 will occur, not both.
                names = ivModuleInterceptorBinding.ivInterceptorOrder;
            }
        }

        // Process any default interceptor names found for the module this bean is in.
        if (names.size() > 0)
        {
            updateNamesToClassMap(names); // d630717

            // Remember list of default interceptor names.
            ivDefaultInterceptorNames.addAll(names);
        }

        if (isTraceOn && tc.isEntryEnabled())
        {
            Tr.exit(tc, "addDefaultInterceptorNames: " + ivDefaultInterceptorNames);
        }
    }
private void addDefaultInterceptors ( ) throws EJBConfigurationException { final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; if ( isTraceOn && tc . isEntryEnabled ( ) ) { Tr . entry ( tc , "addDefaultInterceptorNames" ) ; } List < String > names = new LinkedList < String > ( ) ; if ( ivModuleInterceptorBinding != null ) { if ( ! ivModuleInterceptorBinding . ivInterceptorClassNames . isEmpty ( ) ) { names = ivModuleInterceptorBinding . ivInterceptorClassNames ; } else if ( ! ivModuleInterceptorBinding . ivInterceptorOrder . isEmpty ( ) ) { names = ivModuleInterceptorBinding . ivInterceptorOrder ; } } if ( names . size ( ) > 0 ) { updateNamesToClassMap ( names ) ; ivDefaultInterceptorNames . addAll ( names ) ; } if ( isTraceOn && tc . isEntryEnabled ( ) ) { Tr . exit ( tc , "addDefaultInterceptorNames: " + ivDefaultInterceptorNames ) ; } }
d367572.9 update for xml and metadata-complete.