public class FileSystemBeanArchiveHandler extends Object implements BeanArchiveHandler
Modifier and Type | Class and Description |
---|---|
protected static interface |
FileSystemBeanArchiveHandler.Entry
An abstraction of a bean archive entry.
|
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_FILE_EXTENSION |
Constructor and Description |
---|
FileSystemBeanArchiveHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
add(FileSystemBeanArchiveHandler.Entry entry,
BeanArchiveBuilder builder) |
BeanArchiveBuilder |
handle(String path)
The returned builder must only contain a complete set of found classes, other properties do not have to be set.
|
protected void |
handleDirectory(org.jboss.weld.environment.deployment.discovery.FileSystemBeanArchiveHandler.DirectoryEntry entry,
BeanArchiveBuilder builder) |
protected void |
handleFile(File file,
BeanArchiveBuilder builder) |
protected void |
handleNestedFile(String path,
File file,
BeanArchiveBuilder builder) |
public static final String CLASS_FILE_EXTENSION
public BeanArchiveBuilder handle(String path)
BeanArchiveHandler
handle
in interface BeanArchiveHandler
path
- A reference to a bean archive (e.g. file path)null
if the reference cannot be handledprotected void handleFile(File file, BeanArchiveBuilder builder) throws IOException
IOException
protected void handleDirectory(org.jboss.weld.environment.deployment.discovery.FileSystemBeanArchiveHandler.DirectoryEntry entry, BeanArchiveBuilder builder) throws IOException
IOException
protected void handleNestedFile(String path, File file, BeanArchiveBuilder builder) throws IOException
IOException
protected void add(FileSystemBeanArchiveHandler.Entry entry, BeanArchiveBuilder builder) throws MalformedURLException
MalformedURLException
Copyright © 2020. All rights reserved.