@Override
    public final boolean skipCreatingBda(CDIArchive archive) {
        //only skip this if it is a leaf archive
        boolean skip = isImplicitBeanArchivesScanningDisabled(archive);
        skip = skip && (archive.getBeansXml() == null);
        skip = skip && (!(archive.getType() == ArchiveType.WEB_MODULE));
        return skip;
    }
@ Override public final boolean skipCreatingBda ( CDIArchive archive ) { boolean skip = isImplicitBeanArchivesScanningDisabled ( archive ) ; skip = skip && ( archive . getBeansXml ( ) == null ) ; skip = skip && ( ! ( archive . getType ( ) == ArchiveType . WEB_MODULE ) ) ; return skip ; }
Determine whether this jar is completely ignored by CDI, so no need to create bda for it. The jar will be ignored if it does not contain beans.xml and
in the server.xml, implicit bean archive scanning is disabled.

@param moduleContainer the module container
@param type the module type
@return whether the jar will be ignored by CDI