public class ArchiveFactoryImpl extends Object implements ArchiveFactory
PersistenceUnitInfo.getPersistenceUnitRootUrl()| Constructor and Description |
|---|
ArchiveFactoryImpl() |
ArchiveFactoryImpl(Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
Archive |
createArchive(URL rootUrl,
Map properties)
Return an instance of an implementer of Archive that can process the URL provided
|
Archive |
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
|
protected boolean |
isJarInputStream(URL url)
This method is called for a URL which has neither jar nor file protocol.
|
protected Logger logger
public ArchiveFactoryImpl()
public ArchiveFactoryImpl(Logger logger)
public Archive createArchive(URL rootUrl, Map properties) throws URISyntaxException, IOException
ArchiveFactorycreateArchive in interface ArchiveFactoryURISyntaxExceptionIOExceptionpublic Archive createArchive(URL rootUrl, String descriptorLocation, Map properties) throws URISyntaxException, IOException
ArchiveFactorycreateArchive in interface ArchiveFactoryURISyntaxExceptionIOExceptionprotected boolean isJarInputStream(URL url) throws IOException
url - IOExceptionCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.