@Service public class EarPersistenceArchivist extends PersistenceArchivist
PersistenceArchivist.SubArchivePURootScanner
deplLogger, JAR_EXT, SEPERATOR_CHAR
confDDFiles, standardDD
Constructor and Description |
---|
EarPersistenceArchivist() |
Modifier and Type | Method and Description |
---|---|
Object |
open(Archivist main,
ReadableArchive earArchive,
RootDeploymentDescriptor descriptor)
Reads persistence.xml from spec defined pu roots of an ear.
|
boolean |
supportsModuleType(ArchiveType moduleType) |
getConfigurationDDFiles, getDefaultDescriptor, getProbablePersistenceRoots, getPuRoot, getStandardDDFile, isProbablePuRootJar, readPersistenceDeploymentDescriptor, writeDeploymentDescriptors
addExtension, getConfigurationDDFile, getScanner, readRuntimeDeploymentDescriptor, writeRuntimeDeploymentDescriptors, writeStandardDeploymentDescriptors
public boolean supportsModuleType(ArchiveType moduleType)
supportsModuleType
in class PersistenceArchivist
public Object open(Archivist main, ReadableArchive earArchive, RootDeploymentDescriptor descriptor) throws IOException, SAXParseException
open
in class PersistenceArchivist
earArchive
- the archivedescriptor
- the main deployment descriptorIOException
SAXParseException
Copyright © 2019. All rights reserved.