Class ExcelEntityScanRegistrar
java.lang.Object
com.github.cla9.excel.reader.config.ExcelEntityScanRegistrar
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.context.annotation.ImportBeanDefinitionRegistrar,org.springframework.context.EnvironmentAware,org.springframework.context.ResourceLoaderAware
public class ExcelEntityScanRegistrar
extends java.lang.Object
implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.ResourceLoaderAware, org.springframework.context.EnvironmentAware
-
Constructor Summary
Constructors Constructor Description ExcelEntityScanRegistrar() -
Method Summary
Modifier and Type Method Description protected java.lang.Class<? extends java.lang.annotation.Annotation>getAnnotation()voidregisterBeanDefinitions(org.springframework.core.type.AnnotationMetadata metadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)voidsetEnvironment(org.springframework.core.env.Environment environment)voidsetResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
-
Constructor Details
-
ExcelEntityScanRegistrar
public ExcelEntityScanRegistrar()
-
-
Method Details
-
registerBeanDefinitions
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata metadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)- Specified by:
registerBeanDefinitionsin interfaceorg.springframework.context.annotation.ImportBeanDefinitionRegistrar
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)- Specified by:
setEnvironmentin interfaceorg.springframework.context.EnvironmentAware
-
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)- Specified by:
setResourceLoaderin interfaceorg.springframework.context.ResourceLoaderAware
-
getAnnotation
protected java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotation() -
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException- Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
org.springframework.beans.BeansException
-