private void handleResourcePath(String rootPath, String resourcePath, BeanArchiveBuilder builder) { WeldServletLogger.LOG.debugv("Handle resource path: {0}", resourcePath); Set<String> subpaths = servletContext.getResourcePaths(resourcePath); if (subpaths != null && !subpaths.isEmpty()) { for (String subpath : subpaths) { if (subpath.endsWith(SLASH)) { // Paths indicating subdirectory end with a '/' handleResourcePath(rootPath, subpath, builder); } else if (subpath.endsWith(Files.CLASS_FILE_EXTENSION)) { add(rootPath, subpath, builder); } } } }
private void handleResourcePath(String rootPath, String resourcePath, BeanArchiveBuilder builder) { WeldServletLogger.LOG.debugv("Handle resource path: {0}", resourcePath); Set<String> subpaths = servletContext.getResourcePaths(resourcePath); if (subpaths != null && !subpaths.isEmpty()) { for (String subpath : subpaths) { if (subpath.endsWith(SLASH)) { // Paths indicating subdirectory end with a '/' handleResourcePath(rootPath, subpath, builder); } else if (subpath.endsWith(Files.CLASS_FILE_EXTENSION)) { add(rootPath, subpath, builder); } } } }
private void handleResourcePath(String rootPath, String resourcePath, BeanArchiveBuilder builder) { WeldServletLogger.LOG.debugv("Handle resource path: {0}", resourcePath); Set<String> subpaths = servletContext.getResourcePaths(resourcePath); if (subpaths != null && !subpaths.isEmpty()) { for (String subpath : subpaths) { if (subpath.endsWith(SLASH)) { // Paths indicating subdirectory end with a '/' handleResourcePath(rootPath, subpath, builder); } else if (subpath.endsWith(Files.CLASS_FILE_EXTENSION)) { add(rootPath, subpath, builder); } } } }
private void handleLibrary(URL url, InputStream in, BeanArchiveBuilder builder) throws IOException { WeldServletLogger.LOG.debugv("Handle library: {0}", url); try (ZipInputStream zip = new ZipInputStream(in)) { ZipEntry entry = null; while ((entry = zip.getNextEntry()) != null) { if (Files.isClass(entry.getName())) { builder.addClass(Files.filenameToClassname(entry.getName())); } } } }
private void handleLibrary(URL url, InputStream in, BeanArchiveBuilder builder) throws IOException { WeldServletLogger.LOG.debugv("Handle library: {0}", url); try (ZipInputStream zip = new ZipInputStream(in)) { ZipEntry entry = null; while ((entry = zip.getNextEntry()) != null) { if (Files.isClass(entry.getName())) { builder.addClass(Files.filenameToClassname(entry.getName())); } } } }
private void handleLibrary(URL url, InputStream in, BeanArchiveBuilder builder) throws IOException { WeldServletLogger.LOG.debugv("Handle library: {0}", url); try (ZipInputStream zip = new ZipInputStream(in)) { ZipEntry entry = null; while ((entry = zip.getNextEntry()) != null) { if (Files.isClass(entry.getName())) { builder.addClass(Files.filenameToClassname(entry.getName())); } } } }
if (container == null) { WeldServletLogger.LOG.noSupportedServletContainerDetected(); WeldServletLogger.LOG.debugv("Exception dump from Container lookup: {0}", dump); } else { container.initialize(containerContext);
if (container == null) { WeldServletLogger.LOG.noSupportedServletContainerDetected(); WeldServletLogger.LOG.debugv("Exception dump from Container lookup: {0}", dump); } else { container.initialize(containerContext);
if (container == null) { WeldServletLogger.LOG.noSupportedServletContainerDetected(); WeldServletLogger.LOG.debugv("Exception dump from Container lookup: {0}", dump); } else { container.initialize(containerContext);