com.sun.enterprise.deployment.archivist
Class PersistenceArchivist
java.lang.Object
com.sun.enterprise.deployment.archivist.ExtensionsArchivist
com.sun.enterprise.deployment.archivist.PersistenceArchivist
- Direct Known Subclasses:
- ACCPersistenceArchivist, EarPersistenceArchivist, ServerSidePersistenceArchivist, WarPersistenceArchivist
public abstract class PersistenceArchivist
- extends ExtensionsArchivist
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAR_EXT
protected static final java.lang.String JAR_EXT
- See Also:
- Constant Field Values
SEPERATOR_CHAR
protected static final char SEPERATOR_CHAR
- See Also:
- Constant Field Values
logger
protected final java.util.logging.Logger logger
PersistenceArchivist
public PersistenceArchivist()
getStandardDDFile
public DeploymentDescriptorFile getStandardDDFile(RootDeploymentDescriptor descriptor)
- Specified by:
getStandardDDFile in class ExtensionsArchivist
getConfigurationDDFile
public DeploymentDescriptorFile getConfigurationDDFile(RootDeploymentDescriptor descriptor)
- Specified by:
getConfigurationDDFile in class ExtensionsArchivist
getModuleType
public XModuleType getModuleType()
- Specified by:
getModuleType in class ExtensionsArchivist
supportsModuleType
public abstract boolean supportsModuleType(XModuleType moduleType)
- Specified by:
supportsModuleType in class ExtensionsArchivist
open
public java.lang.Object open(Archivist main,
ReadableArchive archive,
RootDeploymentDescriptor descriptor)
throws java.io.IOException,
org.xml.sax.SAXParseException
- Overrides:
open in class ExtensionsArchivist
- Throws:
java.io.IOException
org.xml.sax.SAXParseException
isProbablePuRootJar
public static boolean isProbablePuRootJar(java.lang.String path)
- Returns:
- true of given path is probable pu root
readPersistenceDeploymentDescriptor
protected PersistenceUnitsDescriptor readPersistenceDeploymentDescriptor(Archivist main,
ReadableArchive subArchive,
java.lang.String puRoot,
RootDeploymentDescriptor descriptor)
throws java.io.IOException,
org.xml.sax.SAXParseException
- Throws:
java.io.IOException
org.xml.sax.SAXParseException
getDefaultDescriptor
public <T extends RootDeploymentDescriptor> T getDefaultDescriptor()
- Specified by:
getDefaultDescriptor in class ExtensionsArchivist
getProbablePersistenceRoots
protected static java.util.Map<java.lang.String,ReadableArchive> getProbablePersistenceRoots(ReadableArchive parentArchive,
PersistenceArchivist.SubArchivePURootScanner subArchivePURootScanner)
- Gets probable persitence roots from given parentArchive using given subArchiveRootScanner
- Parameters:
parentArchive - the parentArchive within which probable persitence roots need to be scannedsubArchivePURootScanner - the scanner instance used for the scan
- Returns:
- Map of puroot path to probable puroot archive.
- See Also:
com.sun.enterprise.deployment.archivist.EarPersistenceArchivist.SubArchivePURootScanner
getPuRoot
protected java.lang.String getPuRoot(ReadableArchive archive)
Copyright © 2012 GlassFish Community. All Rights Reserved.