public class FileSystemBeanArchiveHandler extends java.lang.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 java.lang.String |
CLASS_FILE_EXTENSION |
Constructor and Description |
---|
FileSystemBeanArchiveHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
add(FileSystemBeanArchiveHandler.Entry entry,
BeanArchiveBuilder builder) |
BeanArchiveBuilder |
handle(java.lang.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(java.io.File file,
BeanArchiveBuilder builder) |
protected boolean |
isClass(java.lang.String name) |
public static final java.lang.String CLASS_FILE_EXTENSION
public BeanArchiveBuilder handle(java.lang.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(java.io.File file, BeanArchiveBuilder builder) throws java.io.IOException
java.io.IOException
protected void handleDirectory(org.jboss.weld.environment.deployment.discovery.FileSystemBeanArchiveHandler.DirectoryEntry entry, BeanArchiveBuilder builder) throws java.io.IOException
java.io.IOException
protected void add(FileSystemBeanArchiveHandler.Entry entry, BeanArchiveBuilder builder) throws java.net.MalformedURLException
java.net.MalformedURLException
protected boolean isClass(java.lang.String name)
Copyright © 2014. All Rights Reserved.