Package org.springframework.core
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 Interface Description AliasRegistry Common interface for managing aliases.AttributeAccessor Interface defining a generic contract for attaching and accessing metadata to/from arbitrary objects.DecoratingProxy Interface to be implemented by decorating proxies, in particular Spring AOP proxies but potentially also custom proxies with decorator semantics.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.MethodIntrospector.MetadataLookup<T> A callback interface for metadata lookup on a given method.OrderComparator.OrderSourceProvider Strategy interface to provide an order source for a given object.Ordered Ordered
is an interface that can be implemented by objects that should be orderable, for example in aCollection
.ParameterNameDiscoverer Interface to discover parameter names for methods and constructors.PriorityOrdered ResolvableTypeProvider Any object can implement this interface to provide its actualResolvableType
.SmartClassLoader Interface to be implemented by a reloading-aware ClassLoader (e.g.Class Summary Class Description AttributeAccessorSupport Support class forAttributeAccessors
, providing a base implementation of all methods.BridgeMethodResolver Helper for resolving syntheticbridge Methods
to theMethod
being bridged.CollectionFactory Factory for collections that is aware of common Java and Spring collection types.ConfigurableObjectInputStream Special ObjectInputStream subclass that resolves class names against a specific ClassLoader.Constants This class can be used to parse other classes containing constant definitions in public static final members.Conventions Provides methods to support various naming and other conventions used throughout the framework.DecoratingClassLoader Base class for decorating ClassLoaders such asOverridingClassLoader
andShadowingClassLoader
, providing common handling of excluded packages and classes.DefaultParameterNameDiscoverer Default implementation of theParameterNameDiscoverer
strategy interface, using the Java 8 standard reflection mechanism (if available), and falling back to the ASM-basedLocalVariableTableParameterNameDiscoverer
for checking debug information in the class file.ExceptionDepthComparator Comparator capable of sorting exceptions based on their depth from the thrown exception type.GenericTypeResolver Helper class for resolving generic types against type variables.KotlinDetector A common delegate for detecting Kotlin's presence and for identifying Kotlin types.KotlinReflectionParameterNameDiscoverer ParameterNameDiscoverer
implementation which uses Kotlin's reflection facilities for introspecting parameter names.LocalVariableTableParameterNameDiscoverer Implementation ofParameterNameDiscoverer
that uses the LocalVariableTable information in the method attributes to discover parameter names.MethodClassKey A common key class for a method against a specific target class, includingMethodClassKey.toString()
representation andComparable
support (as suggested for customHashMap
keys as of Java 8).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.MethodParameter Helper class that encapsulates the specification of a method parameter, i.e.NamedInheritableThreadLocal<T> InheritableThreadLocal
subclass that exposes a specified name asNamedInheritableThreadLocal.toString()
result (allowing for introspection).NamedThreadLocal<T> ThreadLocal
subclass that exposes a specified name asNamedThreadLocal.toString()
result (allowing for introspection).NestedExceptionUtils Helper class for implementing exception classes which are capable of holding nested exceptions.OrderComparator Comparator
implementation forOrdered
objects, sorting by order value ascending, respectively by priority descending.OverridingClassLoader ClassLoader
that does not always delegate to the parent loader as normal class loaders do.ParameterizedTypeReference<T> The purpose of this class is to enable capturing and passing a genericType
.PrioritizedParameterNameDiscoverer ParameterNameDiscoverer
implementation that tries several discoverer delegates in succession.ReactiveAdapter Adapter for a Reactive StreamsPublisher
to and from an async/reactive type such asCompletableFuture
, RxJavaObservable
, and others.ReactiveAdapterRegistry A registry of adapters to adapt Reactive StreamsPublisher
to/from various async/reactive types such asCompletableFuture
, RxJavaObservable
, and others.ReactiveAdapterRegistry.SpringCoreBlockHoundIntegration BlockHoundIntegration
for spring-core classes.ReactiveTypeDescriptor Describes the semantics of a reactive type including boolean checks forReactiveTypeDescriptor.isMultiValue()
,ReactiveTypeDescriptor.isNoValue()
, andReactiveTypeDescriptor.supportsEmpty()
.ResolvableType Encapsulates a JavaType
, providing access tosupertypes
,interfaces
, andgeneric parameters
along with the ability to ultimatelyresolve
to aClass
.SimpleAliasRegistry Simple implementation of theAliasRegistry
interface.SpringProperties Static holder for local Spring properties, i.e.SpringVersion Class that exposes the Spring version.StandardReflectionParameterNameDiscoverer ParameterNameDiscoverer
implementation which uses JDK 8's reflection facilities for introspecting parameter names (based on the "-parameters" compiler flag).Exception Summary Exception Description Constants.ConstantException Exception thrown when theConstants
class is asked for an invalid constant name.NestedCheckedException Handy class for wrapping checkedExceptions
with a root cause.NestedIOException Subclass ofIOException
that properly handles a root cause, exposing the root cause just like NestedChecked/RuntimeException does.NestedRuntimeException Handy class for wrapping runtimeExceptions
with a root cause.