@Service @Singleton public class ArchivistFactory extends Object
ArchivistsWebServicesArchivist,
EjbInWarArchivist,
PersistenceArchivist| Modifier and Type | Field and Description |
|---|---|
static String |
ARCHIVE_TYPE |
static String |
EXTENSION_ARCHIVE_TYPE |
| Constructor and Description |
|---|
ArchivistFactory() |
| Modifier and Type | Method and Description |
|---|---|
Archivist |
getArchivist(ArchiveType moduleType)
Returns an Archivist of the specified archive type
|
Archivist |
getArchivist(String archiveType)
Returns an Archivist of the specified archive type
|
Archivist |
getArchivist(String archiveType,
ClassLoader cl)
Returns an Archivist of the specified archive type, and sets the classloader for it
|
List<ExtensionsArchivist> |
getExtensionsArchivists(Collection<Sniffer> sniffers,
ArchiveType moduleType)
Gets all the classes for processing parts of a specified archive
|
public static final String ARCHIVE_TYPE
public static final String EXTENSION_ARCHIVE_TYPE
public Archivist getArchivist(String archiveType, ClassLoader cl)
archiveType - cl - public Archivist getArchivist(String archiveType)
archiveType - public Archivist getArchivist(ArchiveType moduleType)
moduleType - public List<ExtensionsArchivist> getExtensionsArchivists(Collection<Sniffer> sniffers, ArchiveType moduleType)
sniffers - moduleType - WebServicesArchivist,
EjbInWarArchivist,
PersistenceArchivistCopyright © 2017. All rights reserved.