Class OsgiScanner

  • All Implemented Interfaces:
    org.hibernate.boot.archive.scan.spi.Scanner

    public class OsgiScanner
    extends org.hibernate.boot.archive.scan.spi.AbstractScannerImpl
    OSGi-specific implementation of the Scanner contract. Scans the persistence unit Bundle for classes and resources.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.hibernate.boot.archive.scan.spi.AbstractScannerImpl

        org.hibernate.boot.archive.scan.spi.AbstractScannerImpl.ArchiveContextImpl, org.hibernate.boot.archive.scan.spi.AbstractScannerImpl.ArchiveDescriptorInfo
    • Constructor Summary

      Constructors 
      Constructor Description
      OsgiScanner​(org.osgi.framework.Bundle persistenceBundle)
      Constructs the scanner for finding things in a OSGi bundle
    • Constructor Detail

      • OsgiScanner

        public OsgiScanner​(org.osgi.framework.Bundle persistenceBundle)
        Constructs the scanner for finding things in a OSGi bundle
        Parameters:
        persistenceBundle - The OSGi Bundle to scan