@Test public void ensureExclusions() throws Exception { assertTrue(NewLoaderLogic.skip("openejb-core")); assertTrue(NewLoaderLogic.skip("openejb-core.jar")); assertTrue(NewLoaderLogic.skip("openejb-core-12345.jar")); assertTrue(NewLoaderLogic.skip("tomee-catalina-12345.jar")); assertFalse(NewLoaderLogic.skip("openejb-noexclude.jar")); assertFalse(NewLoaderLogic.skip("business-foo-1.2.3.jar")); }
public static boolean skip(final URL url) { return skip(url, null, null); }
NewLoaderLogic { public static boolean skip(final URL url) { return skip(url, null, null); } }
NewLoaderLogic { public static boolean skip(final URL url) { return skip(url, null, null); }  }
NewLoaderLogic { public static boolean skip(final URL url) { return skip(url, null, null); }  static UrlSet filterArchives(final Filter filter, final ClassLoader classLoader, UrlSet urlSet); static Set<String> callers(); static Set<String> callers(final Filter start); static UrlSet applyBuiltinExcludes(final UrlSet urlSet); static UrlSet applyBuiltinExcludes(final UrlSet urlSet, final Filter includeFilter); static boolean skip(final URL url); static boolean skip(final URL url, final Filter includeFilter, final Filter excludeFilter); static boolean skip(final String name); static UrlSet applyBuiltinExcludes(final UrlSet urlSet, final Filter includeFilter, final Filter excludeFilter); @Deprecated static void setExclusions(final String[] exclusionArray); static void addAdditionalCustomFilter(final Filter excluded, final Filter included); static String[] getExclusions(); @SuppressWarnings("unchecked") static Filter getFilter(); static String sanitize(final String value); static String[] readInputStreamList(final InputStream is); @SuppressWarnings("UseOfSystemOutOrSystemErr") static void _loadFromClasspath(final FileUtils base, final List<URL> jarList, final ClassLoader classLoader); }
NewLoaderLogic { public static boolean skip(final URL url) { return skip(url, null, null); }  static UrlSet filterArchives(final Filter filter, final ClassLoader classLoader, UrlSet urlSet); static Set<String> callers(); static Set<String> callers(final Filter start); static UrlSet applyBuiltinExcludes(final UrlSet urlSet); static UrlSet applyBuiltinExcludes(final UrlSet urlSet, final Filter includeFilter); static boolean skip(final URL url); static boolean skip(final URL url, final Filter includeFilter, final Filter excludeFilter); static boolean skip(final String name); static UrlSet applyBuiltinExcludes(final UrlSet urlSet, final Filter includeFilter, final Filter excludeFilter); @Deprecated static void setExclusions(final String[] exclusionArray); static void addAdditionalCustomFilter(final Filter excluded, final Filter included); static String[] getExclusions(); @SuppressWarnings("unchecked") static Filter getFilter(); static String sanitize(final String value); static String[] readInputStreamList(final InputStream is); @SuppressWarnings("UseOfSystemOutOrSystemErr") static void _loadFromClasspath(final FileUtils base, final List<URL> jarList, final ClassLoader classLoader); static final String DEFAULT_EXCLUSIONS_ALIAS; static final String ADDITIONAL_EXCLUDES; static final String ADDITIONAL_INCLUDE; static final String EXCLUSION_FILE; }