Interface ArchiveFactory

All Known Implementing Classes:
ArchiveFactoryImpl

public interface ArchiveFactory
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
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    createArchive(URL rootUrl, Map properties)
    Return an instance of an implementer of Archive that can process the URL provided