インターフェース AssertableApplicationContext
- すべてのスーパーインターフェース:
ApplicationContext, ApplicationContextAssertProvider<ConfigurableApplicationContext>, ApplicationEventPublisher, org.assertj.core.api.AssertProvider<ApplicationContextAssert<ConfigurableApplicationContext>>, AutoCloseableSE, BeanFactory, CloseableSE, ConfigurableApplicationContext, EnvironmentCapable, HierarchicalBeanFactory, Lifecycle, ListableBeanFactory, MessageSource, ResourceLoader, ResourcePatternResolver
public interface AssertableApplicationContext
extends ApplicationContextAssertProvider<ConfigurableApplicationContext>, ConfigurableApplicationContext
AssertJ スタイルのアサーションをさらにサポートする
ApplicationContext。既存のアプリケーションコンテキストまたは起動に失敗したアプリケーションコンテキストを装飾するために使用できます。 詳細については、ApplicationContextAssertProvider を参照してください。
- 導入:
- 2.0.0
- 作成者:
- Phillip Webb
- 関連事項:
フィールドのサマリー
インターフェース BeanFactory から継承されたフィールド
FACTORY_BEAN_PREFIX, FACTORY_BEAN_PREFIX_CHARインターフェース ConfigurableApplicationContext から継承されたフィールド
APPLICATION_STARTUP_BEAN_NAME, BOOTSTRAP_EXECUTOR_BEAN_NAME, CONFIG_LOCATION_DELIMITERS, CONVERSION_SERVICE_BEAN_NAME, ENVIRONMENT_BEAN_NAME, LOAD_TIME_WEAVER_BEAN_NAME, SHUTDOWN_HOOK_THREAD_NAME, SYSTEM_ENVIRONMENT_BEAN_NAME, SYSTEM_PROPERTIES_BEAN_NAMEインターフェース ResourceLoader から継承されたフィールド
CLASSPATH_URL_PREFIXインターフェース ResourcePatternResolver から継承されたフィールド
CLASSPATH_ALL_URL_PREFIXメソッドのサマリー
静的メソッド修飾子と型メソッド説明static AssertableApplicationContextget(SupplierSE<? extends ConfigurableApplicationContext> contextSupplier) 新しいAssertableApplicationContextインスタンスを作成するファクトリメソッド。static AssertableApplicationContextget(SupplierSE<? extends ConfigurableApplicationContext> contextSupplier, ClassSE<?>... additionalContextInterfaces) 新しいAssertableApplicationContextインスタンスを作成するファクトリメソッド。インターフェース ApplicationContext から継承されたメソッド
getApplicationName, getAutowireCapableBeanFactory, getDisplayName, getId, getParent, getStartupDateインターフェース ApplicationContextAssertProvider から継承されたメソッド
assertThat, close, getSourceApplicationContext, getSourceApplicationContext, getStartupFailureインターフェース ApplicationEventPublisher から継承されたメソッド
publishEvent, publishEventインターフェース BeanFactory から継承されたメソッド
containsBean, getAliases, getBean, getBean, getBean, getBean, getBean, getBeanProvider, getBeanProvider, getBeanProvider, getType, getType, isPrototype, isSingleton, isTypeMatch, isTypeMatchインターフェース ConfigurableApplicationContext から継承されたメソッド
addApplicationListener, addBeanFactoryPostProcessor, addProtocolResolver, close, getApplicationStartup, getBeanFactory, getEnvironment, isActive, isClosed, pause, refresh, registerShutdownHook, removeApplicationListener, restart, setApplicationStartup, setClassLoader, setEnvironment, setId, setParentインターフェース HierarchicalBeanFactory から継承されたメソッド
containsLocalBean, getParentBeanFactoryインターフェース ListableBeanFactory から継承されたメソッド
containsBeanDefinition, findAllAnnotationsOnBean, findAnnotationOnBean, findAnnotationOnBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeanProvider, getBeanProvider, getBeansOfType, getBeansOfType, getBeansWithAnnotationインターフェース MessageSource から継承されたメソッド
getMessage, getMessage, getMessageインターフェース ResourceLoader から継承されたメソッド
getClassLoader, getResourceインターフェース ResourcePatternResolver から継承されたメソッド
getResources
メソッドの詳細
get
static AssertableApplicationContext get(SupplierSE<? extends ConfigurableApplicationContext> contextSupplier) 新しいAssertableApplicationContextインスタンスを作成するファクトリメソッド。- パラメーター:
contextSupplier- 完全に構成されたConfigurableApplicationContextを返すか、コンテキストの開始に失敗した場合に例外をスローするサプライヤー。- 戻り値:
AssertableApplicationContextインスタンス
get
static AssertableApplicationContext get(SupplierSE<? extends ConfigurableApplicationContext> contextSupplier, ClassSE<?>... additionalContextInterfaces) 新しいAssertableApplicationContextインスタンスを作成するファクトリメソッド。- パラメーター:
contextSupplier- 完全に構成されたConfigurableApplicationContextを返すか、コンテキストの開始に失敗した場合に例外をスローするサプライヤー。additionalContextInterfaces- プロキシに追加する追加のコンテキストインターフェース- 戻り値:
AssertableApplicationContextインスタンス- 導入:
- 3.4.0