Top Description Methods
org.eclipse.persistence.jpa

public Interface ArchiveFactory

Known Direct Implementers
org.eclipse.persistence.internal.jpa.deployment.ArchiveFactoryImpl
Imports
java.io.IOException, java.net.URISyntaxException, .URL, java.util.Map

This interface should be implemented by users that want to provide a custom way of dealing with archives that contain persistence units. An implementer of this class can be enabled by providing a System property
Author
tware
See Also
org.eclipse.persistence.config.SystemProperties

Method Summary

Modifier and TypeMethod and Description
public Archive
createArchive(URL rootUrl, Map<K, V> properties)

Return an instance of an implementer of Archive that can process the URL provided

public Archive
createArchive(URL rootUrl, String descriptorLocation, Map<K, V> 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

Method Detail

createArchiveback to summary
public Archive createArchive(URL rootUrl, Map<K, V> properties) throws URISyntaxException, IOException

Return an instance of an implementer of Archive that can process the URL provided

createArchiveback to summary
public Archive createArchive(URL rootUrl, String descriptorLocation, Map<K, V> properties) throws URISyntaxException, IOException

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