Open-Source Wikis

/

Spring Framework

/

Reference

/

Data models

spring-projects/spring-framework

Data models

Cross-cutting types you'll encounter often when reading the framework. This is not exhaustive — the framework defines tens of thousands of types — but it's a quick lookup for the most commonly referenced ones.

Core type system

Type Module Purpose
org.springframework.core.ResolvableType spring-core Full generic type info; usable for autowiring matching
org.springframework.core.MethodParameter spring-core Reflective metadata about a method param/return
org.springframework.core.io.Resource spring-core Abstraction over a readable source
org.springframework.core.io.ResourceLoader spring-core Looks up Resources from string locations
org.springframework.core.env.Environment spring-core Properties + profiles
org.springframework.core.convert.ConversionService spring-core Type conversion SPI
org.springframework.core.ReactiveAdapterRegistry spring-core Adapt between Reactor / RxJava / Mutiny / coroutines

Container

Type Module Purpose
org.springframework.beans.factory.BeanFactory spring-beans Container lookup interface
org.springframework.beans.factory.config.BeanDefinition spring-beans Bean creation metadata
org.springframework.beans.factory.support.DefaultListableBeanFactory spring-beans Default container implementation
org.springframework.context.ApplicationContext spring-context Container plus events, message source, lifecycle
org.springframework.context.ConfigurableApplicationContext spring-context Adds refresh, close, configuration
org.springframework.context.ApplicationEvent spring-context Base for application events

HTTP

Type Module Purpose
org.springframework.http.HttpStatusCode / HttpStatus spring-web Status code value type and well-known constants
org.springframework.http.HttpHeaders spring-web Multi-valued header bag
org.springframework.http.MediaType spring-web Content type with parameters and quality factor
org.springframework.http.HttpMethod spring-web HTTP method value type
org.springframework.http.RequestEntity / ResponseEntity spring-web Headers + status + body wrappers
org.springframework.http.converter.HttpMessageConverter spring-web Servlet-stack body codec SPI
org.springframework.http.codec.HttpMessageReader / HttpMessageWriter spring-web Reactive-stack body codec SPI
org.springframework.web.server.ServerWebExchange spring-web Reactive request/response/session context
org.springframework.web.method.HandlerMethod spring-web Reflective controller method

Data access

Type Module Purpose
org.springframework.dao.DataAccessException spring-tx Root data-access exception
org.springframework.transaction.PlatformTransactionManager spring-tx Imperative tx abstraction
org.springframework.transaction.ReactiveTransactionManager spring-tx Reactive tx abstraction
org.springframework.transaction.TransactionDefinition spring-tx Propagation, isolation, timeout
org.springframework.transaction.TransactionStatus spring-tx Live transaction state
org.springframework.jdbc.core.JdbcTemplate spring-jdbc SQL template
org.springframework.jdbc.core.RowMapper spring-jdbc ResultSet row → object
org.springframework.r2dbc.core.DatabaseClient spring-r2dbc Reactive SQL client

Messaging

Type Module Purpose
org.springframework.messaging.Message spring-messaging Generic message: payload + headers
org.springframework.messaging.MessageChannel spring-messaging Channel for messages
org.springframework.messaging.MessageHandler spring-messaging Message receiver

Test

Type Module Purpose
org.springframework.test.context.junit.jupiter.SpringExtension spring-test JUnit 5 extension for the TestContext framework
org.springframework.test.web.servlet.MockMvc spring-test In-memory MVC dispatcher
org.springframework.test.web.reactive.server.WebTestClient spring-test Reactive test client

AOT / hints

Type Module Purpose
org.springframework.aot.hint.RuntimeHints spring-core Container for hints
org.springframework.aot.hint.RuntimeHintsRegistrar spring-core SPI to register hints
org.springframework.aot.hint.ReflectionHints spring-core Reflection-specific hints
org.springframework.aot.hint.ResourceHints spring-core Resource-specific hints
org.springframework.aot.hint.SerializationHints spring-core Serialization hints
org.springframework.aot.hint.ProxyHints spring-core Proxy class hints

See also

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

Data models – Spring Framework wiki | Factory