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)
BeanArchiveHandlerhandle in interface BeanArchiveHandlerpath - 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
IOExceptionprotected void handleDirectory(org.jboss.weld.environment.deployment.discovery.FileSystemBeanArchiveHandler.DirectoryEntry entry, BeanArchiveBuilder builder) throws IOException
IOExceptionprotected void handleNestedFile(String path, File file, BeanArchiveBuilder builder) throws IOException
IOExceptionprotected void add(FileSystemBeanArchiveHandler.Entry entry, BeanArchiveBuilder builder) throws MalformedURLException
MalformedURLExceptionCopyright © 2018. All rights reserved.