Class EarPersistenceArchivist
- java.lang.Object
-
- com.sun.enterprise.deployment.archivist.ExtensionsArchivist
-
- com.sun.enterprise.deployment.archivist.PersistenceArchivist
-
- com.sun.enterprise.deployment.archivist.EarPersistenceArchivist
-
@Service public class EarPersistenceArchivist extends PersistenceArchivist
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.sun.enterprise.deployment.archivist.PersistenceArchivist
PersistenceArchivist.SubArchivePURootScanner
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.deployment.archivist.PersistenceArchivist
deplLogger, JAR_EXT, SEPERATOR_CHAR
-
Fields inherited from class com.sun.enterprise.deployment.archivist.ExtensionsArchivist
confDDFiles, standardDD
-
-
Constructor Summary
Constructors Constructor Description EarPersistenceArchivist()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
open(Archivist main, ReadableArchive earArchive, RootDeploymentDescriptor descriptor)
Reads persistence.xml from spec defined pu roots of an ear.boolean
supportsModuleType(ArchiveType moduleType)
-
Methods inherited from class com.sun.enterprise.deployment.archivist.PersistenceArchivist
getConfigurationDDFiles, getDefaultDescriptor, getProbablePersistenceRoots, getPuRoot, getStandardDDFile, isProbablePuRootJar, readPersistenceDeploymentDescriptor, writeDeploymentDescriptors
-
Methods inherited from class com.sun.enterprise.deployment.archivist.ExtensionsArchivist
addExtension, getConfigurationDDFile, getScanner, readRuntimeDeploymentDescriptor, writeRuntimeDeploymentDescriptors, writeStandardDeploymentDescriptors
-
-
-
-
Method Detail
-
supportsModuleType
public boolean supportsModuleType(ArchiveType moduleType)
- Specified by:
supportsModuleType
in classPersistenceArchivist
- Returns:
- whether this extension archivist supports this module type
-
open
public Object open(Archivist main, ReadableArchive earArchive, RootDeploymentDescriptor descriptor) throws IOException, SAXParseException
Reads persistence.xml from spec defined pu roots of an ear. Spec defined pu roots are - (1)Non component jars in root of ear (2)jars in lib of ear- Overrides:
open
in classPersistenceArchivist
earArchive
- the archivedescriptor
- the main deployment descriptor- Returns:
- the extension descriptor object
- Throws:
IOException
SAXParseException
-
-