public class JpaScanner
extends org.hibernate.boot.archive.scan.spi.AbstractScannerImpl
Modifier and Type | Field and Description |
---|---|
static ClassLoader |
loader |
Constructor and Description |
---|
JpaScanner() |
Modifier and Type | Method and Description |
---|---|
static void |
exclude(String pkg)
Exclude classes from the given package.
|
static Class<?> |
findEnum(String name) |
static Class<?> |
findModel(String name) |
static Set<Class<?>> |
findModels() |
static Class<?> |
findRepository(String name) |
static ClassLoader |
getClassLoader() |
static void |
include(String pkg)
Include classes from the given package.
|
org.hibernate.boot.archive.scan.spi.ScanResult |
scan(org.hibernate.boot.archive.scan.spi.ScanEnvironment environment,
org.hibernate.boot.archive.scan.spi.ScanOptions options,
org.hibernate.boot.archive.scan.spi.ScanParameters params) |
public static ClassLoader loader
public static void exclude(String pkg)
pkg
- the package namepublic static void include(String pkg)
pkg
- the package namepublic org.hibernate.boot.archive.scan.spi.ScanResult scan(org.hibernate.boot.archive.scan.spi.ScanEnvironment environment, org.hibernate.boot.archive.scan.spi.ScanOptions options, org.hibernate.boot.archive.scan.spi.ScanParameters params)
scan
in interface org.hibernate.boot.archive.scan.spi.Scanner
scan
in class org.hibernate.boot.archive.scan.spi.AbstractScannerImpl
public static ClassLoader getClassLoader()