| Package | Description |
|---|---|
| org.eclipse.persistence.internal.jpa.deployment | |
| org.eclipse.persistence.jpa |
| Modifier and Type | Class and Description |
|---|---|
class |
DirectoryArchive
This is an implementation of
Archive when container returns a file:
url that refers to a directory that contains an exploded jar file. |
class |
DirectoryInsideJarURLArchive
This is an implementation of
Archive which is used when container
returns a jar: URL. |
class |
JarFileArchive
This is an implementation of
Archive when container returns a
file: url that refers to a jar file. |
class |
JarInputStreamURLArchive
This is an implementation of
Archive which is used when container
returns some form of URL from which an InputStream in jar format can be
obtained. |
class |
URLArchive
This is an implementation of
Archive when container returns a url
that is not one of the familiar URL types like file or jar URLs. |
| Modifier and Type | Method and Description |
|---|---|
Archive |
ArchiveFactoryImpl.createArchive(URL rootUrl,
Map properties) |
Archive |
ArchiveFactoryImpl.createArchive(URL rootUrl,
String descriptorLocation,
Map properties) |
| Modifier and Type | Method and Description |
|---|---|
static Set<Archive> |
PersistenceUnitProcessor.findPersistenceArchives()
Search the classpath for persistence archives.
|
static Set<Archive> |
PersistenceUnitProcessor.findPersistenceArchives(ClassLoader loader)
Search the classpath for persistence archives.
|
static Set<Archive> |
PersistenceUnitProcessor.findPersistenceArchives(ClassLoader loader,
String descriptorPath)
Return a list of Archives representing the root of the persistence descriptor.
|
static Set<Archive> |
PersistenceUnitProcessor.findPersistenceArchives(ClassLoader loader,
String descriptorPath,
List<URL> jarFileUrls,
Map properties)
Return a list of Archives representing the root of the persistence descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
protected SEPersistenceUnitInfo |
JPAInitializer.findPersistenceUnitInfoInArchive(String puName,
Archive archive,
Map m)
Find PersistenceUnitInfo corresponding to the persistence unit name in the archive.
|
static List<SEPersistenceUnitInfo> |
PersistenceUnitProcessor.getPersistenceUnits(Archive archive,
ClassLoader loader)
Get a list of persistence units from the file or directory at the given
url.
|
protected void |
JPAInitializer.initPersistenceUnits(Archive archive,
Map m)
Initialize all persistence units found on initializationClassLoader.
|
static List<SEPersistenceUnitInfo> |
PersistenceUnitProcessor.processPersistenceArchive(Archive archive,
ClassLoader loader)
Go through the jar file for this PersistenceUnitProcessor and process any
XML provided in it.
|
| Modifier and Type | Method and Description |
|---|---|
Archive |
ArchiveFactory.createArchive(URL rootUrl,
Map properties)
Return an instance of an implementer of Archive that can process the URL provided
|
Archive |
ArchiveFactory.createArchive(URL rootUrl,
String descriptorLocation,
Map properties)
Return an instance of an implementer of Archive that can process the URL provided
This instance will allow access to the persistence descriptor associated with
this archive through the getDescriptorStream() method
|
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.