Uses of Class
org.springframework.context.support.GenericApplicationContext
Packages that use GenericApplicationContext
Package
Description
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
AOT support for application contexts.
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
-
Uses of GenericApplicationContext in org.springframework.context.annotation
Subclasses of GenericApplicationContext in org.springframework.context.annotationModifier and TypeClassDescriptionclassStandalone application context, accepting component classes as input — in particular@Configuration-annotated classes, but also plain@Componenttypes and JSR-330 compliant classes usingjakarta.injectannotations. -
Uses of GenericApplicationContext in org.springframework.context.aot
Methods in org.springframework.context.aot that return GenericApplicationContextModifier and TypeMethodDescriptionprotected abstract GenericApplicationContextContextAotProcessor.prepareApplicationContext(Class<?> applicationClass) Prepare theGenericApplicationContextfor the specified application entry point to be used against anApplicationContextAotGenerator.Methods in org.springframework.context.aot with parameters of type GenericApplicationContextModifier and TypeMethodDescriptionprotected org.springframework.javapoet.ClassNameContextAotProcessor.performAotProcessing(GenericApplicationContext applicationContext) Perform ahead-of-time processing of the specified context.org.springframework.javapoet.ClassNameApplicationContextAotGenerator.processAheadOfTime(GenericApplicationContext applicationContext, org.springframework.aot.generate.GenerationContext generationContext) Process the specifiedGenericApplicationContextahead-of-time using the specifiedGenerationContext. -
Uses of GenericApplicationContext in org.springframework.context.support
Subclasses of GenericApplicationContext in org.springframework.context.supportModifier and TypeClassDescriptionclassAnApplicationContextimplementation that extendsGenericApplicationContextand implementsGroovyObjectsuch that beans can be retrieved with the dot de-reference syntax instead of usingAbstractApplicationContext.getBean(java.lang.String).classConvenient application context with built-in XML support.classApplicationContextimplementation which supports programmatic registration of beans and messages, rather than reading bean definitions from external configuration sources.