Top Description Interfaces Classes
[default module]

Package org.springframework.core

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Provides basic classes for exception handling and version detection, and other core helpers that are not specific to any part of the framework.

Interface Summary

Modifier and TypeInterface and Description
public interface
AliasRegistry

Common interface for managing aliases.

public interface
AttributeAccessor

Interface defining a generic contract for attaching and accessing metadata to/from arbitrary objects.

public interface
DecoratingProxy

Interface to be implemented by decorating proxies, in particular Spring AOP proxies but potentially also custom proxies with decorator semantics.

public interface
InfrastructureProxy

Interface to be implemented by transparent resource proxies that need to be considered as equal to the underlying resource, for example for consistent lookup key comparisons.

public interface
Ordered

Ordered is an interface that can be implemented by objects that should be orderable, for example in a Collection.

public interface
ParameterNameDiscoverer

Interface to discover parameter names for methods and constructors.

public interface
PriorityOrdered

Extension of the Ordered interface, expressing a priority ordering: PriorityOrdered objects are always applied before plain Ordered objects regardless of their order values.

public interface
ResolvableTypeProvider

Any object can implement this interface to provide its actual ResolvableType.

public interface
SmartClassLoader

Interface to be implemented by a reloading-aware ClassLoader (e.g. a Groovy-based ClassLoader).

Class Summary

Modifier and TypeClass and Description
public abstract class
AttributeAccessorSupport

Support class for AttributeAccessors, providing a base implementation of all methods.

public class
BridgeMethodResolver

Helper for resolving synthetic bridge Methods to the Method being bridged.

public class
CollectionFactory

Factory for collections that is aware of common Java and Spring collection types.

public class
ConfigurableObjectInputStream

Special ObjectInputStream subclass that resolves class names against a specific ClassLoader.

public class
Constants

Deprecated since 6.1. since 6.1 with no replacement; use an enum, map, or similar custom solution instead
This class can be used to parse other classes containing constant definitions in public static final members.
public class
Conventions

Provides methods to support various naming and other conventions used throughout the framework.

public abstract class
CoroutinesUtils

Utilities for working with Kotlin Coroutines.

public abstract class
DecoratingClassLoader

Base class for decorating ClassLoaders such as OverridingClassLoader and org.springframework.instrument.classloading.ShadowingClassLoader, providing common handling of excluded packages and classes.

public class
DefaultParameterNameDiscoverer

Default implementation of the ParameterNameDiscoverer strategy interface, delegating to the Java 8 standard reflection mechanism.

public class
ExceptionDepthComparator

Comparator capable of sorting exceptions based on their depth from the thrown exception type.

public class
GenericTypeResolver

Helper class for resolving generic types against type variables.

public abstract class
KotlinDetector

A common delegate for detecting Kotlin's presence and for identifying Kotlin types.

public class
KotlinReflectionParameterNameDiscoverer

ParameterNameDiscoverer implementation which uses Kotlin's reflection facilities for introspecting parameter names.

public class
MethodClassKey

A common key class for a method against a specific target class, including toString() representation and Comparable support (as suggested for custom HashMap keys as of Java 8).

public class
MethodIntrospector

Defines the algorithm for searching for metadata-associated methods exhaustively including interfaces and parent classes while also dealing with parameterized methods as well as common scenarios encountered with interface and class-based proxies.

public class
MethodParameter

Helper class that encapsulates the specification of a method parameter, i.e. a Method or Constructor plus a parameter index and a nested type index for a declared generic type.

public class
NamedInheritableThreadLocal<
the value type
T
>

InheritableThreadLocal subclass that exposes a specified name as toString() result (allowing for introspection).

public class
NamedThreadLocal<
the value type
T
>

ThreadLocal subclass that exposes a specified name as toString() result (allowing for introspection).

public abstract class
NativeDetector

A common delegate for detecting a GraalVM native image environment.

public abstract class
NestedCheckedException

Handy class for wrapping checked Exceptions with a root cause.

public abstract class
NestedExceptionUtils

Helper class for implementing exception classes which are capable of holding nested exceptions.

public abstract class
NestedRuntimeException

Handy class for wrapping runtime Exceptions with a root cause.

public class
OrderComparator

Comparator implementation for Ordered objects, sorting by order value ascending, respectively by priority descending.

public class
OverridingClassLoader

ClassLoader that does not always delegate to the parent loader as normal class loaders do.

public abstract class
ParameterizedTypeReference<
the referenced type
T
>

The purpose of this class is to enable capturing and passing a generic Type.

public class
PrioritizedParameterNameDiscoverer

ParameterNameDiscoverer implementation that tries several discoverer delegates in succession.

public class
ReactiveAdapter

Adapter for a Reactive Streams Publisher to and from an async/reactive type such as CompletableFuture, RxJava Observable, and others.

public class
ReactiveAdapterRegistry

A registry of adapters to adapt Reactive Streams Publisher to/from various async/reactive types such as CompletableFuture, RxJava Flowable, etc. This is designed to complement Spring's Reactor Mono/Flux support while also being usable without Reactor, e.g. just for org.reactivestreams bridging.

public class
ReactiveTypeDescriptor

Describes the semantics of a reactive type including boolean checks for isMultiValue(), isNoValue(), and supportsEmpty().

public class
ResolvableType

Encapsulates a Java java.lang.reflect.Type, providing access to supertypes, interfaces, and generic parameters along with the ability to ultimately resolve to a java.lang.Class.

pack-priv class
SerializableTypeWrapper

Internal utility class that can be used to obtain wrapped Serializable variants of java.lang.reflect.Types.

public class
SimpleAliasRegistry

Simple implementation of the AliasRegistry interface.

pack-priv class
SortedProperties

Specialization of Properties that sorts properties alphanumerically based on their keys.

public class
SpringProperties

Static holder for local Spring properties, i.e. defined at the Spring library level.

public class
SpringVersion

Class that exposes the Spring version.

public class
StandardReflectionParameterNameDiscoverer

ParameterNameDiscoverer implementation which uses JDK 8's reflection facilities for introspecting parameter names (based on the "-parameters" compiler flag).