程序包 y9.jpa.extension

类 Y9RepositoryBeanDefinitionRegistrarSupport

  • 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware, org.springframework.context.ResourceLoaderAware

    public abstract class Y9RepositoryBeanDefinitionRegistrarSupport
    extends Object
    implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.ResourceLoaderAware, org.springframework.context.EnvironmentAware
    • 构造器详细资料

      • Y9RepositoryBeanDefinitionRegistrarSupport

        public Y9RepositoryBeanDefinitionRegistrarSupport()
    • 方法详细资料

      • getAnnotation

        protected abstract Class<? extends Annotation> getAnnotation()
        Return the annotation to obtain configuration information from. Will be wrappen into an AnnotationRepositoryConfigurationSource so have a look at the constants in there for what annotation attributes it expects.
        返回:
        the annotation to obtain configuration information from
      • getExtension

        protected abstract org.springframework.data.repository.config.RepositoryConfigurationExtension getExtension()
        Returns the RepositoryConfigurationExtension for store specific callbacks and BeanDefinition post-processing.
        返回:
        the RepositoryConfigurationExtension for store specific callbacks and BeanDefinition post-processing.
        另请参阅:
        RepositoryConfigurationExtensionSupport
      • registerBeanDefinitions

        @Deprecated
        public void registerBeanDefinitions​(org.springframework.core.type.AnnotationMetadata metadata,
                                            org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
        Forwarding to registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry, BeanNameGenerator) for backwards compatibility reasons so that tests in downstream modules do not accidentally invoke the super type's default implementation.
        指定者:
        registerBeanDefinitions 在接口中 org.springframework.context.annotation.ImportBeanDefinitionRegistrar
        另请参阅:
        ImportBeanDefinitionRegistrar.registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry), ConfigurationClassPostProcessor.IMPORT_BEAN_NAME_GENERATOR
      • registerBeanDefinitions

        public void registerBeanDefinitions​(org.springframework.core.type.AnnotationMetadata metadata,
                                            org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
                                            org.springframework.beans.factory.support.BeanNameGenerator generator)
        指定者:
        registerBeanDefinitions 在接口中 org.springframework.context.annotation.ImportBeanDefinitionRegistrar
      • setEnvironment

        public void setEnvironment​(org.springframework.core.env.Environment environment)
        指定者:
        setEnvironment 在接口中 org.springframework.context.EnvironmentAware
      • setResourceLoader

        public void setResourceLoader​(org.springframework.core.io.ResourceLoader resourceLoader)
        指定者:
        setResourceLoader 在接口中 org.springframework.context.ResourceLoaderAware