public class OsgiArchiveDescriptorFactory extends Object implements org.hibernate.boot.archive.spi.ArchiveDescriptorFactory
| Constructor and Description |
|---|
OsgiArchiveDescriptorFactory(org.osgi.framework.Bundle persistenceBundle)
Creates a OsgiArchiveDescriptorFactory
|
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.boot.archive.spi.ArchiveDescriptor |
buildArchiveDescriptor(URL url) |
org.hibernate.boot.archive.spi.ArchiveDescriptor |
buildArchiveDescriptor(URL url,
String entry) |
URL |
getJarURLFromURLEntry(URL url,
String entry) |
URL |
getURLFromPath(String jarPath) |
public OsgiArchiveDescriptorFactory(org.osgi.framework.Bundle persistenceBundle)
persistenceBundle - The OSGi bundle being scannedpublic org.hibernate.boot.archive.spi.ArchiveDescriptor buildArchiveDescriptor(URL url)
buildArchiveDescriptor in interface org.hibernate.boot.archive.spi.ArchiveDescriptorFactorypublic org.hibernate.boot.archive.spi.ArchiveDescriptor buildArchiveDescriptor(URL url, String entry)
buildArchiveDescriptor in interface org.hibernate.boot.archive.spi.ArchiveDescriptorFactorypublic URL getJarURLFromURLEntry(URL url, String entry) throws IllegalArgumentException
getJarURLFromURLEntry in interface org.hibernate.boot.archive.spi.ArchiveDescriptorFactoryIllegalArgumentExceptionCopyright © 2001-2019 Red Hat, Inc. All Rights Reserved.