public class JpaEntityScanPackages extends Object
JpaEntityScan specified packages for reference later.| Modifier and Type | Class and Description |
|---|---|
static class |
JpaEntityScanPackages.Registrar
ImportBeanDefinitionRegistrar to store the base package from the importing configuration. |
| Modifier and Type | Method and Description |
|---|---|
static JpaEntityScanPackages |
get(org.springframework.beans.factory.BeanFactory beanFactory,
String dataContextId)
Return the
JpaEntityScanPackages for the given bean factory. |
List<String> |
getPackageNames()
Return the package names specified from all JpaEntityScan annotations.
|
static void |
registerPackageNames(String dataContextId,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
Collection<String> packageNames)
Register the specified entity scan packages with the system.
|
public List<String> getPackageNames()
public static JpaEntityScanPackages get(org.springframework.beans.factory.BeanFactory beanFactory, String dataContextId)
JpaEntityScanPackages for the given bean factory.beanFactory - the source bean factorydataContextId - Data context idJpaEntityScanPackages for the bean factory (never null)public static void registerPackageNames(String dataContextId, org.springframework.beans.factory.support.BeanDefinitionRegistry registry, Collection<String> packageNames)
dataContextId - Data context idregistry - the source registrypackageNames - the package names to registerCopyright © 2019 The Holon Platform. All rights reserved.