public class EARBasedPersistenceHelper extends Object
Constructor and Description |
---|
EARBasedPersistenceHelper() |
Modifier and Type | Method and Description |
---|---|
protected static void |
addLibraryAndTopLevelCandidates(ReadableArchive earArchive,
Application app,
boolean includeTopLevel,
Map<String,ReadableArchive> probablePersistentArchives)
Adds candidate persistence archives from the EAR's library directory
and, if selected, from the top-level.
|
static boolean |
isComponentJar(String jarName,
Set<ModuleDescriptor<BundleDescriptor>> moduleDescriptors) |
public static boolean isComponentJar(String jarName, Set<ModuleDescriptor<BundleDescriptor>> moduleDescriptors)
protected static void addLibraryAndTopLevelCandidates(ReadableArchive earArchive, Application app, boolean includeTopLevel, Map<String,ReadableArchive> probablePersistentArchives)
earArchive
- ReadableArchive for the EARapp
- application's descriptorincludeTopLevel
- whether or not to include top-level JARs for scanningprobablePersistentArchives
- map to which new candidates will be addedCopyright © 2018. All rights reserved.