Package | Description |
---|---|
org.springframework.context.annotation |
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
|
org.springframework.web.context.support |
Classes supporting the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes. |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationConfigApplicationContext
Standalone application context, accepting component classes as input —
in particular
@Configuration -annotated classes, but also plain
@Component types and JSR-330 compliant
classes using javax.inject annotations. |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationConfigWebApplicationContext
WebApplicationContext
implementation which accepts component classes as input — in particular
@Configuration -annotated
classes, but also plain @Component
classes and JSR-330 compliant classes using javax.inject annotations. |