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.ArchiveDescriptorFactory
public org.hibernate.boot.archive.spi.ArchiveDescriptor buildArchiveDescriptor(URL url, String entry)
buildArchiveDescriptor
in interface org.hibernate.boot.archive.spi.ArchiveDescriptorFactory
public URL getJarURLFromURLEntry(URL url, String entry) throws IllegalArgumentException
getJarURLFromURLEntry
in interface org.hibernate.boot.archive.spi.ArchiveDescriptorFactory
IllegalArgumentException
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.