public class OsgiArchiveDescriptorFactory
extends java.lang.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(java.net.URL url) |
org.hibernate.boot.archive.spi.ArchiveDescriptor |
buildArchiveDescriptor(java.net.URL url,
java.lang.String entry) |
java.net.URL |
getJarURLFromURLEntry(java.net.URL url,
java.lang.String entry) |
java.net.URL |
getURLFromPath(java.lang.String jarPath) |
public OsgiArchiveDescriptorFactory(org.osgi.framework.Bundle persistenceBundle)
persistenceBundle
- The OSGi bundle being scannedpublic org.hibernate.boot.archive.spi.ArchiveDescriptor buildArchiveDescriptor(java.net.URL url)
buildArchiveDescriptor
in interface org.hibernate.boot.archive.spi.ArchiveDescriptorFactory
public org.hibernate.boot.archive.spi.ArchiveDescriptor buildArchiveDescriptor(java.net.URL url, java.lang.String entry)
buildArchiveDescriptor
in interface org.hibernate.boot.archive.spi.ArchiveDescriptorFactory
public java.net.URL getJarURLFromURLEntry(java.net.URL url, java.lang.String entry) throws java.lang.IllegalArgumentException
getJarURLFromURLEntry
in interface org.hibernate.boot.archive.spi.ArchiveDescriptorFactory
java.lang.IllegalArgumentException
public java.net.URL getURLFromPath(java.lang.String jarPath)
getURLFromPath
in interface org.hibernate.boot.archive.spi.ArchiveDescriptorFactory
Copyright © 2001-2019 Red Hat, Inc. All Rights Reserved.