public class AutoConfigurationImportSelector extends ObjectSE implements org.springframework.context.annotation.DeferredImportSelector, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.context.ResourceLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.EnvironmentAware, org.springframework.core.Ordered
DeferredImportSelector は auto-configuration を処理します。@EnableAutoConfiguration のカスタムバリアントが必要な場合は、このクラスをサブクラス化することもできます。EnableAutoConfiguration| 修飾子と型 | クラスと説明 |
|---|---|
protected static class | AutoConfigurationImportSelector.AutoConfigurationEntry |
| コンストラクターと説明 |
|---|
AutoConfigurationImportSelector() |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected ListSE<StringSE> | asList(org.springframework.core.annotation.AnnotationAttributes attributes, StringSE name) |
protected ClassSE<?> | getAnnotationClass() セレクタが使用するソースアノテーションクラスを返します。 |
protected org.springframework.core.annotation.AnnotationAttributes | getAttributes(org.springframework.core.type.AnnotationMetadata metadata)AnnotationMetadata から適切な AnnotationAttributes を返します。 |
protected AutoConfigurationImportSelector.AutoConfigurationEntry | getAutoConfigurationEntry(AutoConfigurationMetadata autoConfigurationMetadata, org.springframework.core.type.AnnotationMetadata annotationMetadata) インポートする @Configuration クラスの AnnotationMetadata に基づいて AutoConfigurationImportSelector.AutoConfigurationEntry を返します。 |
protected ListSE<AutoConfigurationImportFilter> | getAutoConfigurationImportFilters() |
protected ListSE<AutoConfigurationImportListener> | getAutoConfigurationImportListeners() |
protected ClassLoaderSE | getBeanClassLoader() |
protected org.springframework.beans.factory.config.ConfigurableListableBeanFactory | getBeanFactory() |
protected ListSE<StringSE> | getCandidateConfigurations(org.springframework.core.type.AnnotationMetadata metadata, org.springframework.core.annotation.AnnotationAttributes attributes) 考慮すべき自動構成クラス名を返します。 |
protected org.springframework.core.env.Environment | getEnvironment() |
protected SetSE<StringSE> | getExclusions(org.springframework.core.type.AnnotationMetadata metadata, org.springframework.core.annotation.AnnotationAttributes attributes) 候補構成を制限するすべての除外を返します。 |
ClassSE<? extends org.springframework.context.annotation.DeferredImportSelector.Group> | getImportGroup() |
int | getOrder() |
protected org.springframework.core.io.ResourceLoader | getResourceLoader() |
protected ClassSE<?> | getSpringFactoriesLoaderFactoryClass()SpringFactoriesLoader が構成候補をロードするために使用するクラスを返します。 |
protected void | handleInvalidExcludes(ListSE<StringSE> invalidExcludes) 指定された無効な除外を処理します。 |
protected boolean | isEnabled(org.springframework.core.type.AnnotationMetadata metadata) |
protected <T> ListSE<T> | removeDuplicates(ListSE<T> list) |
StringSE[] | selectImports(org.springframework.core.type.AnnotationMetadata annotationMetadata) |
void | setBeanClassLoader(ClassLoaderSE classLoader) |
void | setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void | setEnvironment(org.springframework.core.env.Environment environment) |
void | setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic StringSE[] selectImports(org.springframework.core.type.AnnotationMetadata annotationMetadata)
org.springframework.context.annotation.ImportSelector 内の selectImports protected AutoConfigurationImportSelector.AutoConfigurationEntry getAutoConfigurationEntry(AutoConfigurationMetadata autoConfigurationMetadata, org.springframework.core.type.AnnotationMetadata annotationMetadata)
@Configuration クラスの AnnotationMetadata に基づいて AutoConfigurationImportSelector.AutoConfigurationEntry を返します。autoConfigurationMetadata - 自動構成メタデータ annotationMetadata - 構成クラスのアノテーションメタデータ public ClassSE<? extends org.springframework.context.annotation.DeferredImportSelector.Group> getImportGroup()
org.springframework.context.annotation.DeferredImportSelector 内の getImportGroup protected boolean isEnabled(org.springframework.core.type.AnnotationMetadata metadata)
protected org.springframework.core.annotation.AnnotationAttributes getAttributes(org.springframework.core.type.AnnotationMetadata metadata)
metadata - アノテーションメタデータ protected ClassSE<?> getAnnotationClass()
protected ListSE<StringSE> getCandidateConfigurations(org.springframework.core.type.AnnotationMetadata metadata, org.springframework.core.annotation.AnnotationAttributes attributes)
SpringFactoriesLoader と getSpringFactoriesLoaderFactoryClass() を使用して候補をロードします。metadata - ソースメタデータ attributes - annotation attributesprotected ClassSE<?> getSpringFactoriesLoaderFactoryClass()
SpringFactoriesLoader が構成候補をロードするために使用するクラスを返します。protected void handleInvalidExcludes(ListSE<StringSE> invalidExcludes)
invalidExcludes - 無効な除外のリスト (常に少なくとも 1 つの要素があります)protected SetSE<StringSE> getExclusions(org.springframework.core.type.AnnotationMetadata metadata, org.springframework.core.annotation.AnnotationAttributes attributes)
metadata - ソースメタデータ attributes - annotation attributesprotected ListSE<AutoConfigurationImportFilter> getAutoConfigurationImportFilters()
protected final ListSE<StringSE> asList(org.springframework.core.annotation.AnnotationAttributes attributes, StringSE name)
protected ListSE<AutoConfigurationImportListener> getAutoConfigurationImportListeners()
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansExceptionorg.springframework.beans.factory.BeanFactoryAware 内の setBeanFactory org.springframework.beans.BeansExceptionprotected final org.springframework.beans.factory.config.ConfigurableListableBeanFactory getBeanFactory()
public void setBeanClassLoader(ClassLoaderSE classLoader)
org.springframework.beans.factory.BeanClassLoaderAware 内の setBeanClassLoader protected ClassLoaderSE getBeanClassLoader()
public void setEnvironment(org.springframework.core.env.Environment environment)
org.springframework.context.EnvironmentAware 内の setEnvironment protected final org.springframework.core.env.Environment getEnvironment()
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
org.springframework.context.ResourceLoaderAware 内の setResourceLoader protected final org.springframework.core.io.ResourceLoader getResourceLoader()
public int getOrder()
org.springframework.core.Ordered 内の getOrder Copyright © 2019 Pivotal Software, Inc.. All rights reserved.