public abstract class RepositoryConfigurationSourceSupport extends ObjectSE implements RepositoryConfigurationSource
RepositoryConfigurationSource
を実装するための基本クラス。修飾子と型 | フィールドと説明 |
---|---|
protected static StringSE | DEFAULT_REPOSITORY_IMPL_POSTFIX |
コンストラクターと説明 |
---|
RepositoryConfigurationSourceSupport(Environment environment, ClassLoaderSE classLoader, BeanDefinitionRegistry registry, BeanNameGenerator generator) 指定された環境で新しい RepositoryConfigurationSourceSupport を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
StringSE | generateBeanName(BeanDefinition beanDefinition) beanDefinition の名前を返します。 |
Streamable<BeanDefinition> | getCandidates(ResourceLoader loader) リポジトリインスタンスを作成するリポジトリインターフェースのソース BeanDefinition を返します。 |
Streamable<TypeFilter> | getExcludeFilters() TypeFilter を返し、リポジトリをスキャンするときに除外する型を定義します。 |
protected IterableSE<TypeFilter> | getIncludeFilters() TypeFilter を返し、リポジトリをスキャンするときに含める型を定義します。 |
boolean | shouldConsiderNestedRepositories() ネストされたリポジトリ、つまり他のクラスにネストされたリポジトリインターフェース定義を検討する必要があるかどうかを返します。 |
ImplementationDetectionConfiguration | toImplementationDetectionConfiguration(MetadataReaderFactory factory) この RepositoryConfigurationSource から作成されるリポジトリインスタンスのカスタム実装をスキャンするために使用される ImplementationDetectionConfiguration を返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
getAttribute, getAttribute, getBasePackages, getBootstrapMode, getNamedQueryLocation, getQueryLookupStrategyKey, getRepositoryBaseClassName, getRepositoryFactoryBeanClassName, getRepositoryImplementationPostfix, getRequiredAttribute, getResourceDescription, getSource, usesExplicitFilters
public RepositoryConfigurationSourceSupport(Environment environment, ClassLoaderSE classLoader, BeanDefinitionRegistry registry, BeanNameGenerator generator)
RepositoryConfigurationSourceSupport
を作成します。environment
- null であってはなりません。classLoader
- null であってはなりません。registry
- null であってはなりません。public Streamable<BeanDefinition> getCandidates(ResourceLoader loader)
RepositoryConfigurationSource
BeanDefinition
を返します。RepositoryConfigurationSource
の getCandidates
public Streamable<TypeFilter> getExcludeFilters()
TypeFilter
を返し、リポジトリをスキャンするときに除外する型を定義します。デフォルトの実装は空のコレクションを返します。RepositoryConfigurationSource
の getExcludeFilters
public StringSE generateBeanName(BeanDefinition beanDefinition)
RepositoryConfigurationSource
RepositoryConfigurationSource
の generateBeanName
beanDefinition
- null であってはなりません。protected IterableSE<TypeFilter> getIncludeFilters()
TypeFilter
を返し、リポジトリをスキャンするときに含める型を定義します。デフォルトの実装は空のコレクションを返します。public boolean shouldConsiderNestedRepositories()
public ImplementationDetectionConfiguration toImplementationDetectionConfiguration(MetadataReaderFactory factory)
RepositoryConfigurationSource
RepositoryConfigurationSource
から作成されるリポジトリインスタンスのカスタム実装をスキャンするために使用される ImplementationDetectionConfiguration
を返します。RepositoryConfigurationSource
の toImplementationDetectionConfiguration
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.