Class JpaEntityScanBeanRegistrar

  • All Implemented Interfaces:
    org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered

    public class JpaEntityScanBeanRegistrar
    extends Object
    implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.core.PriorityOrdered
    Define a bean that contains basic scan information. This is used to inform package scanning for subsequent EntityManagerFactory bean defintions.
    Author:
    Jeff Fischer
    • Constructor Detail

      • JpaEntityScanBeanRegistrar

        public JpaEntityScanBeanRegistrar()
    • Method Detail

      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • registerBeanDefinitions

        public void registerBeanDefinitions​(org.springframework.core.type.AnnotationMetadata importingClassMetadata,
                                            org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
        Specified by:
        registerBeanDefinitions in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar