com.sun.enterprise.deployment.archivist
Class EARBasedPersistenceHelper
java.lang.Object
com.sun.enterprise.deployment.archivist.EARBasedPersistenceHelper
public class EARBasedPersistenceHelper
- extends java.lang.Object
Common logic supporting persistence archivists that deal with EARs.
- Author:
- tjquinn
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EARBasedPersistenceHelper
public EARBasedPersistenceHelper()
isComponentJar
public static boolean isComponentJar(java.lang.String jarName,
java.util.Set<ModuleDescriptor<BundleDescriptor>> moduleDescriptors)
- Returns:
- true if the jarName corresponds to component jar (like a war or ejb.jar) in an .ear false otherwise
addLibraryAndTopLevelCandidates
protected static void addLibraryAndTopLevelCandidates(ReadableArchive earArchive,
Application app,
boolean includeTopLevel,
java.util.Map<java.lang.String,ReadableArchive> probablePersistentArchives)
- Adds candidate persistence archives from the EAR's library directory
and, if selected, from the top-level.
- Parameters:
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 added
Copyright © 2012 GlassFish Community. All Rights Reserved.