Uses of Annotation Interface
org.springframework.lang.Nullable
Package
Description
Core Spring AOP interfaces, built on AOP Alliance AOP interoperability interfaces.
AspectJ integration package.
Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.
Support package for declarative AOP configuration,
with XML schema being the primary configuration format.
Package containing Spring's basic AOP infrastructure, compliant with the
AOP Alliance interfaces.
SPI package allowing Spring AOP framework to handle arbitrary advice types.
Bean post-processors for use in ApplicationContexts to simplify AOP usage
by automatically creating AOP proxies without the need to use a ProxyFactoryBean.
Various
TargetSourceCreator
implementations for use with Spring's AOP auto-proxying support.Provides miscellaneous interceptor implementations.
Support for AOP-based scoping of target objects, with configurable backend.
Convenience classes for using Spring's AOP API.
Annotation support for AOP pointcuts.
Various
TargetSource
implementations for use
with Spring AOP.Support for dynamic, refreshable
TargetSource
implementations for use with Spring AOP.Support for recording method invocations relevant to
RuntimeHints
metadata.Support classes for components that contribute generated code equivalent to a
runtime behavior.
Support for registering the need for reflection, resources, java
serialization and proxies at runtime.
Convenience classes for using runtime hints.
Support for generating GraalVM native configuration from runtime hints.
This package contains interfaces and classes for manipulating Java beans.
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
Support package for annotation-driven bean configuration.
AOT support for bean factories.
SPI interfaces and configuration-related convenience classes for bean factories.
Support package for Groovy-based bean definitions.
Support infrastructure for bean definition parsing.
Support package for the Java
ServiceLoader
facility.Classes supporting the
org.springframework.beans.factory
package.Mechanism to determine bean wiring metadata from a bean instance.
Contains an abstract XML-based
BeanFactory
implementation,
including a standard "spring-beans" XSD.Properties editors used to convert from String values to object
types such as java.util.Properties.
Classes supporting the org.springframework.beans package,
such as utility classes for sorting and holding lists of beans.
Spring's generic cache abstraction.
Annotations and supporting classes for declarative cache management.
Support classes for the open source cache in
Caffeine library,
allowing to set up Caffeine caches within Spring's cache abstraction.
Implementation package for
java.util.concurrent
based caches.AOP-based solution for declarative caching demarcation.
Implementation package for JSR-107 (javax.cache aka "JCache") based caches.
Support package for declarative JSR-107 caching configuration.
AOP-based solution for declarative caching demarcation using JSR-107 annotations.
Support classes for the org.springframework.cache package.
Transaction-aware decorators for the org.springframework.cache package.
This package builds on the beans package to add support for
message sources and for the Observer design pattern, and the
ability for application objects to obtain resources using a
consistent API.
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.
Support classes for application events, like standard context events.
Expression parsing support within a Spring application context.
Abstraction for determining the current Locale,
plus global holder that exposes a thread-bound Locale.
Support package for reading and managing the components index.
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
Load-time weaving support for a Spring application context, building on Spring's
LoadTimeWeaver
abstraction.Provides basic classes for exception handling and version detection,
and other core helpers that are not specific to any part of the framework.
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
Type conversion system API.
SPI to implement Converters for the type conversion system.
Default implementation of the type conversion system.
Spring's environment abstraction consisting of bean definition
profile and hierarchical property source support.
Generic abstraction for (file-based) resources, used throughout the framework.
Generic abstraction for working with byte buffer implementations.
Support classes for Spring's resource abstraction.
Useful delegates for Spring's logging conventions.
Support package for recording metrics during application startup.
Root package for Spring's serializer interfaces and implementations.
Support classes for Spring's serializer abstraction.
Support for styling values as Strings, with ToStringCreator as central class.
This package defines Spring's core TaskExecutor abstraction,
and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
Support classes for Spring's TaskExecutor abstraction.
Test support classes for Spring's I/O support.
Support classes for compiling and testing generated code.
Core support package for type introspection.
Support classes for reading annotation and class-level metadata.
Core support package for type filtering (e.g.
Exception hierarchy enabling sophisticated error handling independent
of the data access approach in use.
Support classes for DAO implementations,
providing miscellaneous utility methods.
Core abstractions behind the Spring Expression Language.
Common utility classes behind the Spring Expression Language.
SpEL's central implementation package.
SpEL's abstract syntax tree.
SpEL's standard parser implementation.
SpEL's default implementations for various core abstractions.
Integration with the JSR-310
java.time
package in JDK 8.Support classes for the formatting package,
providing common implementations as well as adapters.
Contains a basic abstraction over client/server-side HTTP.
Contains an abstraction over client-side HTTP.
This package provides support for client HTTP
Observation
.Abstractions for reactive HTTP client support including
ClientHttpRequest
and
ClientHttpResponse
as well as a
ClientHttpConnector
.This package provides generic HTTP support classes,
to be used by higher-level classes like RestTemplate.
CBOR encoder and decoder support.
JSON encoder and decoder support.
Multipart support.
Provides an encoder and a decoder for
Google Protocol Buffers.
XML encoder and decoder support.
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
Provides HttpMessageConverter implementations for handling JSON.
Provides an HttpMessageConverter implementation for handling
Google Protocol Buffers.
Provides HttpMessageConverter implementations for handling XML.
Contains an abstraction over server-side HTTP.
Instrumentation for
observing
HTTP server applications.Abstractions for reactive HTTP server support including a
ServerHttpRequest
and
ServerHttpResponse
along with an
HttpHandler
for processing.Instrumentation for
observing
reactive HTTP server applications.This package provides internal HTTP support classes,
to be used by higher-level client and server classes.
Support package for load time weaving based on class loaders,
as required by JPA providers (but not JPA-specific).
Support for class instrumentation on GlassFish.
Support for class instrumentation on JBoss AS 6 and 7.
Support for class instrumentation on Tomcat.
This package provides a facility for generic JCA message endpoint management.
Provides generic support classes for JCA usage within Spring,
mainly for local setup of a JCA ResourceAdapter and/or ConnectionFactory.
The classes in this package make JDBC easier to use and
reduce the likelihood of common errors.
Provides the core JDBC framework, based on JdbcTemplate
and its associated callback interfaces and helper objects.
Context metadata abstraction for the configuration and execution
of table inserts and stored procedure calls.
JdbcTemplate variant with named parameter support.
Simplification layer for common JDBC interactions.
Classes supporting the
org.springframework.jdbc.core
package.Provides a utility class for easy DataSource access,
a PlatformTransactionManager for a single DataSource,
and various simple DataSource implementations.
Provides extensible support for creating embedded database instances.
Provides extensible support for initializing databases through scripts.
Provides a strategy for looking up JDBC DataSources by name.
The classes in this package represent RDBMS queries, updates, and stored
procedures as threadsafe, reusable objects.
Support classes for the JDBC framework, used by the classes in the
jdbc.core and jdbc.object packages.
Provides a strategy interface for Large OBject handling,
as well as a customizable default implementation.
Provides a convenient holder for disconnected result sets.
Abstraction for handling fields of SQLXML data type.
This package contains integration classes for JMS,
allowing for Spring-style JMS access.
Support package for declarative messaging configuration,
with Java configuration and XML schema support.
Provides a PlatformTransactionManager implementation for a single
JMS ConnectionFactory, and a SingleConnectionFactory adapter.
Core package of the JMS support.
Classes supporting the
org.springframework.jms.core
package.This package contains the base message listener container facility.
Message listener adapter mechanism that delegates to target listener
methods, converting messages to appropriate message content types
(such as String or byte array) that get passed into listener methods.
This package provides JCA-based endpoint management for JMS message listeners.
This package provides generic JMS support classes,
to be used by higher-level classes like JmsTemplate.
Provides a MessageConverter abstraction to convert
between Java objects and JMS messages.
Support classes for Spring's JMS framework.
Provides support for accessing remote MBean resources.
This package provides declarative creation and registration of
Spring-managed beans as JMX MBeans.
Annotations for MBean exposure.
Provides a strategy for MBeanInfo assembly.
Provides generic JMX metadata classes and basic support for reading
JMX metadata in a provider-agnostic manner.
Provides a strategy for ObjectName creation.
Contains support classes for connecting to local and remote
MBeanServer
s
and for exposing an MBeanServer
to remote clients.The classes in this package make JNDI easier to use,
facilitating the accessing of configuration stored in JNDI,
and provide useful superclasses for JNDI access classes.
Support classes for JNDI usage,
including a JNDI-based BeanFactory implementation.
Spring's generic mail infrastructure.
JavaMail support for Spring's mail infrastructure.
Support for working with messaging APIs and protocols.
Provides support for message conversion.
Defines interfaces and implementation classes for messaging templates.
Basic abstractions for working with message handler methods.
Annotations and support classes for handling messages.
Support classes for working with annotated message-handling methods with
non-blocking, reactive contracts.
Support classes for working with annotated message-handling methods.
Common infrastructure for invoking message handler methods.
Common infrastructure for invoking message handler methods with non-blocking,
and reactive contracts.
Support for the RSocket protocol.
Support classes for working with annotated RSocket stream handling methods.
Annotations to declare an RSocket service contract with request methods along
with a proxy factory backed by an
RSocketRequester
.Generic support for Simple Messaging Protocols including protocols such as STOMP.
Support classes for handling messages from simple messaging protocols
(like STOMP).
Provides a "simple" message broker implementation along with an abstract base
class and other supporting types such as a registry for subscriptions.
Configuration support for WebSocket messaging using higher level messaging protocols.
Generic support for simple messaging protocols (like STOMP).
Support for handling messages to "user" destinations (i.e.
Provides implementations of
Message
along with
a MessageBuilder and MessageHeaderAccessor for building and working with messages and
message headers, as well as various MessageChannel
implementations and channel interceptor support.Contains abstractions and implementation classes for establishing TCP connections via
TcpOperations
,
handling messages via
TcpConnectionHandler
,
as well as sending messages via
TcpConnection
.Mock implementations of reactive HTTP server contracts.
A comprehensive set of Servlet API 6.0 mock objects, targeted at usage with
Spring's Web MVC framework.
Mock implementations of Spring's reactive server web API abstractions.
Root package for Spring's O/R Mapping integration classes.
Package providing integration of
Hibernate 5.x
with Spring concepts.
Classes supporting the
org.springframework.orm.hibernate5
package.Package providing integration of JPA (Java Persistence API) with Spring concepts.
Internal support for managing JPA persistence units.
Classes supporting the
org.springframework.orm.jpa
package.Support classes for adapting to specific JPA vendors.
Package providing integration of JAXB
with Spring's O/X Mapping support.
Contains (un)marshallers optimized to store binary data in MIME attachments.
Provides generic support classes for using Spring's O/X Mapping integration
within various scenario's.
Package providing integration of XStream
with Spring's O/X Mapping support.
The classes in this package make R2DBC easier to use and
reduce the likelihood of common errors.
Provides a utility class for easy ConnectionFactory access,
a ReactiveTransactionManager for a single ConnectionFactory,
and various simple ConnectionFactory implementations.
Provides extensible support for initializing databases through scripts.
Core domain types around DatabaseClient.
Classes providing an abstraction over SQL bind markers.
General exceptions for Spring's scheduling support,
independent of any specific scheduling system.
Annotation support for asynchronous method execution.
Scheduling convenience classes for the
java.util.concurrent
and jakarta.enterprise.concurrent
packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context.Support package for declarative scheduling configuration,
with XML schema being the primary configuration format.
Support classes for the open source scheduler
Quartz,
allowing to set up Quartz Schedulers, JobDetails and
Triggers as beans in a Spring context.
Generic support classes for scheduling.
Core interfaces for Spring's scripting support.
Package providing integration of
BeanShell
(and BeanShell2)
into Spring's scripting infrastructure.
Package providing integration of
Groovy
into Spring's scripting infrastructure.
Support classes for Spring's scripting package.
Support classes for annotation-driven tests.
This package contains the Spring TestContext Framework which
provides annotation-driven unit and integration testing support that is
agnostic of the actual testing framework in use.
Ahead-of-time (AOT) support for the Spring TestContext Framework.
Support for context caching within the Spring TestContext Framework.
Test event support classes for the Spring TestContext Framework.
Core support for integrating the Spring TestContext Framework
with the JUnit Jupiter extension model in JUnit 5.
Support classes for integrating the Spring TestContext Framework
with JUnit 4.12 or higher.
Custom JUnit 4
Statements
used in the Spring TestContext Framework.Support classes for the Spring TestContext Framework.
Support classes for integrating the Spring TestContext Framework
with TestNG.
Transactional support classes for the Spring TestContext Framework.
Web support classes for the Spring TestContext Framework.
Support classes for tests based on JDBC.
General utility classes for use in unit and integration tests.
Contains client-side REST testing support.
Contains built-in
RequestMatcher
implementations.Contains built-in
ResponseCreator
implementations.Support for testing Spring WebFlux server endpoints via
WebTestClient
.Contains server-side support for testing Spring MVC applications.
Support for testing Spring MVC applications via
WebTestClient
with MockMvc
for server request
handling.Server-side support for testing Spring MVC applications with
MockMvc
and HtmlUnit.Contains built-in
RequestBuilder
implementations.Contains built-in
ResultMatcher
and ResultHandler
implementations.Contains built-in
MockMvcBuilder
implementations.Spring's core transaction management APIs (independent of any specific transaction
management system); an exception hierarchy for Spring's transaction infrastructure;
and transaction manager, definition, and status interfaces.
Spring's support for annotation-based transaction demarcation.
Support package for declarative transaction configuration,
with XML schema being the primary configuration format.
Spring's support for listening to transaction events.
AOP-based solution for declarative transaction demarcation.
Transaction SPI implementation for JTA.
Support classes for reactive transaction management.
Support classes for the org.springframework.transaction package.
Generic support for UI layer concepts.
Contains classes defining the application context subinterface
for UI applications.
Classes supporting the org.springframework.ui.context package.
Support classes for setting up
FreeMarker
within a Spring application context.
Miscellaneous utility classes, such as utilities for working with strings,
classes, collections, reflection, etc.
Useful generic
java.util.Comparator
implementations,
such as an invertible comparator and a compound comparator.Useful generic
java.util.concurrent.Future
extensions.Useful generic
java.util.function
helper classes.Useful unit data types.
Miscellaneous utility classes for XML parsing and transformation,
such as error handlers that log warnings via Commons Logging.
Provides data binding and validation functionality,
for usage in business and/or UI layers.
Support classes for annotation-based constraint evaluation,
e.g.
Support classes for integrating a JSR-303 Bean Validation provider
(such as Hibernate Validator) into a Spring ApplicationContext
and in particular with Spring's data binding and validation APIs.
Abstractions and support classes for method validation, independent of the
underlying validation library.
Support classes for handling validation results.
Common, generic interfaces that define minimal boundary points
between Spring's web infrastructure and other framework modules.
This package contains classes used to determine the requested the media types in a request.
Provides web-specific data binding functionality.
Annotations for binding requests to controllers and handler methods
as well as for binding request parameters to method arguments.
Support classes for web data binding.
Core package of the client-side web support.
Classes supporting the
org.springframework.web.client
package.Contains a variant of the application context interface for web applications,
and the ContextLoaderListener that bootstraps a root web application context.
Support for generic request context holding, in particular for
scoping of application objects per HTTP request or HTTP session.
Support for asynchronous request processing.
Classes supporting the
org.springframework.web.context
package,
such as WebApplicationContext implementations and various utility classes.Support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor
strategy.Reactive support for CORS (Cross-Origin Resource Sharing),
based on a common
CorsProcessor
strategy.Provides generic filter base classes allowing for bean-style configuration.
Support classes for integrating a JSF web layer with a Spring service layer
which is hosted in a Spring root WebApplicationContext.
ELResolvers for integrating a JSF web layer with a Spring service layer
which is hosted in a Spring root WebApplicationContext.
Common infrastructure for handler method processing, as used by
Spring MVC's
org.springframework.web.servlet.mvc.method
package.Support classes for annotation-based handler method processing.
Generic support classes for handler method processing.
Multipart resolution framework for handling file uploads.
Support classes for the multipart resolution framework.
Top-level package for the
spring-webflux
module that contains
DispatcherHandler
, the main entry
point for WebFlux server endpoint processing including key contracts used to
map requests to handlers, invoke them, and process the result.Spring WebFlux configuration infrastructure.
Provides a foundation for both the reactive client and server subpackages.
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive
reactive HTTP adapter layer.Provides the types that make up Spring's functional web framework for Reactive environments.
Classes supporting the
org.springframework.web.reactive.function.server
package.Provides HandlerMapping implementations including abstract base classes.
Support classes for serving static resources.
Support for various programming model styles including the invocation of
different types of handlers, e.g.
RequestCondition
and implementations for matching requests based on different criteria.Infrastructure for handler method processing.
Infrastructure for annotation-based handler method processing.
Support for result handling through view resolution.
Support classes for the integration of
FreeMarker
as Spring web view technology.
Support classes for views based on the JSR-223 script engine abstraction
(as included in Java 6+), e.g.
Abstractions and support classes for reactive WebSocket interactions.
Classes adapting Spring's Reactive WebSocket API to and from WebSocket runtimes.
Server support for WebSocket interactions.
Server-side support classes for WebSocket requests.
Holds implementations of
RequestUpgradeStrategy
.Core interfaces and classes for Spring's generic, reactive web support.
Implementations to adapt to the underlying
org.springframework.http.client.reactive
reactive HTTP adapter
and HttpHandler
.Provides common WebHandler implementations and a
WebHandlerDecorator
.Locale related support classes.
Support for creating a client proxy for an HTTP service annotated with
HttpExchange
methods.Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
Defines the XML configuration namespace for Spring MVC.
Annotation-based setup for Spring MVC.
Provides the types that make up Spring's functional web framework for Servlet environments.
Classes supporting the
org.springframework.web.servlet.function
package.Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
Locale support classes for Spring's web MVC framework.
Standard controller implementations for the Servlet MVC framework that comes with
Spring.
Support package for annotation-based Servlet MVC controllers.
Common MVC logic for matching incoming requests based on conditions.
Servlet-based infrastructure for handler method processing,
building on the
org.springframework.web.method
package.MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.Support package for MVC controllers.
Support classes for serving static resources.
Support classes for Spring's web MVC framework.
This package contains Spring's JSP standard tag library for JSP 2.0+.
Spring's form tag library for JSP views in Spring's Web MVC framework.
Theme support classes for Spring's web MVC framework.
Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
Support classes for the integration of
FreeMarker
as Spring web view technology.
Support classes for providing a View implementation based on JSON serialization.
Support classes for views based on the JSR-223 script engine abstraction
(as included in Java 6+), e.g.
Support classes for providing a View implementation based on XML Marshalling.
Support classes for XSLT,
providing a View implementation for XSLT stylesheets.
Common abstractions and Spring configuration support for WebSocket applications.
Classes adapting Spring's WebSocket API to and from WebSocket providers.
Adapter classes for the Jetty WebSocket API.
Adapter classes for the standard Jakarta WebSocket API.
Client-side abstractions for WebSocket applications.
Client-side classes for use with standard Jakarta WebSocket endpoints.
Support for annotation-based WebSocket setup in configuration classes.
Convenient
WebSocketHandler
implementations and decorators.WebSocket integration for Spring's messaging module.
Server-side abstractions for WebSocket interactions.
Server-side support for the Jetty WebSocket API.
Server-side classes for use with standard JSR-356 WebSocket endpoints.
Server-side support classes including container-specific strategies
for upgrading a request.
Top-level SockJS types.
SockJS client implementation of
WebSocketClient
.Support classes for creating SockJS frames including the encoding and decoding
of SockJS message frames.
Support classes for SockJS including an
AbstractSockJsService
implementation.Server-side support for SockJS transports including
TransportHandler
implementations
for processing incoming requests, their
session
counterparts for sending messages over the various transports, and
DefaultSockJsService
.TransportHandler
implementation classes as well as a concrete
SockJsService
.SockJS specific implementations of
WebSocketSession
.Miscellaneous web utility classes, such as HTML escaping and cookie handling.
Dedicated support for matching HTTP request paths.
-
Uses of Nullable in org.springframework.aop
Modifier and TypeMethodDescriptionTargetSource.getTarget()
Return a target instance.Class<?>
TargetClassAware.getTargetClass()
Return the target class behind the implementing object (typically a proxy configuration or an actual proxy).Class<?>
TargetSource.getTargetClass()
Return the type of targets returned by thisTargetSource
.ProxyMethodInvocation.getUserAttribute
(String key) Return the value of the specified user attribute.Modifier and TypeMethodDescriptionvoid
AfterReturningAdvice.afterReturning
(Object returnValue, Method method, Object[] args, Object target) Callback after a given method successfully returned.void
AfterReturningAdvice.afterReturning
(Object returnValue, Method method, Object[] args, Object target) Callback after a given method successfully returned.void
Callback before a given method is invoked.void
ProxyMethodInvocation.setUserAttribute
(String key, Object value) Add the specified user attribute with the given value to this invocation. -
Uses of Nullable in org.springframework.aop.aspectj
Modifier and TypeMethodDescriptionfinal ClassLoader
AbstractAspectJAdvice.getAspectClassLoader()
Return the ClassLoader for aspect instances.AspectInstanceFactory.getAspectClassLoader()
Expose the aspect class loader that this factory uses.SimpleAspectInstanceFactory.getAspectClassLoader()
SingletonAspectInstanceFactory.getAspectClassLoader()
static AspectJPrecedenceInformation
AspectJAopUtils.getAspectJPrecedenceInformationFor
(Advisor anAdvisor) Return the AspectJPrecedenceInformation provided by this advisor or its advice.protected String
AspectJExpressionPointcut.getCurrentProxiedBeanName()
protected Type
AbstractAspectJAdvice.getDiscoveredReturningGenericType()
AspectJExpressionPointcutAdvisor.getExpression()
protected org.aspectj.weaver.tools.JoinPointMatch
AbstractAspectJAdvice.getJoinPointMatch()
Get the current join point match at the join point we are being dispatched on.protected org.aspectj.weaver.tools.JoinPointMatch
AbstractAspectJAdvice.getJoinPointMatch
(ProxyMethodInvocation pmi) AspectJExpressionPointcutAdvisor.getLocation()
String[]
AspectJAdviceParameterNameDiscoverer.getParameterNames
(Constructor<?> ctor) An advice method can never be a constructor in Spring.String[]
AspectJAdviceParameterNameDiscoverer.getParameterNames
(Method method) Deduce the parameter names for an advice method.MethodInvocationProceedingJoinPoint.getTarget()
Returns the Spring AOP target.AspectJAfterAdvice.invoke
(MethodInvocation mi) AspectJAfterThrowingAdvice.invoke
(MethodInvocation mi) AspectJAroundAdvice.invoke
(MethodInvocation mi) MethodInvocationProceedingJoinPoint.proceed()
Modifier and TypeMethodDescriptionvoid
AspectJAfterReturningAdvice.afterReturning
(Object returnValue, Method method, Object[] args, Object target) void
AspectJAfterReturningAdvice.afterReturning
(Object returnValue, Method method, Object[] args, Object target) protected Object[]
AbstractAspectJAdvice.argBinding
(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Take the arguments at the method execution join point and output a set of arguments to the advice method.protected Object[]
AbstractAspectJAdvice.argBinding
(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Take the arguments at the method execution join point and output a set of arguments to the advice method.protected Object[]
AbstractAspectJAdvice.argBinding
(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Take the arguments at the method execution join point and output a set of arguments to the advice method.void
boolean
boolean
boolean
protected Object
AbstractAspectJAdvice.invokeAdviceMethod
(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable t) protected Object
AbstractAspectJAdvice.invokeAdviceMethod
(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable t) protected Object
AbstractAspectJAdvice.invokeAdviceMethod
(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable t) protected Object
AbstractAspectJAdvice.invokeAdviceMethod
(org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Invoke the advice method.protected Object
AbstractAspectJAdvice.invokeAdviceMethod
(org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Invoke the advice method.protected Object
AbstractAspectJAdvice.invokeAdviceMethod
(org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Invoke the advice method.void
AspectJExpressionPointcutAdvisor.setExpression
(String expression) void
AspectJExpressionPointcutAdvisor.setLocation
(String location) void
AspectJAdviceParameterNameDiscoverer.setReturningName
(String returningName) IfafterReturning
advice binds the return value, thereturning
variable name must be specified.void
AspectJAdviceParameterNameDiscoverer.setThrowingName
(String throwingName) IfafterThrowing
advice binds the thrown value, thethrowing
variable name must be specified.ModifierConstructorDescriptionAspectJAdviceParameterNameDiscoverer
(String pointcutExpression) Create a new discoverer that attempts to discover parameter names. -
Uses of Nullable in org.springframework.aop.aspectj.annotation
Modifier and TypeMethodDescriptionprotected static AbstractAspectJAdvisorFactory.AspectJAnnotation
AbstractAspectJAdvisorFactory.findAspectJAnnotationOnMethod
(Method method) Find and return the first AspectJ annotation on the given method (there should only be one anyway...).AspectJAdvisorFactory.getAdvice
(Method candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName) Build a Spring AOP Advice for the given AspectJ advice method.ReflectiveAspectJAdvisorFactory.getAdvice
(Method candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName) AspectJAdvisorFactory.getAdvisor
(Method candidateAdviceMethod, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName) Build a Spring AOP Advisor for the given AspectJ advice method.ReflectiveAspectJAdvisorFactory.getAdvisor
(Method candidateAdviceMethod, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrderInAspect, String aspectName) BeanFactoryAspectInstanceFactory.getAspectClassLoader()
LazySingletonAspectInstanceFactoryDecorator.getAspectClassLoader()
BeanFactoryAspectInstanceFactory.getAspectCreationMutex()
LazySingletonAspectInstanceFactoryDecorator.getAspectCreationMutex()
MetadataAwareAspectInstanceFactory.getAspectCreationMutex()
Get the best possible creation mutex for this factory.ModifierConstructorDescriptionBeanFactoryAspectInstanceFactory
(BeanFactory beanFactory, String name, Class<?> type) Create a BeanFactoryAspectInstanceFactory, providing a type that AspectJ should introspect to create AJType metadata.ReflectiveAspectJAdvisorFactory
(BeanFactory beanFactory) Create a newReflectiveAspectJAdvisorFactory
, propagating the givenBeanFactory
to the createdAspectJExpressionPointcut
instances, for bean pointcut handling as well as consistentClassLoader
resolution. -
Uses of Nullable in org.springframework.aop.config
Modifier and TypeMethodDescriptionSimpleBeanFactoryAwareAspectInstanceFactory.getAspectClassLoader()
MethodLocatingFactoryBean.getObject()
AdvisorComponentDefinition.getSource()
PointcutComponentDefinition.getSource()
static BeanDefinition
AopConfigUtils.registerAspectJAnnotationAutoProxyCreatorIfNecessary
(BeanDefinitionRegistry registry) static BeanDefinition
AopConfigUtils.registerAspectJAnnotationAutoProxyCreatorIfNecessary
(BeanDefinitionRegistry registry, Object source) static BeanDefinition
AopConfigUtils.registerAspectJAutoProxyCreatorIfNecessary
(BeanDefinitionRegistry registry) static BeanDefinition
AopConfigUtils.registerAspectJAutoProxyCreatorIfNecessary
(BeanDefinitionRegistry registry, Object source) static BeanDefinition
AopConfigUtils.registerAutoProxyCreatorIfNecessary
(BeanDefinitionRegistry registry) static BeanDefinition
AopConfigUtils.registerAutoProxyCreatorIfNecessary
(BeanDefinitionRegistry registry, Object source) Modifier and TypeMethodDescriptionstatic BeanDefinition
AopConfigUtils.registerAspectJAnnotationAutoProxyCreatorIfNecessary
(BeanDefinitionRegistry registry, Object source) static BeanDefinition
AopConfigUtils.registerAspectJAutoProxyCreatorIfNecessary
(BeanDefinitionRegistry registry, Object source) static BeanDefinition
AopConfigUtils.registerAutoProxyCreatorIfNecessary
(BeanDefinitionRegistry registry, Object source) ModifierConstructorDescriptionAdvisorComponentDefinition
(String advisorBeanName, BeanDefinition advisorDefinition, BeanDefinition pointcutDefinition) AspectComponentDefinition
(String aspectName, BeanDefinition[] beanDefinitions, BeanReference[] beanReferences, Object source) AspectComponentDefinition
(String aspectName, BeanDefinition[] beanDefinitions, BeanReference[] beanReferences, Object source) AspectComponentDefinition
(String aspectName, BeanDefinition[] beanDefinitions, BeanReference[] beanReferences, Object source) -
Uses of Nullable in org.springframework.aop.framework
Modifier and TypeFieldDescriptionprotected Advisor
AbstractAdvisingBeanPostProcessor.advisor
protected final Object
ReflectiveMethodInvocation.target
Modifier and TypeMethodDescriptionProxyFactoryBean.getObject()
Return a proxy.Class<?>
AbstractSingletonProxyFactoryBean.getObjectType()
Class<?>
ProxyFactoryBean.getObjectType()
Return the type of the proxy.protected ClassLoader
ProxyProcessorSupport.getProxyClassLoader()
Return the configured proxy ClassLoader for this processor.static Object
AopProxyUtils.getSingletonTarget
(Object candidate) Obtain the singleton target object behind the given proxy, if any.Class<?>
AdvisedSupport.getTargetClass()
final Object
ReflectiveMethodInvocation.getThis()
ReflectiveMethodInvocation.getUserAttribute
(String key) protected Object
ReflectiveMethodInvocation.invokeJoinpoint()
Invoke the joinpoint using reflection.ReflectiveMethodInvocation.proceed()
Modifier and TypeMethodDescriptionboolean
AdvisedSupport.adviceIncluded
(Advice advice) Is the given advice included in any advisor within this proxy configuration?int
AdvisedSupport.countAdvicesOfType
(Class<?> adviceClass) Count advices of the given class.AdvisedSupport.getInterceptorsAndDynamicInterceptionAdvice
(Method method, Class<?> targetClass) Determine a list ofMethodInterceptor
objects for the given method, based on this configuration.AdvisorChainFactory.getInterceptorsAndDynamicInterceptionAdvice
(Advised config, Method method, Class<?> targetClass) Determine a list ofMethodInterceptor
objects for the given advisor chain configuration.DefaultAdvisorChainFactory.getInterceptorsAndDynamicInterceptionAdvice
(Advised config, Method method, Class<?> targetClass) AopProxy.getProxy
(ClassLoader classLoader) Create a new proxy object.ProxyFactory.getProxy
(ClassLoader classLoader) Create a new proxy according to the settings in this factory.Class<?>
AopProxy.getProxyClass
(ClassLoader classLoader) Determine the proxy class.Class<?>
ProxyFactory.getProxyClass
(ClassLoader classLoader) Determine the proxy class according to the settings in this factory.void
ProxyFactoryBean.setProxyClassLoader
(ClassLoader classLoader) Set the ClassLoader to generate the proxy class in.void
ProxyProcessorSupport.setProxyClassLoader
(ClassLoader classLoader) Set the ClassLoader to generate the proxy class in.void
AdvisedSupport.setTargetClass
(Class<?> targetClass) Set a target class to be proxied, indicating that the proxy should be castable to the given class.void
AdvisedSupport.setTargetSource
(TargetSource targetSource) void
ReflectiveMethodInvocation.setUserAttribute
(String key, Object value) ModifierConstructorDescriptionprotected
ReflectiveMethodInvocation
(Object proxy, Object target, Method method, Object[] arguments, Class<?> targetClass, List<Object> interceptorsAndDynamicMethodMatchers) Construct a new ReflectiveMethodInvocation with the given arguments.protected
ReflectiveMethodInvocation
(Object proxy, Object target, Method method, Object[] arguments, Class<?> targetClass, List<Object> interceptorsAndDynamicMethodMatchers) Construct a new ReflectiveMethodInvocation with the given arguments.protected
ReflectiveMethodInvocation
(Object proxy, Object target, Method method, Object[] arguments, Class<?> targetClass, List<Object> interceptorsAndDynamicMethodMatchers) Construct a new ReflectiveMethodInvocation with the given arguments. -
Uses of Nullable in org.springframework.aop.framework.adapter
Modifier and TypeMethodDescriptionAfterReturningAdviceInterceptor.invoke
(MethodInvocation mi) MethodBeforeAdviceInterceptor.invoke
(MethodInvocation mi) ThrowsAdviceInterceptor.invoke
(MethodInvocation mi) -
Uses of Nullable in org.springframework.aop.framework.autoproxy
Modifier and TypeFieldDescriptionprotected static final Object[]
AbstractAutoProxyCreator.DO_NOT_PROXY
Convenience constant for subclasses: Return value for "do not proxy".Modifier and TypeMethodDescriptionConstructor<?>[]
AbstractAutoProxyCreator.determineCandidateConstructors
(Class<?> beanClass, String beanName) static Class<?>
AutoProxyUtils.determineTargetClass
(ConfigurableListableBeanFactory beanFactory, String beanName) Determine the original target class for the specified bean, if possible, otherwise falling back to a regulargetType
lookup.protected Object[]
AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean
(Class<?> beanClass, String beanName, TargetSource targetSource) protected abstract Object[]
AbstractAutoProxyCreator.getAdvicesAndAdvisorsForBean
(Class<?> beanClass, String beanName, TargetSource customTargetSource) Return whether the given bean is to be proxied, what additional advices (e.g.protected Object[]
BeanNameAutoProxyCreator.getAdvicesAndAdvisorsForBean
(Class<?> beanClass, String beanName, TargetSource targetSource) Identify as a bean to proxy if the bean name matches one of the names in the configured list of supported names.DefaultAdvisorAutoProxyCreator.getAdvisorBeanNamePrefix()
Return the prefix for bean names that will cause them to be included for auto-proxying by this object.protected BeanFactory
AbstractAutoProxyCreator.getBeanFactory()
Return the owningBeanFactory
.static String
ProxyCreationContext.getCurrentProxiedBeanName()
Return the name of the currently proxied bean instance.protected TargetSource
AbstractAutoProxyCreator.getCustomTargetSource
(Class<?> beanClass, String beanName) Create a target source for bean instances.protected TargetSource
BeanNameAutoProxyCreator.getCustomTargetSource
(Class<?> beanClass, String beanName) Delegate toAbstractAutoProxyCreator.getCustomTargetSource(Class, String)
if the bean name matches one of the names in the configured list of supported names, returningnull
otherwise.TargetSourceCreator.getTargetSource
(Class<?> beanClass, String beanName) Create a special TargetSource for the given bean, if any.AbstractAutoProxyCreator.postProcessAfterInitialization
(Object bean, String beanName) Create a proxy with the configured interceptors if the bean is identified as one to proxy by the subclass.AbstractAutoProxyCreator.postProcessBeforeInstantiation
(Class<?> beanClass, String beanName) Class<?>
AbstractAutoProxyCreator.predictBeanType
(Class<?> beanClass, String beanName) Modifier and TypeMethodDescriptionprotected Advisor[]
AbstractAutoProxyCreator.buildAdvisors
(String beanName, Object[] specificInterceptors) Determine the advisors for the given bean, including the specific interceptors as well as the common interceptor, all adapted to the Advisor interface.protected Advisor[]
AbstractAutoProxyCreator.buildAdvisors
(String beanName, Object[] specificInterceptors) Determine the advisors for the given bean, including the specific interceptors as well as the common interceptor, all adapted to the Advisor interface.protected Object
AbstractAutoProxyCreator.createProxy
(Class<?> beanClass, String beanName, Object[] specificInterceptors, TargetSource targetSource) Create an AOP proxy for the given bean.protected Object
AbstractAutoProxyCreator.createProxy
(Class<?> beanClass, String beanName, Object[] specificInterceptors, TargetSource targetSource) Create an AOP proxy for the given bean.static Class<?>
AutoProxyUtils.determineTargetClass
(ConfigurableListableBeanFactory beanFactory, String beanName) Determine the original target class for the specified bean, if possible, otherwise falling back to a regulargetType
lookup.protected Object[]
AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean
(Class<?> beanClass, String beanName, TargetSource targetSource) protected abstract Object[]
AbstractAutoProxyCreator.getAdvicesAndAdvisorsForBean
(Class<?> beanClass, String beanName, TargetSource customTargetSource) Return whether the given bean is to be proxied, what additional advices (e.g.protected Object[]
BeanNameAutoProxyCreator.getAdvicesAndAdvisorsForBean
(Class<?> beanClass, String beanName, TargetSource targetSource) Identify as a bean to proxy if the bean name matches one of the names in the configured list of supported names.protected Object
AbstractAutoProxyCreator.getCacheKey
(Class<?> beanClass, String beanName) Build a cache key for the given bean class and bean name.AbstractAutoProxyCreator.postProcessAfterInitialization
(Object bean, String beanName) Create a proxy with the configured interceptors if the bean is identified as one to proxy by the subclass.void
DefaultAdvisorAutoProxyCreator.setAdvisorBeanNamePrefix
(String advisorBeanNamePrefix) Set the prefix for bean names that will cause them to be included for auto-proxying by this object.protected boolean
AbstractAutoProxyCreator.shouldProxyTargetClass
(Class<?> beanClass, String beanName) Determine whether the given bean should be proxied with its target class rather than its interfaces.static boolean
AutoProxyUtils.shouldProxyTargetClass
(ConfigurableListableBeanFactory beanFactory, String beanName) Determine whether the given bean should be proxied with its target class rather than its interfaces. -
Uses of Nullable in org.springframework.aop.framework.autoproxy.target
Modifier and TypeMethodDescriptionprotected abstract AbstractBeanFactoryBasedTargetSource
AbstractBeanFactoryBasedTargetSourceCreator.createBeanFactoryBasedTargetSource
(Class<?> beanClass, String beanName) Subclasses must implement this method to return a new AbstractPrototypeBasedTargetSource if they wish to create a custom TargetSource for this bean, ornull
if they are not interested it in, in which case no special target source will be created.protected AbstractBeanFactoryBasedTargetSource
LazyInitTargetSourceCreator.createBeanFactoryBasedTargetSource
(Class<?> beanClass, String beanName) protected final AbstractBeanFactoryBasedTargetSource
QuickTargetSourceCreator.createBeanFactoryBasedTargetSource
(Class<?> beanClass, String beanName) protected final BeanFactory
AbstractBeanFactoryBasedTargetSourceCreator.getBeanFactory()
Return the BeanFactory that this TargetSourceCreators runs in.final TargetSource
AbstractBeanFactoryBasedTargetSourceCreator.getTargetSource
(Class<?> beanClass, String beanName) -
Uses of Nullable in org.springframework.aop.interceptor
Modifier and TypeFieldDescriptionprotected Log
AbstractTraceInterceptor.defaultLogger
The defaultLog
instance used to write trace messages.Modifier and TypeMethodDescriptionprotected AsyncTaskExecutor
AsyncExecutionAspectSupport.determineAsyncExecutor
(Method method) Determine the specific executor to use when executing the given method.protected Object
AsyncExecutionAspectSupport.doSubmit
(Callable<Object> task, AsyncTaskExecutor executor, Class<?> returnType) Delegate for actually executing the given task with the chosen executor.protected Executor
AsyncExecutionAspectSupport.findQualifiedExecutor
(BeanFactory beanFactory, String qualifier) Retrieve a target executor for the given qualifier.protected Executor
AsyncExecutionAspectSupport.getDefaultExecutor
(BeanFactory beanFactory) Retrieve or build a default executor for this advice instance.protected Executor
AsyncExecutionInterceptor.getDefaultExecutor
(BeanFactory beanFactory) This implementation searches for a uniqueTaskExecutor
bean in the context, or for anExecutor
bean named "taskExecutor" otherwise.protected abstract String
AsyncExecutionAspectSupport.getExecutorQualifier
(Method method) Return the qualifier or bean name of the executor to be used when executing the given async method, typically specified in the form of an annotation attribute.protected String
AsyncExecutionInterceptor.getExecutorQualifier
(Method method) Get the qualifier for a specific executor to use when executing the given method.AbstractTraceInterceptor.invoke
(MethodInvocation invocation) Determines whether logging is enabled for the particularMethodInvocation
.AsyncExecutionInterceptor.invoke
(MethodInvocation invocation) Intercept the given method invocation, submit the actual calling of the method to the correct task executor and return immediately to the caller.ConcurrencyThrottleInterceptor.invoke
(MethodInvocation methodInvocation) DebugInterceptor.invoke
(MethodInvocation invocation) ExposeInvocationInterceptor.invoke
(MethodInvocation mi) protected abstract Object
AbstractTraceInterceptor.invokeUnderTrace
(MethodInvocation invocation, Log logger) Subclasses must override this method to perform any tracing around the suppliedMethodInvocation
.Modifier and TypeMethodDescriptionvoid
AsyncExecutionAspectSupport.configure
(Supplier<Executor> defaultExecutor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) Configure this aspect with the given executor and exception handler suppliers, applying the corresponding default if a supplier is not resolvable.void
AsyncExecutionAspectSupport.configure
(Supplier<Executor> defaultExecutor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) Configure this aspect with the given executor and exception handler suppliers, applying the corresponding default if a supplier is not resolvable.protected Executor
AsyncExecutionAspectSupport.findQualifiedExecutor
(BeanFactory beanFactory, String qualifier) Retrieve a target executor for the given qualifier.protected Executor
AsyncExecutionAspectSupport.getDefaultExecutor
(BeanFactory beanFactory) Retrieve or build a default executor for this advice instance.protected Executor
AsyncExecutionInterceptor.getDefaultExecutor
(BeanFactory beanFactory) This implementation searches for a uniqueTaskExecutor
bean in the context, or for anExecutor
bean named "taskExecutor" otherwise.protected String
CustomizableTraceInterceptor.replacePlaceholders
(String message, MethodInvocation methodInvocation, Object returnValue, Throwable throwable, long invocationTime) Replace the placeholders in the given message with the supplied values, or values derived from those supplied.protected String
CustomizableTraceInterceptor.replacePlaceholders
(String message, MethodInvocation methodInvocation, Object returnValue, Throwable throwable, long invocationTime) Replace the placeholders in the given message with the supplied values, or values derived from those supplied.void
Set the text that will get appended to the trace data.void
Set the text that will get prepended to the trace data.protected void
AbstractTraceInterceptor.writeToLog
(Log logger, String message, Throwable ex) Write the supplied trace message andThrowable
to the suppliedLog
instance.ModifierConstructorDescriptionAsyncExecutionAspectSupport
(Executor defaultExecutor) Create a new instance with a defaultAsyncUncaughtExceptionHandler
.AsyncExecutionAspectSupport
(Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAsyncExecutionAspectSupport
with the given exception handler.AsyncExecutionInterceptor
(Executor defaultExecutor) Create a new instance with a defaultAsyncUncaughtExceptionHandler
.AsyncExecutionInterceptor
(Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAsyncExecutionInterceptor
. -
Uses of Nullable in org.springframework.aop.scope
Modifier and TypeMethodDescriptionScopedProxyFactoryBean.getObject()
Class<?>
ScopedProxyFactoryBean.getObjectType()
Modifier and TypeMethodDescriptionstatic String
ScopedProxyUtils.getOriginalBeanName
(String targetBeanName) Get the original bean name for the provided target bean name.static boolean
ScopedProxyUtils.isScopedTarget
(String beanName) Determine if thebeanName
is the name of a bean that references the target bean within a scoped proxy. -
Uses of Nullable in org.springframework.aop.support
Modifier and TypeMethodDescriptionprotected Object
DelegatePerTargetObjectIntroductionInterceptor.doProceed
(MethodInvocation mi) Proceed with the suppliedMethodInterceptor
.protected Object
DelegatingIntroductionInterceptor.doProceed
(MethodInvocation mi) Proceed with the suppliedMethodInterceptor
.AbstractBeanFactoryPointcutAdvisor.getAdviceBeanName()
Return the name of the advice bean that this advisor refers to, if any.AbstractExpressionPointcut.getExpression()
Return this pointcut's expression.ExpressionPointcut.getExpression()
Return the String expression for this pointcut.AbstractExpressionPointcut.getLocation()
Return location information about the pointcut expression if available.DelegatePerTargetObjectIntroductionInterceptor.invoke
(MethodInvocation mi) Subclasses may need to override this if they want to perform custom behaviour in around advice.DelegatingIntroductionInterceptor.invoke
(MethodInvocation mi) Subclasses may need to override this if they want to perform custom behaviour in around advice.static Object
AopUtils.invokeJoinpointUsingReflection
(Object target, Method method, Object[] args) Invoke the given target via reflection, as part of an AOP method invocation.Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
static Method
AopUtils.getMostSpecificMethod
(Method method, Class<?> targetClass) Given a method, which may come from an interface, and a target class used in the current AOP invocation, find the corresponding target method if there is one.static Object
AopUtils.invokeJoinpointUsingReflection
(Object target, Method method, Object[] args) Invoke the given target via reflection, as part of an AOP method invocation.static boolean
AopUtils.isAopProxy
(Object object) Check whether the given object is a JDK dynamic proxy or a CGLIB proxy.static boolean
AopUtils.isCglibProxy
(Object object) Check whether the given object is a CGLIB proxy.static boolean
AopUtils.isEqualsMethod
(Method method) Determine whether the given method is an "equals" method.static boolean
AopUtils.isFinalizeMethod
(Method method) Determine whether the given method is a "finalize" method.static boolean
AopUtils.isHashCodeMethod
(Method method) Determine whether the given method is a "hashCode" method.static boolean
AopUtils.isJdkDynamicProxy
(Object object) Check whether the given object is a JDK dynamic proxy.static boolean
AopUtils.isToStringMethod
(Method method) Determine whether the given method is a "toString" method.protected void
AbstractExpressionPointcut.onSetExpression
(String expression) Called when a new pointcut expression is set.static Method
AopUtils.selectInvocableMethod
(Method method, Class<?> targetType) Select an invocable method on the target type: either the given method itself if actually exposed on the target type, or otherwise a corresponding method on one of the target type's interfaces or on the target type itself.void
AbstractBeanFactoryPointcutAdvisor.setAdviceBeanName
(String adviceBeanName) Specify the name of the advice bean that this advisor should refer to.void
AbstractExpressionPointcut.setExpression
(String expression) void
AbstractExpressionPointcut.setLocation
(String location) Set the location for debugging.void
DefaultBeanFactoryPointcutAdvisor.setPointcut
(Pointcut pointcut) Specify the pointcut targeting the advice.void
DefaultPointcutAdvisor.setPointcut
(Pointcut pointcut) Specify the pointcut targeting the advice.ModifierConstructorDescriptionControlFlowPointcut
(Class<?> clazz, String methodNamePattern) Construct a new pointcut that matches all calls below a method matching the given method name pattern in the given class.DefaultIntroductionAdvisor
(Advice advice, IntroductionInfo introductionInfo) Create a DefaultIntroductionAdvisor for the given advice. -
Uses of Nullable in org.springframework.aop.support.annotation
Modifier and TypeMethodDescriptionboolean
boolean
boolean
ModifierConstructorDescriptionAnnotationMatchingPointcut
(Class<? extends Annotation> classAnnotationType, Class<? extends Annotation> methodAnnotationType) Create a new AnnotationMatchingPointcut for the given annotation types.AnnotationMatchingPointcut
(Class<? extends Annotation> classAnnotationType, Class<? extends Annotation> methodAnnotationType) Create a new AnnotationMatchingPointcut for the given annotation types.AnnotationMatchingPointcut
(Class<? extends Annotation> classAnnotationType, Class<? extends Annotation> methodAnnotationType, boolean checkInherited) Create a new AnnotationMatchingPointcut for the given annotation types.AnnotationMatchingPointcut
(Class<? extends Annotation> classAnnotationType, Class<? extends Annotation> methodAnnotationType, boolean checkInherited) Create a new AnnotationMatchingPointcut for the given annotation types. -
Uses of Nullable in org.springframework.aop.target
Modifier and TypeMethodDescriptionabstract Object
AbstractPoolingTargetSource.getTarget()
Acquire an object from the pool.EmptyTargetSource.getTarget()
Always returnsnull
.Class<?>
AbstractBeanFactoryBasedTargetSource.getTargetClass()
Class<?>
AbstractLazyCreationTargetSource.getTargetClass()
This default implementation returnsnull
if the target isnull
(it is hasn't yet been initialized), or the target class if the target has already been initialized.Class<?>
EmptyTargetSource.getTargetClass()
Always returns the specified target Class, ornull
if none.Modifier and TypeMethodDescriptionboolean
boolean
boolean
Two HotSwappableTargetSources are equal if the current target objects are equal.boolean
Two invoker interceptors are equal if they have the same target or if the targets or the targets are equal.static EmptyTargetSource
Return an EmptyTargetSource for the given target Class.static EmptyTargetSource
Return an EmptyTargetSource for the given target Class. -
Uses of Nullable in org.springframework.aop.target.dynamic
-
Uses of Nullable in org.springframework.aot.agent
Modifier and TypeMethodDescriptionstatic URL
InstrumentedBridgeMethods.classgetResource
(Class<?> clazz, String name) Deprecated.static InputStream
InstrumentedBridgeMethods.classgetResourceAsStream
(Class<?> clazz, String name) Deprecated.static URL
InstrumentedBridgeMethods.classloadergetResource
(ClassLoader classLoader, String name) Deprecated.static InputStream
InstrumentedBridgeMethods.classloadergetResourceAsStream
(ClassLoader classLoader, String name) Deprecated.<T> T
RecordedInvocation.getReturnValue()
Return the value actually returned by the invoked method.Modifier and TypeMethodDescriptionboolean
static void
RuntimeHintsAgent.premain
(String agentArgs, Instrumentation inst) RecordedInvocation.Builder.returnValue
(Object returnValue) Use the given object as the return value for the invocation.RecordedInvocation.Builder.withArgument
(Object argument) Use the given object as the unique argument.RecordedInvocation.Builder.withArguments
(Object... arguments) Use the given objects as the invocation arguments. -
Uses of Nullable in org.springframework.aot.generate
Modifier and TypeMethodDescriptionorg.springframework.javapoet.CodeBlock
MethodReference.ArgumentCodeGenerator.generateCode
(org.springframework.javapoet.TypeName argumentType) Generate the code for the given argument type.org.springframework.javapoet.CodeBlock
ValueCodeGenerator.Delegate.generateCode
(ValueCodeGenerator valueCodeGenerator, Object value) Generate the code for the specified non-nullvalue
.org.springframework.javapoet.CodeBlock
ValueCodeGeneratorDelegates.CollectionDelegate.generateCode
(ValueCodeGenerator valueCodeGenerator, Object value) org.springframework.javapoet.CodeBlock
ValueCodeGeneratorDelegates.MapDelegate.generateCode
(ValueCodeGenerator valueCodeGenerator, Object value) protected org.springframework.javapoet.CodeBlock
ValueCodeGeneratorDelegates.MapDelegate.generateMapCode
(ValueCodeGenerator valueCodeGenerator, Map<?, ?> map) Generate the code for a non-emptyMap
.GeneratedClass.getEnclosingClass()
Return the enclosingGeneratedClass
ornull
if this instance represents a top-level class.InMemoryGeneratedFiles.getGeneratedFile
(GeneratedFiles.Kind kind, String path) Return theInputStreamSource
of specified file.InMemoryGeneratedFiles.getGeneratedFileContent
(GeneratedFiles.Kind kind, String path) Return the content of the specified file.ValueCodeGenerator.getGeneratedMethods()
Return theGeneratedMethods
that represents the scope in which code generated by this instance will be added, ornull
if no specific scope is set.ValueCodeGenerationException.getValue()
Return the value that failed to be generated.Modifier and TypeMethodDescriptionorg.springframework.javapoet.ClassName
ClassNameGenerator.generateClassName
(String featureName, org.springframework.javapoet.ClassName target) Generate a uniqueClassName
based on the specifiedfeatureName
andtarget
.org.springframework.javapoet.CodeBlock
ValueCodeGenerator.generateCode
(Object value) Generate the code that represents the specifiedvalue
.org.springframework.javapoet.CodeBlock
DefaultMethodReference.toInvokeCodeBlock
(MethodReference.ArgumentCodeGenerator argumentCodeGenerator, org.springframework.javapoet.ClassName targetClassName) org.springframework.javapoet.CodeBlock
MethodReference.toInvokeCodeBlock
(MethodReference.ArgumentCodeGenerator argumentCodeGenerator, org.springframework.javapoet.ClassName targetClassName) Return this method reference as aCodeBlock
using the specifiedMethodReference.ArgumentCodeGenerator
.ModifierConstructorDescriptionDefaultMethodReference
(org.springframework.javapoet.MethodSpec method, org.springframework.javapoet.ClassName declaringClass) ValueCodeGenerationException
(Object value, Throwable cause) protected
ValueCodeGenerationException
(String message, Object value, Throwable cause) protected
ValueCodeGenerationException
(String message, Object value, Throwable cause) -
Uses of Nullable in org.springframework.aot.hint
Modifier and TypeMethodDescriptionAbstractTypeReference.getEnclosingType()
TypeReference.getEnclosingType()
Return the enclosing type reference, ornull
if this type reference does not have an enclosing type.ConditionalHint.getReachableType()
Return the type that should be reachable for this hint to apply, ornull
if this hint should always been applied.JavaSerializationHint.getReachableType()
JdkProxyHint.getReachableType()
ResourceBundleHint.getReachableType()
ResourcePatternHint.getReachableType()
TypeHint.getReachableType()
ReflectionHints.getTypeHint
(Class<?> type) Return the reflection hints for the specified type.ReflectionHints.getTypeHint
(TypeReference type) Return the reflection hints for the type defined by the specifiedTypeReference
.Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
ResourcePatternHints.Builder.excludes
(TypeReference reachableType, String... excludes) Exclude resources matching the specified patterns.ResourcePatternHints.Builder.includes
(TypeReference reachableType, String... includes) Include resources matching the specified patterns.void
RuntimeHintsRegistrar.registerHints
(RuntimeHints hints, ClassLoader classLoader) Contribute hints to the givenRuntimeHints
instance.ResourceHints.registerPattern
(Consumer<ResourcePatternHints.Builder> resourceHint) Register that the resources matching the specified pattern should be made available at runtime.ResourceHints.registerPatternIfPresent
(ClassLoader classLoader, String location, Consumer<ResourcePatternHints.Builder> resourceHint) Register a pattern if the givenlocation
is available on the classpath.ResourceHints.registerResourceBundle
(String baseName, Consumer<ResourceBundleHint.Builder> resourceHint) Register that the resource bundle with the specified base name should be made available at runtime.SerializationHints.registerType
(Class<? extends Serializable> type, Consumer<JavaSerializationHint.Builder> serializationHint) Register that the specified type need to be serialized using java serialization.SerializationHints.registerType
(TypeReference type, Consumer<JavaSerializationHint.Builder> serializationHint) Register that the type defined by the specifiedTypeReference
need to be serialized using java serialization.ReflectionHints.registerTypeIfPresent
(ClassLoader classLoader, String typeName, Consumer<TypeHint.Builder> typeHint) Register or customize reflection hints for the specified type if it is available using the specifiedClassLoader
.ReflectionHints.registerTypeIfPresent
(ClassLoader classLoader, String typeName, MemberCategory... memberCategories) Register or customize reflection hints for the specified type if it is available using the specifiedClassLoader
.ModifierConstructorDescriptionprotected
AbstractTypeReference
(String packageName, String simpleName, TypeReference enclosingType) -
Uses of Nullable in org.springframework.aot.hint.support
Modifier and TypeMethodDescriptionvoid
FilePatternResourceHintsRegistrar.Builder.registerHints
(ResourceHints hints, ClassLoader classLoader) Register resource hints for the current state of this builder.void
FilePatternResourceHintsRegistrar.registerHints
(ResourceHints hints, ClassLoader classLoader) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Nullable in org.springframework.aot.nativex
ModifierConstructorDescriptionFileNativeConfigurationWriter
(Path basePath, String groupId, String artifactId) FileNativeConfigurationWriter
(Path basePath, String groupId, String artifactId) -
Uses of Nullable in org.springframework.beans
Modifier and TypeFieldDescriptionString[]
AbstractNestablePropertyAccessor.PropertyTokenHolder.keys
Modifier and TypeMethodDescriptionstatic String[]
PropertyAccessorUtils.canonicalPropertyNames
(String[] propertyNames) Determine the canonical names for the given property paths.protected Object
AbstractNestablePropertyAccessor.convertForProperty
(String propertyName, Object oldValue, Object newValue, TypeDescriptor td) BeanWrapperImpl.convertForProperty
(Object value, String propertyName) Convert the given value for the specified property to the latter's type.<T> T
TypeConverter.convertIfNecessary
(Object value, Class<T> requiredType) Convert the value to the required type (if necessary from a String).<T> T
TypeConverter.convertIfNecessary
(Object value, Class<T> requiredType, Field field) Convert the value to the required type (if necessary from a String).default <T> T
TypeConverter.convertIfNecessary
(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) Convert the value to the required type (if necessary from a String).<T> T
TypeConverter.convertIfNecessary
(Object value, Class<T> requiredType, MethodParameter methodParam) Convert the value to the required type (if necessary from a String).<T> T
TypeConverterSupport.convertIfNecessary
(Object value, Class<T> requiredType) <T> T
TypeConverterSupport.convertIfNecessary
(Object value, Class<T> requiredType, Field field) <T> T
TypeConverterSupport.convertIfNecessary
(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> T
TypeConverterSupport.convertIfNecessary
(Object value, Class<T> requiredType, MethodParameter methodParam) PropertyEditorRegistry.findCustomEditor
(Class<?> requiredType, String propertyPath) Find a custom property editor for the given type and property.PropertyEditorRegistrySupport.findCustomEditor
(Class<?> requiredType, String propertyPath) static Method
BeanUtils.findDeclaredMethod
(Class<?> clazz, String methodName, Class<?>... paramTypes) Find a method with the given method name and the given parameter types, declared on the given class or one of its superclasses.static Method
BeanUtils.findDeclaredMethodWithMinimalParameters
(Class<?> clazz, String methodName) Find a method with the given method name and minimal parameters (best case: none), declared on the given class or one of its superclasses.static PropertyEditor
BeanUtils.findEditorByConvention
(Class<?> targetType) Find a JavaBeans PropertyEditor following the 'Editor' suffix convention (e.g.static Method
BeanUtils.findMethod
(Class<?> clazz, String methodName, Class<?>... paramTypes) Find a method with the given method name and the given parameter types, declared on the given class or one of its superclasses.static Method
BeanUtils.findMethodWithMinimalParameters
(Class<?> clazz, String methodName) Find a method with the given method name and minimal parameters (best case: none), declared on the given class or one of its superclasses.static Method
BeanUtils.findMethodWithMinimalParameters
(Method[] methods, String methodName) Find a method with the given method name and minimal parameters (best case: none) in the given list of methods.static <T> Constructor<T>
BeanUtils.findPrimaryConstructor
(Class<T> clazz) Return the primary constructor of the provided class.static PropertyDescriptor
BeanUtils.findPropertyForMethod
(Method method) Find a JavaBeansPropertyDescriptor
for the given method, with the method either being the read method or the write method for that bean property.static PropertyDescriptor
BeanUtils.findPropertyForMethod
(Method method, Class<?> clazz) Find a JavaBeansPropertyDescriptor
for the given method, with the method either being the read method or the write method for that bean property.Get the raw property value, if any.BeanMetadataAttributeAccessor.getAttribute
(String name) BeanInfoFactory.getBeanInfo
(Class<?> beanClass) Return the bean info for the given class, if supported.BeanInstantiationException.getConstructingMethod()
Return the delegate for bean construction purposes, if known.Constructor<?>
BeanInstantiationException.getConstructor()
Return the offending constructor, if known.ConfigurablePropertyAccessor.getConversionService()
Return the associated ConversionService, if any.PropertyEditorRegistrySupport.getConversionService()
Return the associated ConversionService, if any.PropertyValue.getConvertedValue()
Return the converted value of this property value, after processed type conversion.PropertyEditorRegistrySupport.getDefaultEditor
(Class<?> requiredType) Retrieve the default editor for the given property type, if any.protected abstract AbstractNestablePropertyAccessor.PropertyHandler
AbstractNestablePropertyAccessor.getLocalPropertyHandler
(String propertyName) Return aAbstractNestablePropertyAccessor.PropertyHandler
for the specified localpropertyName
.protected org.springframework.beans.BeanWrapperImpl.BeanPropertyHandler
BeanWrapperImpl.getLocalPropertyHandler
(String propertyName) protected org.springframework.beans.DirectFieldAccessor.FieldPropertyHandler
DirectFieldAccessor.getLocalPropertyHandler
(String propertyName) BeanMetadataAttributeAccessor.getMetadataAttribute
(String name) Look up the given BeanMetadataAttribute in this accessor's set of attributes.String[]
NotWritablePropertyException.getPossibleMatches()
Return suggestions for actual bean property names that closely match the invalid property name, if any.PropertyBatchUpdateException.getPropertyAccessException
(String propertyName) Return the exception for this field, ornull
if there isn't any.PropertyAccessException.getPropertyChangeEvent()
Return the PropertyChangeEvent that resulted in the problem.static PropertyDescriptor
BeanUtils.getPropertyDescriptor
(Class<?> clazz, String propertyName) Retrieve the JavaBeansPropertyDescriptors
for the given property.AbstractNestablePropertyAccessor.getPropertyHandler
(String propertyName) Return theAbstractNestablePropertyAccessor.PropertyHandler
for the specifiedpropertyName
, navigating if necessary.PropertyAccessException.getPropertyName()
Return the name of the affected property, if available.TypeMismatchException.getPropertyName()
Return the name of the affected property, if available.Class<?>
AbstractNestablePropertyAccessor.getPropertyType
(String propertyName) Class<?>
AbstractNestablePropertyAccessor.PropertyHandler.getPropertyType()
Class<?>
AbstractPropertyAccessor.getPropertyType
(String propertyPath) Class<?>
PropertyAccessor.getPropertyType
(String propertyName) Determine the property type for the specified property, either checking the property descriptor or checking the value in case of an indexed or mapped element.protected Class<?>
PropertyEditorRegistrySupport.getPropertyType
(String propertyPath) Determine the property type for the given property path.AbstractNestablePropertyAccessor.getPropertyTypeDescriptor
(String propertyName) PropertyAccessor.getPropertyTypeDescriptor
(String propertyName) Return a type descriptor for the specified property: preferably from the read method, falling back to the write method.AbstractNestablePropertyAccessor.getPropertyValue
(String propertyName) protected Object
AbstractNestablePropertyAccessor.getPropertyValue
(AbstractNestablePropertyAccessor.PropertyTokenHolder tokens) abstract Object
AbstractPropertyAccessor.getPropertyValue
(String propertyName) Actually get the value of a property.MutablePropertyValues.getPropertyValue
(String propertyName) PropertyAccessor.getPropertyValue
(String propertyName) Get the current value of the specified property.PropertyValues.getPropertyValue
(String propertyName) Return the property value with the given name, if any.Class<?>
TypeMismatchException.getRequiredType()
Return the required target type, if any.BeanMetadataAttribute.getSource()
BeanMetadataAttributeAccessor.getSource()
default Object
BeanMetadataElement.getSource()
Return the configuration sourceObject
for this metadata element (may benull
).abstract Object
AbstractNestablePropertyAccessor.PropertyHandler.getValue()
BeanMetadataAttribute.getValue()
Return the value of the attribute.PropertyAccessException.getValue()
Return the affected value that was about to be set, if any.PropertyValue.getValue()
Return the value of the property.TypeMismatchException.getValue()
Return the offending value (may benull
).protected Class<?>
PropertyEditorRegistrySupport.guessPropertyTypeFromEditors
(String propertyName) Guess the property type of the specified property from the registered custom editors (provided that they were registered for a specific type).abstract TypeDescriptor
AbstractNestablePropertyAccessor.PropertyHandler.nested
(int level) BeanMetadataAttributeAccessor.removeAttribute
(String name) static Method
BeanUtils.resolveSignature
(String signature, Class<?> clazz) Parse a method signature in the formmethodName[([arg_list])]
, wherearg_list
is an optional, comma-separated list of fully-qualified type names, and attempts to resolve that signature against the suppliedClass
.Modifier and TypeMethodDescriptionstatic void
CachedIntrospectionResults.acceptClassLoader
(ClassLoader classLoader) Accept the given ClassLoader as cache-safe, even if its classes would not qualify as cache-safe in this CachedIntrospectionResults class.Add a PropertyValue object, replacing any existing one for the corresponding property or getting merged with it (if applicable).MutablePropertyValues.addPropertyValues
(Map<?, ?> other) Add all property values from the given Map.MutablePropertyValues.addPropertyValues
(PropertyValues other) Copy all given PropertyValues into this object.static String
PropertyAccessorUtils.canonicalPropertyName
(String propertyName) Determine the canonical name for the given property path.static String[]
PropertyAccessorUtils.canonicalPropertyNames
(String[] propertyNames) Determine the canonical names for the given property paths.static void
CachedIntrospectionResults.clearClassLoader
(ClassLoader classLoader) Clear the introspection cache for the given ClassLoader, removing the introspection results for all classes underneath that ClassLoader, and removing the ClassLoader (and its children) from the acceptance list.boolean
protected Object
AbstractNestablePropertyAccessor.convertForProperty
(String propertyName, Object oldValue, Object newValue, TypeDescriptor td) protected Object
AbstractNestablePropertyAccessor.convertForProperty
(String propertyName, Object oldValue, Object newValue, TypeDescriptor td) BeanWrapperImpl.convertForProperty
(Object value, String propertyName) Convert the given value for the specified property to the latter's type.<T> T
TypeConverter.convertIfNecessary
(Object value, Class<T> requiredType) Convert the value to the required type (if necessary from a String).<T> T
TypeConverter.convertIfNecessary
(Object value, Class<T> requiredType) Convert the value to the required type (if necessary from a String).<T> T
TypeConverter.convertIfNecessary
(Object value, Class<T> requiredType, Field field) Convert the value to the required type (if necessary from a String).<T> T
TypeConverter.convertIfNecessary
(Object value, Class<T> requiredType, Field field) Convert the value to the required type (if necessary from a String).<T> T
TypeConverter.convertIfNecessary
(Object value, Class<T> requiredType, Field field) Convert the value to the required type (if necessary from a String).default <T> T
TypeConverter.convertIfNecessary
(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) Convert the value to the required type (if necessary from a String).default <T> T
TypeConverter.convertIfNecessary
(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) Convert the value to the required type (if necessary from a String).default <T> T
TypeConverter.convertIfNecessary
(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) Convert the value to the required type (if necessary from a String).<T> T
TypeConverter.convertIfNecessary
(Object value, Class<T> requiredType, MethodParameter methodParam) Convert the value to the required type (if necessary from a String).<T> T
TypeConverter.convertIfNecessary
(Object value, Class<T> requiredType, MethodParameter methodParam) Convert the value to the required type (if necessary from a String).<T> T
TypeConverter.convertIfNecessary
(Object value, Class<T> requiredType, MethodParameter methodParam) Convert the value to the required type (if necessary from a String).<T> T
TypeConverterSupport.convertIfNecessary
(Object value, Class<T> requiredType) <T> T
TypeConverterSupport.convertIfNecessary
(Object value, Class<T> requiredType) <T> T
TypeConverterSupport.convertIfNecessary
(Object value, Class<T> requiredType, Field field) <T> T
TypeConverterSupport.convertIfNecessary
(Object value, Class<T> requiredType, Field field) <T> T
TypeConverterSupport.convertIfNecessary
(Object value, Class<T> requiredType, Field field) <T> T
TypeConverterSupport.convertIfNecessary
(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> T
TypeConverterSupport.convertIfNecessary
(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> T
TypeConverterSupport.convertIfNecessary
(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> T
TypeConverterSupport.convertIfNecessary
(Object value, Class<T> requiredType, MethodParameter methodParam) <T> T
TypeConverterSupport.convertIfNecessary
(Object value, Class<T> requiredType, MethodParameter methodParam) <T> T
TypeConverterSupport.convertIfNecessary
(Object value, Class<T> requiredType, MethodParameter methodParam) protected void
PropertyEditorRegistrySupport.copyCustomEditorsTo
(PropertyEditorRegistry target, String nestedProperty) Copy the custom editors registered in this instance to the given target registry.boolean
boolean
boolean
PropertyEditorRegistry.findCustomEditor
(Class<?> requiredType, String propertyPath) Find a custom property editor for the given type and property.PropertyEditorRegistry.findCustomEditor
(Class<?> requiredType, String propertyPath) Find a custom property editor for the given type and property.PropertyEditorRegistrySupport.findCustomEditor
(Class<?> requiredType, String propertyPath) PropertyEditorRegistrySupport.findCustomEditor
(Class<?> requiredType, String propertyPath) static PropertyEditor
BeanUtils.findEditorByConvention
(Class<?> targetType) Find a JavaBeans PropertyEditor following the 'Editor' suffix convention (e.g.static Class<?>
BeanUtils.findPropertyType
(String propertyName, Class<?>... beanClasses) Determine the bean property type for the given property from the given classes/interfaces, if possible.boolean
PropertyEditorRegistrySupport.hasCustomEditorForElement
(Class<?> elementType, String propertyPath) Determine whether this registry contains a custom editor for the specified array/collection element.boolean
PropertyEditorRegistrySupport.hasCustomEditorForElement
(Class<?> elementType, String propertyPath) Determine whether this registry contains a custom editor for the specified array/collection element.static boolean
PropertyAccessorUtils.isNestedOrIndexedProperty
(String propertyPath) Check whether the given property path indicates an indexed or nested property.Merge the current value set with that of the supplied object.void
PropertyEditorRegistry.registerCustomEditor
(Class<?> requiredType, String propertyPath, PropertyEditor propertyEditor) Register the given custom property editor for the given type and property, or for all properties of the given type.void
PropertyEditorRegistry.registerCustomEditor
(Class<?> requiredType, String propertyPath, PropertyEditor propertyEditor) Register the given custom property editor for the given type and property, or for all properties of the given type.void
PropertyEditorRegistrySupport.registerCustomEditor
(Class<?> requiredType, String propertyPath, PropertyEditor propertyEditor) void
PropertyEditorRegistrySupport.registerCustomEditor
(Class<?> requiredType, String propertyPath, PropertyEditor propertyEditor) void
BeanMetadataAttributeAccessor.setAttribute
(String name, Object value) void
ConfigurablePropertyAccessor.setConversionService
(ConversionService conversionService) Specify aConversionService
to use for converting property values, as an alternative to JavaBeans PropertyEditors.void
PropertyEditorRegistrySupport.setConversionService
(ConversionService conversionService) Specify aConversionService
to use for converting property values, as an alternative to JavaBeans PropertyEditors.void
PropertyValue.setConvertedValue
(Object value) Set the converted value of this property value, after processed type conversion.void
AbstractNestablePropertyAccessor.setPropertyValue
(String propertyName, Object value) abstract void
AbstractPropertyAccessor.setPropertyValue
(String propertyName, Object value) Actually set a property value.void
PropertyAccessor.setPropertyValue
(String propertyName, Object value) Set the specified value as current property value.void
Set the configuration sourceObject
for this metadata element.void
Set the configuration sourceObject
for this metadata element.abstract void
boolean
AbstractNestablePropertyAccessor.PropertyHandler.setValueFallbackIfPossible
(Object value) void
AbstractNestablePropertyAccessor.setWrappedInstance
(Object object, String nestedPath, Object rootObject) Switch the target object, replacing the cached introspection results only if the class of the new object is different to that of the replaced object.void
AbstractNestablePropertyAccessor.setWrappedInstance
(Object object, String nestedPath, Object rootObject) Switch the target object, replacing the cached introspection results only if the class of the new object is different to that of the replaced object.void
BeanWrapperImpl.setWrappedInstance
(Object object, String nestedPath, Object rootObject) void
BeanWrapperImpl.setWrappedInstance
(Object object, String nestedPath, Object rootObject) ModifierConstructorDescriptionBeanInstantiationException
(Class<?> beanClass, String msg, Throwable cause) Create a new BeanInstantiationException.BeanInstantiationException
(Constructor<?> constructor, String msg, Throwable cause) Create a new BeanInstantiationException.BeanInstantiationException
(Constructor<?> constructor, String msg, Throwable cause) Create a new BeanInstantiationException.BeanInstantiationException
(Method constructingMethod, String msg, Throwable cause) Create a new BeanInstantiationException.BeanInstantiationException
(Method constructingMethod, String msg, Throwable cause) Create a new BeanInstantiationException.BeanMetadataAttribute
(String name, Object value) Create a new AttributeValue instance.BeansException
(String msg, Throwable cause) Create a new BeansException with the specified message and root cause.BeansException
(String msg, Throwable cause) Create a new BeansException with the specified message and root cause.ConversionNotSupportedException
(PropertyChangeEvent propertyChangeEvent, Class<?> requiredType, Throwable cause) Create a new ConversionNotSupportedException.ConversionNotSupportedException
(PropertyChangeEvent propertyChangeEvent, Class<?> requiredType, Throwable cause) Create a new ConversionNotSupportedException.ConversionNotSupportedException
(Object value, Class<?> requiredType, Throwable cause) Create a new ConversionNotSupportedException.ConversionNotSupportedException
(Object value, Class<?> requiredType, Throwable cause) Create a new ConversionNotSupportedException.ConversionNotSupportedException
(Object value, Class<?> requiredType, Throwable cause) Create a new ConversionNotSupportedException.FatalBeanException
(String msg, Throwable cause) Create a new FatalBeanException with the specified message and root cause.InvalidPropertyException
(Class<?> beanClass, String propertyName, String msg, Throwable cause) Create a new InvalidPropertyException.MethodInvocationException
(PropertyChangeEvent propertyChangeEvent, Throwable cause) Create a new MethodInvocationException.MutablePropertyValues
(List<PropertyValue> propertyValueList) Construct a new MutablePropertyValues object using the given List of PropertyValue objects as-is.MutablePropertyValues
(Map<?, ?> original) Construct a new MutablePropertyValues object from a Map.MutablePropertyValues
(PropertyValues original) Deep copy constructor.PropertyAccessException
(PropertyChangeEvent propertyChangeEvent, String msg, Throwable cause) Create a new PropertyAccessException.PropertyAccessException
(String msg, Throwable cause) Create a new PropertyAccessException without PropertyChangeEvent.PropertyHandler
(Class<?> propertyType, boolean readable, boolean writable) PropertyValue
(String name, Object value) Create a new PropertyValue instance.PropertyValue
(PropertyValue original, Object newValue) Constructor that exposes a new value for an original value holder.TypeMismatchException
(PropertyChangeEvent propertyChangeEvent, Class<?> requiredType, Throwable cause) Create a newTypeMismatchException
.TypeMismatchException
(PropertyChangeEvent propertyChangeEvent, Class<?> requiredType, Throwable cause) Create a newTypeMismatchException
.TypeMismatchException
(Object value, Class<?> requiredType) Create a newTypeMismatchException
without aPropertyChangeEvent
.TypeMismatchException
(Object value, Class<?> requiredType) Create a newTypeMismatchException
without aPropertyChangeEvent
.TypeMismatchException
(Object value, Class<?> requiredType, Throwable cause) Create a newTypeMismatchException
without aPropertyChangeEvent
.TypeMismatchException
(Object value, Class<?> requiredType, Throwable cause) Create a newTypeMismatchException
without aPropertyChangeEvent
.TypeMismatchException
(Object value, Class<?> requiredType, Throwable cause) Create a newTypeMismatchException
without aPropertyChangeEvent
. -
Uses of Nullable in org.springframework.beans.factory
Modifier and TypeFieldDescriptionprotected Field
InjectionPoint.field
protected MethodParameter
InjectionPoint.methodParameter
Modifier and TypeMethodDescription<A extends Annotation>
AListableBeanFactory.findAnnotationOnBean
(String beanName, Class<A> annotationType) Find anAnnotation
ofannotationType
on the specified bean, traversing its interfaces and superclasses if no annotation can be found on the given class itself, as well as checking the bean's factory method (if any).<A extends Annotation>
AListableBeanFactory.findAnnotationOnBean
(String beanName, Class<A> annotationType, boolean allowFactoryBeanInit) Find anAnnotation
ofannotationType
on the specified bean, traversing its interfaces and superclasses if no annotation can be found on the given class itself, as well as checking the bean's factory method (if any).<A extends Annotation>
AInjectionPoint.getAnnotation
(Class<A> annotationType) Retrieve a field/parameter annotation of the given type, if any.CannotLoadBeanClassException.getBeanClassName()
Return the name of the class we were trying to load.BeanCreationException.getBeanName()
Return the name of the bean requested, if any.BeanDefinitionStoreException.getBeanName()
Return the name of the bean, if available.NoSuchBeanDefinitionException.getBeanName()
Return the name of the missing bean, if it was a lookup by name that failed.NoUniqueBeanDefinitionException.getBeanNamesFound()
Return the names of all beans found when only one matching bean was expected.Class<?>
NoSuchBeanDefinitionException.getBeanType()
Return the required type of the missing bean, if it was a lookup by type that failed.InjectionPoint.getField()
Return the wrapped Field, if any.ObjectProvider.getIfAvailable()
Return an instance (possibly shared or independent) of the object managed by this factory.ObjectProvider.getIfUnique()
Return an instance (possibly shared or independent) of the object managed by this factory.UnsatisfiedDependencyException.getInjectionPoint()
Return the injection point (field or method/constructor parameter), if known.InjectionPoint.getMethodParameter()
Return the wrapped MethodParameter, if any.FactoryBean.getObject()
Return an instance (possibly shared or independent) of the object managed by this factory.Class<?>
FactoryBean.getObjectType()
Return the type of object that this FactoryBean creates, ornull
if not known in advance.HierarchicalBeanFactory.getParentBeanFactory()
Return the parent bean factory, ornull
if there is none.BeanCreationException.getRelatedCauses()
Return the related causes, if any.NoSuchBeanDefinitionException.getResolvableType()
Return the requiredResolvableType
of the missing bean, if it was a lookup by type that failed.BeanCreationException.getResourceDescription()
Return the description of the resource that the bean definition came from, if any.BeanDefinitionStoreException.getResourceDescription()
Return the description of the resource that the bean definition came from, if available.CannotLoadBeanClassException.getResourceDescription()
Return the description of the resource that the bean definition came from.Class<?>
Determine the type of the bean with the given name.Class<?>
Determine the type of the bean with the given name.Modifier and TypeMethodDescriptionboolean
boolean
String[]
ListableBeanFactory.getBeanNamesForType
(Class<?> type) Return the names of beans matching the given type (including subclasses), judging from either bean definitions or the value ofgetObjectType
in the case of FactoryBeans.String[]
ListableBeanFactory.getBeanNamesForType
(Class<?> type, boolean includeNonSingletons, boolean allowEagerInit) Return the names of beans matching the given type (including subclasses), judging from either bean definitions or the value ofgetObjectType
in the case of FactoryBeans.ListableBeanFactory.getBeansOfType
(Class<T> type) Return the bean instances that match the given object type (including subclasses), judging from either bean definitions or the value ofgetObjectType
in the case of FactoryBeans.ListableBeanFactory.getBeansOfType
(Class<T> type, boolean includeNonSingletons, boolean allowEagerInit) Return the bean instances that match the given object type (including subclasses), judging from either bean definitions or the value ofgetObjectType
in the case of FactoryBeans.static boolean
BeanFactoryUtils.isFactoryDereference
(String name) Return whether the given name is a factory dereference (beginning with the factory dereference prefix).static boolean
BeanFactoryUtils.isGeneratedBeanName
(String name) Return whether the given name is a bean name which has been generated by the default naming strategy (containing a "#..." part).ModifierConstructorDescriptionBeanCreationException
(String resourceDescription, String beanName, String msg) Create a new BeanCreationException.BeanCreationException
(String resourceDescription, String beanName, String msg) Create a new BeanCreationException.BeanCreationException
(String resourceDescription, String beanName, String msg) Create a new BeanCreationException.BeanCreationException
(String resourceDescription, String beanName, String msg, Throwable cause) Create a new BeanCreationException.BeanCreationException
(String resourceDescription, String beanName, String msg, Throwable cause) Create a new BeanCreationException.BeanDefinitionStoreException
(String resourceDescription, String msg) Create a new BeanDefinitionStoreException.BeanDefinitionStoreException
(String resourceDescription, String beanName, String msg) Create a new BeanDefinitionStoreException.BeanDefinitionStoreException
(String resourceDescription, String beanName, String msg, Throwable cause) Create a new BeanDefinitionStoreException.BeanDefinitionStoreException
(String resourceDescription, String beanName, String msg, Throwable cause) Create a new BeanDefinitionStoreException.BeanDefinitionStoreException
(String resourceDescription, String msg, Throwable cause) Create a new BeanDefinitionStoreException.BeanDefinitionStoreException
(String resourceDescription, String msg, Throwable cause) Create a new BeanDefinitionStoreException.BeanDefinitionStoreException
(String msg, Throwable cause) Create a new BeanDefinitionStoreException.CannotLoadBeanClassException
(String resourceDescription, String beanName, String beanClassName, ClassNotFoundException cause) Create a new CannotLoadBeanClassException.CannotLoadBeanClassException
(String resourceDescription, String beanName, String beanClassName, ClassNotFoundException cause) Create a new CannotLoadBeanClassException.CannotLoadBeanClassException
(String resourceDescription, String beanName, String beanClassName, LinkageError cause) Create a new CannotLoadBeanClassException.CannotLoadBeanClassException
(String resourceDescription, String beanName, String beanClassName, LinkageError cause) Create a new CannotLoadBeanClassException.UnsatisfiedDependencyException
(String resourceDescription, String beanName, String propertyName, String msg) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException
(String resourceDescription, String beanName, String propertyName, String msg) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException
(String resourceDescription, String beanName, String propertyName, String msg) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException
(String resourceDescription, String beanName, String propertyName, BeansException ex) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException
(String resourceDescription, String beanName, String propertyName, BeansException ex) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException
(String resourceDescription, String beanName, InjectionPoint injectionPoint, String msg) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException
(String resourceDescription, String beanName, InjectionPoint injectionPoint, String msg) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException
(String resourceDescription, String beanName, InjectionPoint injectionPoint, String msg) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException
(String resourceDescription, String beanName, InjectionPoint injectionPoint, String msg) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException
(String resourceDescription, String beanName, InjectionPoint injectionPoint, BeansException ex) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException
(String resourceDescription, String beanName, InjectionPoint injectionPoint, BeansException ex) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException
(String resourceDescription, String beanName, InjectionPoint injectionPoint, BeansException ex) Create a new UnsatisfiedDependencyException. -
Uses of Nullable in org.springframework.beans.factory.annotation
Modifier and TypeFieldDescriptionprotected final PropertyDescriptor
InjectionMetadata.InjectedElement.pd
protected Boolean
InjectionMetadata.InjectedElement.skip
Modifier and TypeMethodDescriptionConstructor<?>[]
AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors
(Class<?> beanClass, String beanName) protected Object
QualifierAnnotationAutowireCandidateResolver.findValue
(Annotation[] annotationsToSearch) Determine a suggested value from any of the given candidate annotations.protected Annotation
QualifierAnnotationAutowireCandidateResolver.getFactoryMethodAnnotation
(RootBeanDefinition bd, Class<? extends Annotation> type) AnnotatedBeanDefinition.getFactoryMethodMetadata()
Obtain metadata for this bean definition's factory method, if any.final MethodMetadata
AnnotatedGenericBeanDefinition.getFactoryMethodMetadata()
protected Annotation
QualifierAnnotationAutowireCandidateResolver.getQualifiedElementAnnotation
(RootBeanDefinition bd, Class<? extends Annotation> type) protected Object
InjectionMetadata.InjectedElement.getResourceToInject
(Object target, String requestingBeanName) Either this orInjectionMetadata.InjectedElement.inject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues)
needs to be overridden.QualifierAnnotationAutowireCandidateResolver.getSuggestedValue
(DependencyDescriptor descriptor) Determine whether the given dependency declares a value annotation.AutowiredAnnotationBeanPostProcessor.processAheadOfTime
(RegisteredBean registeredBean) InitDestroyAnnotationBeanPostProcessor.processAheadOfTime
(RegisteredBean registeredBean) static Object
ParameterResolutionDelegate.resolveDependency
(Parameter parameter, int parameterIndex, Class<?> containingClass, AutowireCapableBeanFactory beanFactory) Resolve the dependency for the suppliedParameter
from the suppliedAutowireCapableBeanFactory
.AnnotationBeanWiringInfoResolver.resolveWiringInfo
(Object beanInstance) Modifier and TypeMethodDescriptionvoid
InitDestroyAnnotationBeanPostProcessor.addDestroyAnnotationType
(Class<? extends Annotation> destroyAnnotationType) Add a destroy annotation to check for, indicating destruction methods to call when the context is shutting down.void
InitDestroyAnnotationBeanPostProcessor.addInitAnnotationType
(Class<? extends Annotation> initAnnotationType) Add an init annotation to check for, indicating initialization methods to call after configuration of a bean.protected boolean
InjectionMetadata.InjectedElement.checkPropertySkipping
(PropertyValues pvs) Check whether this injector's property needs to be skipped due to an explicit property value having been specified.void
InjectionMetadata.clear
(PropertyValues pvs) Clear property skipping for the contained elements.protected void
InjectionMetadata.InjectedElement.clearPropertySkipping
(PropertyValues pvs) Clear property skipping for this element.boolean
InjectionMetadata.getInjectedElements
(PropertyValues pvs) Return theelements
to inject based on the specifiedPropertyValues
.protected Object
InjectionMetadata.InjectedElement.getResourceToInject
(Object target, String requestingBeanName) Either this orInjectionMetadata.InjectedElement.inject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues)
needs to be overridden.void
InjectionMetadata.inject
(Object target, String beanName, PropertyValues pvs) void
InjectionMetadata.inject
(Object target, String beanName, PropertyValues pvs) protected void
InjectionMetadata.InjectedElement.inject
(Object target, String requestingBeanName, PropertyValues pvs) Either this orInjectionMetadata.InjectedElement.getResourceToInject(java.lang.Object, java.lang.String)
needs to be overridden.protected void
InjectionMetadata.InjectedElement.inject
(Object target, String requestingBeanName, PropertyValues pvs) Either this orInjectionMetadata.InjectedElement.getResourceToInject(java.lang.Object, java.lang.String)
needs to be overridden.static boolean
BeanFactoryAnnotationUtils.isQualifierMatch
(Predicate<String> qualifier, String beanName, BeanFactory beanFactory) Check whether the named bean declares a qualifier of the given name.static boolean
InjectionMetadata.needsRefresh
(InjectionMetadata metadata, Class<?> clazz) Check whether the given injection metadata needs to be refreshed.void
CustomAutowireConfigurer.setBeanClassLoader
(ClassLoader beanClassLoader) protected boolean
InjectionMetadata.InjectedElement.shouldInject
(PropertyValues pvs) Whether the property values should be injected. -
Uses of Nullable in org.springframework.beans.factory.aot
Modifier and TypeMethodDescriptionBeanRegistrationAotContribution.concat
(BeanRegistrationAotContribution a, BeanRegistrationAotContribution b) Create a contribution that applies the contribution of the first contribution followed by the second contribution.AotServices.findByBeanName
(String beanName) Find the AOT service that was loaded for the given bean name.default <T> T
AutowiredArguments.get
(int index) Return the resolved argument at the specified index.default <T> T
Return the resolved argument at the specified index.BeanInstanceSupplier.getFactoryMethod()
default Object
AutowiredArguments.getObject
(int index) Return the resolved argument at the specified index.BeanFactoryInitializationAotProcessor.processAheadOfTime
(ConfigurableListableBeanFactory beanFactory) Process the givenConfigurableListableBeanFactory
instance ahead-of-time and return a contribution ornull
.BeanRegistrationAotProcessor.processAheadOfTime
(RegisteredBean registeredBean) Process the givenRegisteredBean
instance ahead-of-time and return a contribution ornull
.<T> T
AutowiredFieldValueResolver.resolve
(RegisteredBean registeredBean) Resolve the field value for the specified registered bean.<T> T
AutowiredFieldValueResolver.resolve
(RegisteredBean registeredBean, Class<T> requiredType) Resolve the field value for the specified registered bean.AutowiredMethodArgumentsResolver.resolve
(RegisteredBean registeredBean) Resolve the method arguments for the specified registered bean.AutowiredFieldValueResolver.resolveObject
(RegisteredBean registeredBean) Resolve the field value for the specified registered bean.Modifier and TypeMethodDescriptionBeanRegistrationAotContribution.concat
(BeanRegistrationAotContribution a, BeanRegistrationAotContribution b) Create a contribution that applies the contribution of the first contribution followed by the second contribution.BeanRegistrationAotContribution.concat
(BeanRegistrationAotContribution a, BeanRegistrationAotContribution b) Create a contribution that applies the contribution of the first contribution followed by the second contribution.static AotServices.Loader
AotServices.factories
(ClassLoader classLoader) Create a newAotServices.Loader
that will obtain AOT services from "META-INF/spring/aot.factories". -
Uses of Nullable in org.springframework.beans.factory.config
Modifier and TypeFieldDescriptionprotected String
PlaceholderConfigurerSupport.nullValue
protected String
PlaceholderConfigurerSupport.valueSeparator
Defaults to ":".Modifier and TypeMethodDescriptiondefault Constructor<?>[]
SmartInstantiationAwareBeanPostProcessor.determineCandidateConstructors
(Class<?> beanClass, String beanName) Determine the candidate constructors to use for the given bean.BeanExpressionResolver.evaluate
(String value, BeanExpressionContext beanExpressionContext) Evaluate the given value as an expression, if applicable; return the value as-is otherwise.String[]
BeanDefinitionHolder.getAliases()
Return the alias names for the bean, as specified directly for the bean definition.ConstructorArgumentValues.getArgumentValue
(int index, Class<?> requiredType) Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.ConstructorArgumentValues.getArgumentValue
(int index, Class<?> requiredType, String requiredName) Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.ConstructorArgumentValues.getArgumentValue
(int index, Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.ConfigurableBeanFactory.getBeanClassLoader()
Return this factory's class loader for loading bean classes (onlynull
if even the system ClassLoader isn't accessible).BeanDefinition.getBeanClassName()
Return the current bean class name of this bean definition.ConfigurableBeanFactory.getBeanExpressionResolver()
Return the resolution strategy for expressions in bean definition values.protected BeanFactory
AbstractFactoryBean.getBeanFactory()
Return the BeanFactory that this bean runs in.Class<?>
RuntimeBeanReference.getBeanType()
Return the requested bean type if resolution by type is demanded.Scope.getConversationId()
Return the conversation ID for the current underlying scope, if any.ConfigurableBeanFactory.getConversionService()
Return the associated ConversionService, if any.ConstructorArgumentValues.ValueHolder.getConvertedValue()
Return the converted value of the constructor argument, after processed type conversion.DependencyDescriptor.getDependencyName()
Determine the name of the wrapped parameter/field.String[]
BeanDefinition.getDependsOn()
Return the bean names that this bean depends on.BeanDefinition.getDescription()
Return a human-readable description of this bean definition.BeanDefinition.getDestroyMethodName()
Return the name of the destroy method.protected Class<?>[]
AbstractFactoryBean.getEarlySingletonInterfaces()
Return an array of interfaces that a singleton object exposed by this FactoryBean is supposed to implement, for use with an 'early singleton proxy' that will be exposed in case of a circular reference.BeanDefinition.getFactoryBeanName()
Return the factory bean name, if any.BeanDefinition.getFactoryMethodName()
Return a factory method, if any.ConstructorArgumentValues.getGenericArgumentValue
(Class<?> requiredType) Look for a generic argument value that matches the given type.ConstructorArgumentValues.getGenericArgumentValue
(Class<?> requiredType, String requiredName) Look for a generic argument value that matches the given type.ConstructorArgumentValues.getGenericArgumentValue
(Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for the next generic argument value that matches the given type, ignoring argument values that have already been used in the current resolution process.ConstructorArgumentValues.getIndexedArgumentValue
(int index, Class<?> requiredType) Get argument value for the given index in the constructor argument list.ConstructorArgumentValues.getIndexedArgumentValue
(int index, Class<?> requiredType, String requiredName) Get argument value for the given index in the constructor argument list.BeanDefinition.getInitMethodName()
Return the name of the initializer method.ConstructorArgumentValues.ValueHolder.getName()
Return the name of the constructor argument.FieldRetrievingFactoryBean.getObject()
MethodInvokingFactoryBean.getObject()
Returns the same value each time if the singleton property is set to "true", otherwise returns the value returned from invoking the specified method on the fly.final Properties
PropertiesFactoryBean.getObject()
PropertyPathFactoryBean.getObject()
ServiceLocatorFactoryBean.getObject()
YamlMapFactoryBean.getObject()
YamlPropertiesFactoryBean.getObject()
abstract Class<?>
AbstractFactoryBean.getObjectType()
This abstract method declaration mirrors the method in the FactoryBean interface, for a consistent offering of abstract template methods.Class<?>
FieldRetrievingFactoryBean.getObjectType()
Class<?>
MethodInvokingFactoryBean.getObjectType()
Return the type of object that this FactoryBean creates, ornull
if not known in advance.Class<?>
PropertyPathFactoryBean.getObjectType()
Class<?>
ServiceLocatorFactoryBean.getObjectType()
BeanDefinition.getOriginatingBeanDefinition()
Return the originating BeanDefinition, ornull
if none.BeanDefinition.getParentName()
Return the name of the parent definition of this bean definition, if any.ConfigurableBeanFactory.getRegisteredScope
(String scopeName) Return the Scope implementation for the given scope name, if any.BeanDefinition.getResourceDescription()
Return a description of the resource that this bean definition came from (for the purpose of showing context in case of errors).BeanDefinition.getScope()
Return the name of the current target scope for this bean, ornull
if not known yet.final Scope
BeanExpressionContext.getScope()
SingletonBeanRegistry.getSingleton
(String beanName) Return the (raw) singleton object registered under the given name.BeanDefinitionHolder.getSource()
Expose the bean definition's source object.ConstructorArgumentValues.ValueHolder.getSource()
RuntimeBeanNameReference.getSource()
RuntimeBeanReference.getSource()
TypedStringValue.getSource()
TypedStringValue.getSpecifiedTypeName()
Return the type name as actually specified for this particular value, if any.Class<?>
FieldRetrievingFactoryBean.getTargetClass()
Return the target class on which the field is defined.FieldRetrievingFactoryBean.getTargetField()
Return the name of the field to be retrieved.FieldRetrievingFactoryBean.getTargetObject()
Return the target object on which the field is defined.TypedStringValue.getTargetTypeName()
Return the type to convert to.ConfigurableBeanFactory.getTempClassLoader()
Return the temporary ClassLoader to use for type matching purposes, if any.ConstructorArgumentValues.ValueHolder.getType()
Return the type of the constructor argument.ConstructorArgumentValues.ValueHolder.getValue()
Return the value for the constructor argument.TypedStringValue.getValue()
Return the String value.protected Object
MethodInvokingBean.invokeWithTargetException()
Perform the invocation and convert InvocationTargetException into the underlying target exception.default Object
BeanPostProcessor.postProcessAfterInitialization
(Object bean, String beanName) Apply thisBeanPostProcessor
to the given new bean instance after any bean initialization callbacks (like InitializingBean'safterPropertiesSet
or a custom init-method).default Object
BeanPostProcessor.postProcessBeforeInitialization
(Object bean, String beanName) Apply thisBeanPostProcessor
to the given new bean instance before any bean initialization callbacks (like InitializingBean'safterPropertiesSet
or a custom init-method).default Object
InstantiationAwareBeanPostProcessor.postProcessBeforeInstantiation
(Class<?> beanClass, String beanName) Apply this BeanPostProcessor before the target bean gets instantiated.default PropertyValues
InstantiationAwareBeanPostProcessor.postProcessProperties
(PropertyValues pvs, Object bean, String beanName) Post-process the given property values before the factory applies them to the given bean.default Class<?>
SmartInstantiationAwareBeanPostProcessor.predictBeanType
(Class<?> beanClass, String beanName) Predict the type of the bean to be eventually returned from this processor'sInstantiationAwareBeanPostProcessor.postProcessBeforeInstantiation(java.lang.Class<?>, java.lang.String)
callback.Remove the object with the givenname
from the underlying scope.Scope.resolveContextualObject
(String key) Resolve the contextual object for the given key, if any.AutowireCapableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName) Resolve the specified dependency against the beans defined in this factory.AutowireCapableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) Resolve the specified dependency against the beans defined in this factory.ConfigurableBeanFactory.resolveEmbeddedValue
(String value) Resolve the given embedded value, e.g.DependencyDescriptor.resolveNotUnique
(ResolvableType type, Map<String, Object> matchingBeans) Resolve the specified not-unique scenario: by default, throwing aNoUniqueBeanDefinitionException
.protected String
PreferencesPlaceholderConfigurer.resolvePlaceholder
(String path, String key, Preferences preferences) Deprecated.Resolve the given path and key against the given Preferences.protected String
PropertyPlaceholderConfigurer.resolvePlaceholder
(String placeholder, Properties props) Deprecated.Resolve the given placeholder using the given properties.protected String
PropertyPlaceholderConfigurer.resolvePlaceholder
(String placeholder, Properties props, int systemPropertiesMode) Deprecated.Resolve the given placeholder using the given properties, performing a system properties check according to the given mode.DependencyDescriptor.resolveShortcut
(BeanFactory beanFactory) Resolve a shortcut for this dependency against the given factory, for example taking some pre-resolved information into account.protected String
BeanDefinitionVisitor.resolveStringValue
(String strVal) Resolve the given String value, for example parsing placeholders.EmbeddedValueResolver.resolveStringValue
(String strVal) protected String
PropertyPlaceholderConfigurer.resolveSystemProperty
(String key) Deprecated.Resolve the given key as JVM system property, and optionally also as system environment variable if no matching system property has been found.Class<?>
TypedStringValue.resolveTargetType
(ClassLoader classLoader) Determine the type to convert to, resolving it from a specified class name if necessary.protected Object
BeanDefinitionVisitor.resolveValue
(Object value) Modifier and TypeMethodDescriptionvoid
ConstructorArgumentValues.addArgumentValues
(ConstructorArgumentValues other) Copy all given argument values into this object, using separate holder instances to keep the values independent of the original object.void
ConstructorArgumentValues.addGenericArgumentValue
(Object value) Add a generic argument value to be matched by type.void
ConstructorArgumentValues.addIndexedArgumentValue
(int index, Object value) Add an argument value for the given index in the constructor argument list.void
ConstructorArgumentValues.addIndexedArgumentValue
(int index, Object value, String type) Add an argument value for the given index in the constructor argument list.int
TypedStringValue.compareTo
(TypedStringValue o) protected void
AbstractFactoryBean.destroyInstance
(T instance) Callback for destroying a singleton instance.boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
BeanExpressionResolver.evaluate
(String value, BeanExpressionContext beanExpressionContext) Evaluate the given value as an expression, if applicable; return the value as-is otherwise.ConstructorArgumentValues.getArgumentValue
(int index, Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.ConstructorArgumentValues.getArgumentValue
(int index, Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.ConstructorArgumentValues.getArgumentValue
(int index, Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by type.ConstructorArgumentValues.getGenericArgumentValue
(Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for the next generic argument value that matches the given type, ignoring argument values that have already been used in the current resolution process.ConstructorArgumentValues.getGenericArgumentValue
(Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for the next generic argument value that matches the given type, ignoring argument values that have already been used in the current resolution process.ConstructorArgumentValues.getGenericArgumentValue
(Class<?> requiredType, String requiredName, Set<ConstructorArgumentValues.ValueHolder> usedValueHolders) Look for the next generic argument value that matches the given type, ignoring argument values that have already been used in the current resolution process.ConstructorArgumentValues.getIndexedArgumentValue
(int index, Class<?> requiredType) Get argument value for the given index in the constructor argument list.ConstructorArgumentValues.getIndexedArgumentValue
(int index, Class<?> requiredType, String requiredName) Get argument value for the given index in the constructor argument list.ConstructorArgumentValues.getIndexedArgumentValue
(int index, Class<?> requiredType, String requiredName) Get argument value for the given index in the constructor argument list.void
DependencyDescriptor.initParameterNameDiscovery
(ParameterNameDiscoverer parameterNameDiscoverer) Initialize parameter name discovery for the underlying method parameter, if any.boolean
BeanDefinitionHolder.matchesName
(String candidateName) Determine whether the given candidate name matches the bean name or the aliases stored in this bean definition.void
ConfigurableListableBeanFactory.registerResolvableDependency
(Class<?> dependencyType, Object autowiredValue) Register a special dependency type with corresponding autowired value.AutowireCapableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName) Resolve the specified dependency against the beans defined in this factory.AutowireCapableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) Resolve the specified dependency against the beans defined in this factory.AutowireCapableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) Resolve the specified dependency against the beans defined in this factory.AutowireCapableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) Resolve the specified dependency against the beans defined in this factory.protected String
PreferencesPlaceholderConfigurer.resolvePlaceholder
(String path, String key, Preferences preferences) Deprecated.Resolve the given path and key against the given Preferences.Class<?>
TypedStringValue.resolveTargetType
(ClassLoader classLoader) Determine the type to convert to, resolving it from a specified class name if necessary.protected Object
BeanDefinitionVisitor.resolveValue
(Object value) void
ConfigurableBeanFactory.setBeanClassLoader
(ClassLoader beanClassLoader) Set the class loader to use for loading bean classes.void
CustomScopeConfigurer.setBeanClassLoader
(ClassLoader beanClassLoader) void
BeanDefinition.setBeanClassName
(String beanClassName) Specify the bean class name of this bean definition.void
ConfigurableBeanFactory.setBeanExpressionResolver
(BeanExpressionResolver resolver) Specify the resolution strategy for expressions in bean definition values.void
AbstractFactoryBean.setBeanFactory
(BeanFactory beanFactory) void
ConfigurableBeanFactory.setConversionService
(ConversionService conversionService) Specify aConversionService
to use for converting property values, as an alternative to JavaBeans PropertyEditors.void
ConstructorArgumentValues.ValueHolder.setConvertedValue
(Object value) Set the converted value of the constructor argument, after processed type conversion.void
BeanDefinition.setDependsOn
(String... dependsOn) Set the names of the beans that this bean depends on being initialized.void
BeanDefinition.setDescription
(String description) Set a human-readable description of this bean definition.void
BeanDefinition.setDestroyMethodName
(String destroyMethodName) Set the name of the destroy method.void
BeanDefinition.setFactoryBeanName
(String factoryBeanName) Specify the factory bean to use, if any.void
BeanDefinition.setFactoryMethodName
(String factoryMethodName) Specify a factory method, if any.void
BeanDefinition.setInitMethodName
(String initMethodName) Set the name of the initializer method.void
Set the name of the constructor argument.void
BeanDefinition.setParentName
(String parentName) Set the name of the parent definition of this bean definition, if any.void
Override the target scope of this bean, specifying a new scope name.void
Set the configuration sourceObject
for this metadata element.void
Set the configuration sourceObject
for this metadata element.void
Set the configuration sourceObject
for this metadata element.void
Set the configuration sourceObject
for this metadata element.void
TypedStringValue.setSpecifiedTypeName
(String specifiedTypeName) Set the type name as actually specified for this particular value, if any.void
FieldRetrievingFactoryBean.setTargetClass
(Class<?> targetClass) Set the target class on which the field is defined.void
FieldRetrievingFactoryBean.setTargetField
(String targetField) Set the name of the field to be retrieved.void
ListFactoryBean.setTargetListClass
(Class<? extends List> targetListClass) Set the class to use for the target List.void
MapFactoryBean.setTargetMapClass
(Class<? extends Map> targetMapClass) Set the class to use for the target Map.void
FieldRetrievingFactoryBean.setTargetObject
(Object targetObject) Set the target object on which the field is defined.void
SetFactoryBean.setTargetSetClass
(Class<? extends Set> targetSetClass) Set the class to use for the target Set.void
TypedStringValue.setTargetTypeName
(String targetTypeName) Specify the type to convert to.void
ConfigurableBeanFactory.setTempClassLoader
(ClassLoader tempClassLoader) Specify a temporary ClassLoader to use for type matching purposes.void
Set the type of the constructor argument.void
Set the value for the constructor argument.void
Set the String value.void
PlaceholderConfigurerSupport.setValueSeparator
(String valueSeparator) Specify the separating character between the placeholder variable and the associated default value, ornull
if no such special character should be processed as a value separator.ModifierConstructorDescriptionBeanDefinitionHolder
(BeanDefinition beanDefinition, String beanName, String[] aliases) Create a new BeanDefinitionHolder.BeanExpressionContext
(ConfigurableBeanFactory beanFactory, Scope scope) TypedStringValue
(String value) Create a newTypedStringValue
for the given String value.TypedStringValue
(String value, Class<?> targetType) Create a newTypedStringValue
for the given String value and target type.TypedStringValue
(String value, String targetTypeName) Create a newTypedStringValue
for the given String value and target type.ValueHolder
(Object value) Create a new ValueHolder for the given value.ValueHolder
(Object value, String type) Create a new ValueHolder for the given value and type.ValueHolder
(Object value, String type) Create a new ValueHolder for the given value and type.ValueHolder
(Object value, String type, String name) Create a new ValueHolder for the given value, type and name.ValueHolder
(Object value, String type, String name) Create a new ValueHolder for the given value, type and name.ValueHolder
(Object value, String type, String name) Create a new ValueHolder for the given value, type and name. -
Uses of Nullable in org.springframework.beans.factory.groovy
Modifier and TypeMethodDescriptiongroovy.lang.Binding
GroovyBeanDefinitionReader.getBinding()
Return a specified binding for Groovy variables, if any.GroovyBeanDefinitionReader.getProperty
(String name) This method overrides property retrieval in the scope of theGroovyBeanDefinitionReader
. -
Uses of Nullable in org.springframework.beans.factory.parsing
Modifier and TypeMethodDescriptionNullSourceExtractor.extractSource
(Object sourceCandidate, Resource definitionResource) This implementation simply returnsnull
for any input.ReaderContext.extractSource
(Object sourceCandidate) Call the source extractor for the given source object.SourceExtractor.extractSource
(Object sourceCandidate, Resource definingResource) Extract the source metadata from the candidate object supplied by the configuration parser.final Resource[]
ImportDefinition.getActualResources()
Problem.getParseState()
Get theParseState
at the time of the error (may benull
).Problem.getRootCause()
Get the underlying exception that caused the error (may benull
).final Object
AliasDefinition.getSource()
CompositeComponentDefinition.getSource()
final Object
ImportDefinition.getSource()
Location.getSource()
Get the actual location within the associatedresource
(may benull
).ParseState.peek()
Return theParseState.Entry
currently at the top of theArrayDeque
ornull
if theArrayDeque
is empty.Modifier and TypeMethodDescriptionboolean
This implementation expects the other object to be of type BeanComponentDefinition as well, in addition to the superclass's equality requirements.void
Raise a regular error.void
Raise a regular error.void
Raise a regular error.void
ReaderContext.error
(String message, Object source, ParseState parseState) Raise a regular error.void
ReaderContext.error
(String message, Object source, ParseState parseState) Raise a regular error.void
ReaderContext.error
(String message, Object source, ParseState parseState, Throwable cause) Raise a regular error.void
ReaderContext.error
(String message, Object source, ParseState parseState, Throwable cause) Raise a regular error.void
ReaderContext.error
(String message, Object source, ParseState parseState, Throwable cause) Raise a regular error.NullSourceExtractor.extractSource
(Object sourceCandidate, Resource definitionResource) This implementation simply returnsnull
for any input.PassThroughSourceExtractor.extractSource
(Object sourceCandidate, Resource definingResource) Simply returns the suppliedsourceCandidate
as-is.SourceExtractor.extractSource
(Object sourceCandidate, Resource definingResource) Extract the source metadata from the candidate object supplied by the configuration parser.void
Raise a fatal error.void
Raise a fatal error.void
Raise a fatal error.void
ReaderContext.fatal
(String message, Object source, ParseState parseState) Raise a fatal error.void
ReaderContext.fatal
(String message, Object source, ParseState parseState) Raise a fatal error.void
ReaderContext.fatal
(String message, Object source, ParseState parseState, Throwable cause) Raise a fatal error.void
ReaderContext.fatal
(String message, Object source, ParseState parseState, Throwable cause) Raise a fatal error.void
ReaderContext.fatal
(String message, Object source, ParseState parseState, Throwable cause) Raise a fatal error.void
ReaderContext.fireAliasRegistered
(String beanName, String alias, Object source) Fire an alias-registered event.void
ReaderContext.fireImportProcessed
(String importedResource, Object source) Fire an import-processed event.void
ReaderContext.fireImportProcessed
(String importedResource, Resource[] actualResources, Object source) Fire an import-processed event.void
Set thelogger
that is to be used to report warnings.void
Raise a non-critical warning.void
Raise a non-critical warning.void
Raise a non-critical warning.void
ReaderContext.warning
(String message, Object source, ParseState parseState) Raise a non-critical warning.void
ReaderContext.warning
(String message, Object source, ParseState parseState) Raise a non-critical warning.void
ReaderContext.warning
(String message, Object source, ParseState parseState, Throwable cause) Raise a non-critical warning.void
ReaderContext.warning
(String message, Object source, ParseState parseState, Throwable cause) Raise a non-critical warning.void
ReaderContext.warning
(String message, Object source, ParseState parseState, Throwable cause) Raise a non-critical warning.ModifierConstructorDescriptionAliasDefinition
(String beanName, String alias, Object source) Create a new AliasDefinition.BeanComponentDefinition
(BeanDefinition beanDefinition, String beanName, String[] aliases) Create a new BeanComponentDefinition for the given bean.CompositeComponentDefinition
(String name, Object source) Create a new CompositeComponentDefinition.ImportDefinition
(String importedResource, Object source) Create a new ImportDefinition.ImportDefinition
(String importedResource, Resource[] actualResources, Object source) Create a new ImportDefinition.ImportDefinition
(String importedResource, Resource[] actualResources, Object source) Create a new ImportDefinition.Create a new instance of theLocation
class.Problem
(String message, Location location, ParseState parseState, Throwable rootCause) Create a new instance of theProblem
class.Problem
(String message, Location location, ParseState parseState, Throwable rootCause) Create a new instance of theProblem
class. -
Uses of Nullable in org.springframework.beans.factory.serviceloader
Modifier and TypeMethodDescriptionClass<?>
ServiceFactoryBean.getObjectType()
Class<?>
AbstractServiceLoaderBasedFactoryBean.getServiceType()
Return the desired service type.Modifier and TypeMethodDescriptionvoid
AbstractServiceLoaderBasedFactoryBean.setBeanClassLoader
(ClassLoader beanClassLoader) void
AbstractServiceLoaderBasedFactoryBean.setServiceType
(Class<?> serviceType) Specify the desired service type (typically the service's public API). -
Uses of Nullable in org.springframework.beans.factory.support
Modifier and TypeMethodDescriptionprotected Object
AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation
(Class<?> beanClass, String beanName) Apply InstantiationAwareBeanPostProcessors to the specified bean definition (by class and name), invoking theirpostProcessBeforeInstantiation
methods.protected String
DefaultListableBeanFactory.determineAutowireCandidate
(Map<String, Object> candidates, DependencyDescriptor descriptor) Determine the autowire candidate in the given set of beans.protected Constructor<?>[]
AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors
(Class<?> beanClass, String beanName) Determine candidate constructors to use for the given bean, checking all registeredSmartInstantiationAwareBeanPostProcessors
.protected String
DefaultListableBeanFactory.determineHighestPriorityCandidate
(Map<String, Object> candidates, Class<?> requiredType) Determine the candidate with the highest priority in the given set of beans.protected String
DefaultListableBeanFactory.determinePrimaryCandidate
(Map<String, Object> candidates, Class<?> requiredType) Determine the primary candidate in the given set of beans.protected Class<?>
AbstractAutowireCapableBeanFactory.determineTargetType
(String beanName, RootBeanDefinition mbd, Class<?>... typesToMatch) Determine the target type for the given bean definition.DefaultListableBeanFactory.doResolveDependency
(DependencyDescriptor descriptor, String beanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) protected Object
Evaluate the given value as an expression, if necessary.protected Object
BeanDefinitionValueResolver.evaluate
(TypedStringValue value) Evaluate the given value as an expression, if necessary.protected Object
AbstractBeanFactory.evaluateBeanDefinitionString
(String value, BeanDefinition beanDefinition) Evaluate the given String as contained in a bean definition, potentially resolving it as an expression.<A extends Annotation>
ADefaultListableBeanFactory.findAnnotationOnBean
(String beanName, Class<A> annotationType) <A extends Annotation>
ADefaultListableBeanFactory.findAnnotationOnBean
(String beanName, Class<A> annotationType, boolean allowFactoryBeanInit) <A extends Annotation>
AStaticListableBeanFactory.findAnnotationOnBean
(String beanName, Class<A> annotationType) <A extends Annotation>
AStaticListableBeanFactory.findAnnotationOnBean
(String beanName, Class<A> annotationType, boolean allowFactoryBeanInit) AbstractBeanDefinitionReader.getBeanClassLoader()
AbstractBeanFactory.getBeanClassLoader()
BeanDefinitionReader.getBeanClassLoader()
Return the class loader to use for bean classes.AbstractBeanDefinition.getBeanClassName()
Return the current bean class name of this bean definition.AbstractBeanFactory.getBeanExpressionResolver()
protected final BeanFactory
GenericTypeAwareAutowireCandidateResolver.getBeanFactory()
LookupOverride.getBeanName()
Return the name of the bean that should be returned by this method.protected Object
FactoryBeanRegistrySupport.getCachedObjectForFactoryBean
(String beanName) Obtain an object to expose from the given FactoryBean, if available in cached form.AbstractBeanFactory.getConversionService()
static Method
SimpleInstantiationStrategy.getCurrentlyInvokedFactoryMethod()
Return the factory method currently being invoked ornull
if none.protected TypeConverter
AbstractBeanFactory.getCustomTypeConverter()
Return the custom TypeConverter to use, if any.RootBeanDefinition.getDecoratedDefinition()
Return the target definition that is being decorated by this bean definition, if any.PropertiesBeanDefinitionReader.getDefaultParentBean()
Deprecated.Return the default parent bean for this bean factory.DefaultListableBeanFactory.getDependencyComparator()
Return the dependency comparator for this BeanFactory (may benull
).String[]
AbstractBeanDefinition.getDependsOn()
Return the bean names that this bean depends on.AbstractBeanDefinition.getDescription()
Return a human-readable description of this bean definition.AbstractBeanDefinition.getDestroyMethodName()
Return the name of the destroy method (the first one in case of multiple methods).BeanDefinitionDefaults.getDestroyMethodName()
Return the name of the default destroy method.String[]
AbstractBeanDefinition.getDestroyMethodNames()
Return the names of the destroy methods.ManagedList.getElementTypeName()
Return the default element type name (class name) to be used for this list.ManagedSet.getElementTypeName()
Return the default element type name (class name) to be used for this set.AbstractBeanDefinition.getFactoryBeanName()
Return the factory bean name, if any.default Method
InstanceSupplier.getFactoryMethod()
Return the factory method that this supplier uses to create the instance, ornull
if it is not known or this supplier uses another means.AbstractBeanDefinition.getFactoryMethodName()
Return a factory method, if any.AbstractBeanDefinition.getInitMethodName()
Return the name of the initializer method (the first one in case of multiple methods).BeanDefinitionDefaults.getInitMethodName()
Return the name of the default initializer method.String[]
AbstractBeanDefinition.getInitMethodNames()
Return the names of the initializer methods.Supplier<?>
AbstractBeanDefinition.getInstanceSupplier()
Return a callback for creating an instance of the bean, if any.ManagedMap.getKeyTypeName()
Return the default key type name (class name) to be used for this map.AbstractBeanDefinition.getLazyInit()
Return whether this bean should be lazily initialized, i.e.BeanDefinitionDefaults.getLazyInit()
Return whether beans should be lazily initialized by default, i.e.default Class<?>
AutowireCandidateResolver.getLazyResolutionProxyClass
(DependencyDescriptor descriptor, String beanName) Determine the proxy class for lazy resolution of the dependency target, if demanded by the injection point.Class<?>
SimpleAutowireCandidateResolver.getLazyResolutionProxyClass
(DependencyDescriptor descriptor, String beanName) default Object
AutowireCandidateResolver.getLazyResolutionProxyIfNecessary
(DependencyDescriptor descriptor, String beanName) Build a proxy for lazy resolution of the actual dependency target, if demanded by the injection point.SimpleAutowireCandidateResolver.getLazyResolutionProxyIfNecessary
(DependencyDescriptor descriptor, String beanName) AbstractBeanDefinition.getOriginatingBeanDefinition()
Return the originating BeanDefinition, ornull
if none.MethodOverrides.getOverride
(Method method) Return the override for the given method, if any.AbstractAutowireCapableBeanFactory.getParameterNameDiscoverer()
Return the ParameterNameDiscoverer to use for resolving method parameter names if needed.RegisteredBean.getParent()
Return the parent of this instance ornull
if not an inner-bean.AbstractBeanFactory.getParentBeanFactory()
ChildBeanDefinition.getParentName()
GenericBeanDefinition.getParentName()
RootBeanDefinition.getParentName()
Constructor<?>[]
RootBeanDefinition.getPreferredConstructors()
Determine preferred constructors to use for default construction, if any.protected Integer
DefaultListableBeanFactory.getPriority
(Object beanInstance) Return the priority assigned for the given bean instance by thejakarta.annotation.Priority
annotation.RootBeanDefinition.getQualifiedElement()
Return theAnnotatedElement
defining qualifiers, if any.AbstractBeanDefinition.getQualifier
(String typeName) Return the qualifier mapped to the provided type name.AbstractBeanFactory.getRegisteredScope
(String scopeName) protected RootBeanDefinition
GenericTypeAwareAutowireCandidateResolver.getResolvedDecoratedDefinition
(RootBeanDefinition rbd) RootBeanDefinition.getResolvedFactoryMethod()
Return the resolved factory method as a Java Method object, if available.AbstractBeanDefinition.getResource()
Return the resource that this bean definition came from.AbstractBeanDefinition.getResourceDescription()
Return a description of the resource that this bean definition came from (for the purpose of showing context in case of errors).AbstractBeanDefinitionReader.getResourceLoader()
BeanDefinitionReader.getResourceLoader()
Return theResourceLoader
to use for resource locations.protected ResolvableType
GenericTypeAwareAutowireCandidateResolver.getReturnTypeForFactoryMethod
(RootBeanDefinition rbd, DependencyDescriptor descriptor) AbstractBeanDefinition.getScope()
Return the name of the target scope for the bean.DefaultListableBeanFactory.getSerializationId()
Return an id for serialization purposes, if specified, allowing this BeanFactory to be deserialized from this id back into the BeanFactory object, if needed.DefaultSingletonBeanRegistry.getSingleton
(String beanName) protected Object
DefaultSingletonBeanRegistry.getSingleton
(String beanName, boolean allowEarlyReference) Return the (raw) singleton object registered under the given name.ManagedList.getSource()
ManagedMap.getSource()
ManagedProperties.getSource()
ManagedSet.getSource()
MethodOverride.getSource()
default Object
AutowireCandidateResolver.getSuggestedValue
(DependencyDescriptor descriptor) Determine whether a default value is suggested for the given dependency.SimpleAutowireCandidateResolver.getSuggestedValue
(DependencyDescriptor descriptor) Class<?>
RootBeanDefinition.getTargetType()
Return the target type of this bean definition, if known (either specified in advance or resolved on first instantiation).AbstractBeanFactory.getTempClassLoader()
Class<?>
Class<?>
Class<?>
Class<?>
protected Class<?>
FactoryBeanRegistrySupport.getTypeForFactoryBean
(FactoryBean<?> factoryBean) Determine the type for the given FactoryBean.protected Class<?>
AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod
(String beanName, RootBeanDefinition mbd, Class<?>... typesToMatch) Determine the target type for the given bean definition which is based on a factory method.ManagedMap.getValueTypeName()
Return the default value type name (class name) to be used for this map.protected Object
AbstractAutowireCapableBeanFactory.obtainInstanceFromSupplier
(Supplier<?> supplier, String beanName, RootBeanDefinition mbd) Obtain a bean instance from the given supplier.protected Object
DefaultListableBeanFactory.obtainInstanceFromSupplier
(Supplier<?> supplier, String beanName, RootBeanDefinition mbd) protected Class<?>
AbstractAutowireCapableBeanFactory.predictBeanType
(String beanName, RootBeanDefinition mbd, Class<?>... typesToMatch) protected Class<?>
AbstractBeanFactory.predictBeanType
(String beanName, RootBeanDefinition mbd, Class<?>... typesToMatch) Predict the eventual bean type (of the processed bean instance) for the specified bean.RegisteredBean.resolveAutowiredArgument
(DependencyDescriptor descriptor, TypeConverter typeConverter, Set<String> autowiredBeanNames) Resolve an autowired argument.Class<?>
AbstractBeanDefinition.resolveBeanClass
(ClassLoader classLoader) Determine the class of the wrapped bean, resolving it from a specified class name if necessary.protected Class<?>
AbstractBeanFactory.resolveBeanClass
(RootBeanDefinition mbd, String beanName, Class<?>... typesToMatch) Resolve the bean class for the specified bean definition, resolving a bean class name into a Class reference (if necessary) and storing the resolved Class in the bean definition for further use.protected Object
AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation
(String beanName, RootBeanDefinition mbd) Apply before-instantiation post-processors, resolving whether there is a before-instantiation shortcut for the specified bean.AbstractAutowireCapableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName) DefaultListableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) AbstractBeanFactory.resolveEmbeddedValue
(String value) protected Class<?>
BeanDefinitionValueResolver.resolveTargetType
(TypedStringValue value) Resolve the target type in the given TypedStringValue.BeanDefinitionValueResolver.resolveValueIfNecessary
(Object argName, Object value) Given a PropertyValue, return a value, resolving any references to other beans in the factory if necessary.Modifier and TypeMethodDescriptionBeanDefinitionBuilder.addConstructorArgValue
(Object value) Add an indexed constructor arg value.void
MethodOverrides.addOverrides
(MethodOverrides other) Copy all given method overrides into this object.BeanDefinitionBuilder.addPropertyValue
(String name, Object value) Add the supplied property value under the given property name.protected BeanWrapper
AbstractAutowireCapableBeanFactory.autowireConstructor
(String beanName, RootBeanDefinition mbd, Constructor<?>[] ctors, Object[] explicitArgs) "autowire constructor" (with constructor arguments by type) behavior.protected BeanWrapper
AbstractAutowireCapableBeanFactory.autowireConstructor
(String beanName, RootBeanDefinition mbd, Constructor<?>[] ctors, Object[] explicitArgs) "autowire constructor" (with constructor arguments by type) behavior.protected void
AbstractAutowireCapableBeanFactory.checkDependencies
(String beanName, AbstractBeanDefinition mbd, PropertyDescriptor[] pds, PropertyValues pvs) Perform a dependency check that all properties exposed have been set, if desired.protected void
AbstractBeanFactory.checkMergedBeanDefinition
(RootBeanDefinition mbd, String beanName, Object[] args) Check the given merged bean definition, potentially throwing validation exceptions.protected Object
AbstractAutowireCapableBeanFactory.createBean
(String beanName, RootBeanDefinition mbd, Object[] args) Central method of this class: creates a bean instance, populates the bean instance, applies post-processors, etc.protected abstract Object
AbstractBeanFactory.createBean
(String beanName, RootBeanDefinition mbd, Object[] args) Create a bean instance for the given merged bean definition (and arguments).static AbstractBeanDefinition
BeanDefinitionReaderUtils.createBeanDefinition
(String parentName, String className, ClassLoader classLoader) Create a new GenericBeanDefinition for the given parent name and class name, eagerly loading the bean class if a ClassLoader has been specified.static AbstractBeanDefinition
BeanDefinitionReaderUtils.createBeanDefinition
(String parentName, String className, ClassLoader classLoader) Create a new GenericBeanDefinition for the given parent name and class name, eagerly loading the bean class if a ClassLoader has been specified.static AbstractBeanDefinition
BeanDefinitionReaderUtils.createBeanDefinition
(String parentName, String className, ClassLoader classLoader) Create a new GenericBeanDefinition for the given parent name and class name, eagerly loading the bean class if a ClassLoader has been specified.protected BeanWrapper
AbstractAutowireCapableBeanFactory.createBeanInstance
(String beanName, RootBeanDefinition mbd, Object[] args) Create a new instance for the specified bean, using an appropriate instantiation strategy: factory method, constructor autowiring, or simple instantiation.protected void
DefaultSingletonBeanRegistry.destroyBean
(String beanName, DisposableBean bean) Destroy the given bean.protected Constructor<?>[]
AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors
(Class<?> beanClass, String beanName) Determine candidate constructors to use for the given bean, checking all registeredSmartInstantiationAwareBeanPostProcessors
.protected Object
AbstractAutowireCapableBeanFactory.doCreateBean
(String beanName, RootBeanDefinition mbd, Object[] args) Actually create the specified bean.protected <T> T
AbstractBeanFactory.doGetBean
(String name, Class<T> requiredType, Object[] args, boolean typeCheckOnly) Return an instance, which may be shared or independent, of the specified bean.protected <T> T
AbstractBeanFactory.doGetBean
(String name, Class<T> requiredType, Object[] args, boolean typeCheckOnly) Return an instance, which may be shared or independent, of the specified bean.DefaultListableBeanFactory.doResolveDependency
(DependencyDescriptor descriptor, String beanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) DefaultListableBeanFactory.doResolveDependency
(DependencyDescriptor descriptor, String beanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) DefaultListableBeanFactory.doResolveDependency
(DependencyDescriptor descriptor, String beanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
protected Object
Evaluate the given value as an expression, if necessary.protected Object
AbstractBeanFactory.evaluateBeanDefinitionString
(String value, BeanDefinition beanDefinition) Evaluate the given String as contained in a bean definition, potentially resolving it as an expression.protected Object
AbstractBeanFactory.evaluateBeanDefinitionString
(String value, BeanDefinition beanDefinition) Evaluate the given String as contained in a bean definition, potentially resolving it as an expression.DefaultListableBeanFactory.findAutowireCandidates
(String beanName, Class<?> requiredType, DependencyDescriptor descriptor) Find bean instances that match the required type.Class<?>
CglibSubclassingInstantiationStrategy.getActualBeanClass
(RootBeanDefinition bd, String beanName, BeanFactory owner) default Class<?>
InstantiationStrategy.getActualBeanClass
(RootBeanDefinition bd, String beanName, BeanFactory owner) Determine the actual class for the given bean definition, as instantiated at runtime.<T> T
Return an instance, which may be shared or independent, of the specified bean.<T> T
Return an instance, which may be shared or independent, of the specified bean.<T> T
<T> T
String[]
DefaultListableBeanFactory.getBeanNamesForType
(Class<?> type) String[]
DefaultListableBeanFactory.getBeanNamesForType
(Class<?> type, boolean includeNonSingletons, boolean allowEagerInit) String[]
StaticListableBeanFactory.getBeanNamesForType
(Class<?> type) String[]
StaticListableBeanFactory.getBeanNamesForType
(Class<?> type, boolean includeNonSingletons, boolean allowEagerInit) String[]
StaticListableBeanFactory.getBeanNamesForType
(ResolvableType type) String[]
StaticListableBeanFactory.getBeanNamesForType
(ResolvableType type, boolean includeNonSingletons, boolean allowEagerInit) DefaultListableBeanFactory.getBeansOfType
(Class<T> type) DefaultListableBeanFactory.getBeansOfType
(Class<T> type, boolean includeNonSingletons, boolean allowEagerInit) StaticListableBeanFactory.getBeansOfType
(Class<T> type) StaticListableBeanFactory.getBeansOfType
(Class<T> type, boolean includeNonSingletons, boolean allowEagerInit) default Class<?>
AutowireCandidateResolver.getLazyResolutionProxyClass
(DependencyDescriptor descriptor, String beanName) Determine the proxy class for lazy resolution of the dependency target, if demanded by the injection point.Class<?>
SimpleAutowireCandidateResolver.getLazyResolutionProxyClass
(DependencyDescriptor descriptor, String beanName) default Object
AutowireCandidateResolver.getLazyResolutionProxyIfNecessary
(DependencyDescriptor descriptor, String beanName) Build a proxy for lazy resolution of the actual dependency target, if demanded by the injection point.SimpleAutowireCandidateResolver.getLazyResolutionProxyIfNecessary
(DependencyDescriptor descriptor, String beanName) protected RootBeanDefinition
AbstractBeanFactory.getMergedBeanDefinition
(String beanName, BeanDefinition bd, BeanDefinition containingBd) Return a RootBeanDefinition for the given bean, by merging with the parent if the given bean's definition is a child bean definition.protected Object
AbstractAutowireCapableBeanFactory.getObjectForBeanInstance
(Object beanInstance, String name, String beanName, RootBeanDefinition mbd) Overridden in order to implicitly register the currently created bean as dependent on further beans getting programmatically retrieved during aSupplier
callback.protected Object
AbstractBeanFactory.getObjectForBeanInstance
(Object beanInstance, String name, String beanName, RootBeanDefinition mbd) Get the object for the given bean instance, either the bean instance itself or its created object in case of a FactoryBean.protected Object
AbstractAutowireCapableBeanFactory.initializeBean
(String beanName, Object bean, RootBeanDefinition mbd) Initialize the given bean instance, applying factory callbacks as well as init methods and bean post processors.InstantiationStrategy.instantiate
(RootBeanDefinition bd, String beanName, BeanFactory owner) Return an instance of the bean with the given name in this factory.InstantiationStrategy.instantiate
(RootBeanDefinition bd, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object... args) Return an instance of the bean with the given name in this factory, creating it via the given factory method.InstantiationStrategy.instantiate
(RootBeanDefinition bd, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object... args) Return an instance of the bean with the given name in this factory, creating it via the given factory method.InstantiationStrategy.instantiate
(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) Return an instance of the bean with the given name in this factory, creating it via the given constructor.SimpleInstantiationStrategy.instantiate
(RootBeanDefinition bd, String beanName, BeanFactory owner) SimpleInstantiationStrategy.instantiate
(RootBeanDefinition bd, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object... args) SimpleInstantiationStrategy.instantiate
(RootBeanDefinition bd, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object... args) SimpleInstantiationStrategy.instantiate
(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) protected BeanWrapper
AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod
(String beanName, RootBeanDefinition mbd, Object[] explicitArgs) Instantiate the bean using a named factory method.protected Object
CglibSubclassingInstantiationStrategy.instantiateWithMethodInjection
(RootBeanDefinition bd, String beanName, BeanFactory owner) protected Object
CglibSubclassingInstantiationStrategy.instantiateWithMethodInjection
(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) protected Object
CglibSubclassingInstantiationStrategy.instantiateWithMethodInjection
(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) protected Object
SimpleInstantiationStrategy.instantiateWithMethodInjection
(RootBeanDefinition bd, String beanName, BeanFactory owner) Subclasses can override this method, which is implemented to throw UnsupportedOperationException, if they can instantiate an object with the Method Injection specified in the given RootBeanDefinition.protected Object
SimpleInstantiationStrategy.instantiateWithMethodInjection
(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) Subclasses can override this method, which is implemented to throw UnsupportedOperationException, if they can instantiate an object with the Method Injection specified in the given RootBeanDefinition.protected Object
SimpleInstantiationStrategy.instantiateWithMethodInjection
(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) Subclasses can override this method, which is implemented to throw UnsupportedOperationException, if they can instantiate an object with the Method Injection specified in the given RootBeanDefinition.protected void
AbstractAutowireCapableBeanFactory.invokeInitMethods
(String beanName, Object bean, RootBeanDefinition mbd) Give a bean a chance to initialize itself after all its properties are set, and a chance to know about its owning bean factory (this object).boolean
DefaultSingletonBeanRegistry.isSingletonCurrentlyInCreation
(String beanName) Return whether the specified singleton bean is currently in creation (within the entire factory).boolean
StaticListableBeanFactory.isTypeMatch
(String name, Class<?> typeToMatch) int
AbstractBeanDefinitionReader.loadBeanDefinitions
(String location, Set<Resource> actualResources) Load bean definitions from the specified resource location.int
PropertiesBeanDefinitionReader.loadBeanDefinitions
(Resource resource, String prefix) Deprecated.Load bean definitions from the specified properties file.int
PropertiesBeanDefinitionReader.loadBeanDefinitions
(EncodedResource encodedResource, String prefix) Deprecated.Load bean definitions from the specified properties file.protected boolean
DefaultListableBeanFactory.matchesBeanName
(String beanName, String candidateName) Determine whether the given candidate name matches the bean name or the aliases stored in this bean definition.static RegisteredBean
RegisteredBean.ofInnerBean
(RegisteredBean parent, String innerBeanName, BeanDefinition innerBeanDefinition) Create a newRegisteredBean
instance for an inner-bean.protected void
AbstractAutowireCapableBeanFactory.populateBean
(String beanName, RootBeanDefinition mbd, BeanWrapper bw) Populate the bean instance in the given BeanWrapper with the property values from the bean definition.int
PropertiesBeanDefinitionReader.registerBeanDefinitions
(Map<?, ?> map, String prefix) Deprecated.Register bean definitions contained in a Map.int
PropertiesBeanDefinitionReader.registerBeanDefinitions
(Map<?, ?> map, String prefix, String resourceDescription) Deprecated.Register bean definitions contained in a Map.int
PropertiesBeanDefinitionReader.registerBeanDefinitions
(ResourceBundle rb, String prefix) Deprecated.Register bean definitions contained in a ResourceBundle.void
DefaultListableBeanFactory.registerResolvableDependency
(Class<?> dependencyType, Object autowiredValue) Class<?>
AbstractBeanDefinition.resolveBeanClass
(ClassLoader classLoader) Determine the class of the wrapped bean, resolving it from a specified class name if necessary.AbstractAutowireCapableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName) DefaultListableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) DefaultListableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) DefaultListableBeanFactory.resolveDependency
(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) AbstractBeanFactory.resolveEmbeddedValue
(String value) <T> T
BeanDefinitionValueResolver.resolveInnerBean
(String innerBeanName, BeanDefinition innerBd, BiFunction<String, RootBeanDefinition, T> resolver) Resolve an inner bean definition and invoke the specifiedresolver
on its merged bean definition.BeanDefinitionValueResolver.resolveValueIfNecessary
(Object argName, Object value) Given a PropertyValue, return a value, resolving any references to other beans in the factory if necessary.static BeanDefinitionBuilder
BeanDefinitionBuilder.rootBeanDefinition
(Class<?> beanClass, String factoryMethodName) Create a newBeanDefinitionBuilder
used to construct aRootBeanDefinition
.static BeanDefinitionBuilder
BeanDefinitionBuilder.rootBeanDefinition
(String beanClassName, String factoryMethodName) Create a newBeanDefinitionBuilder
used to construct aRootBeanDefinition
.void
AbstractBeanDefinition.setBeanClass
(Class<?> beanClass) Specify the class for this bean.void
AbstractBeanDefinitionReader.setBeanClassLoader
(ClassLoader beanClassLoader) Set the ClassLoader to use for bean classes.void
AbstractBeanFactory.setBeanClassLoader
(ClassLoader beanClassLoader) void
AbstractBeanDefinition.setBeanClassName
(String beanClassName) Specify the bean class name of this bean definition.void
AbstractBeanFactory.setBeanExpressionResolver
(BeanExpressionResolver resolver) void
AbstractBeanDefinitionReader.setBeanNameGenerator
(BeanNameGenerator beanNameGenerator) Set the BeanNameGenerator to use for anonymous beans (without explicit bean name specified).void
AbstractBeanFactory.setConversionService
(ConversionService conversionService) static void
SimpleInstantiationStrategy.setCurrentlyInvokedFactoryMethod
(Method method) Set the factory method currently being invoked ornull
to reset.void
RootBeanDefinition.setDecoratedDefinition
(BeanDefinitionHolder decoratedDefinition) Register a target definition that is being decorated by this bean definition.void
PropertiesBeanDefinitionReader.setDefaultParentBean
(String defaultParentBean) Deprecated.Set the default parent bean for this bean factory.void
DefaultListableBeanFactory.setDependencyComparator
(Comparator<Object> dependencyComparator) Set aComparator
for dependency Lists and arrays.void
AbstractBeanDefinition.setDependsOn
(String... dependsOn) Set the names of the beans that this bean depends on being initialized.void
AbstractBeanDefinition.setDescription
(String description) Set a human-readable description of this bean definition.void
AbstractBeanDefinition.setDestroyMethodName
(String destroyMethodName) Set the name of the destroy method.BeanDefinitionBuilder.setDestroyMethodName
(String methodName) Set the destroy method for this definition.void
BeanDefinitionDefaults.setDestroyMethodName
(String destroyMethodName) Set the name of the default destroy method.void
AbstractBeanDefinition.setDestroyMethodNames
(String... destroyMethodNames) Specify the names of multiple destroy methods.void
ManagedSet.setElementTypeName
(String elementTypeName) Set the default element type name (class name) to be used for this set.void
AbstractBeanDefinition.setFactoryBeanName
(String factoryBeanName) Specify the factory bean to use, if any.void
AbstractBeanDefinition.setFactoryMethodName
(String factoryMethodName) Specify a factory method, if any.void
AbstractBeanDefinition.setInitMethodName
(String initMethodName) Set the name of the initializer method.BeanDefinitionBuilder.setInitMethodName
(String methodName) Set the init method for this definition.void
BeanDefinitionDefaults.setInitMethodName
(String initMethodName) Set the name of the default initializer method.void
AbstractBeanDefinition.setInitMethodNames
(String... initMethodNames) Specify the names of multiple initializer methods.void
AbstractBeanDefinition.setInstanceSupplier
(Supplier<?> instanceSupplier) Specify a callback for creating an instance of the bean, as an alternative to a declaratively specified factory method.void
RootBeanDefinition.setInstanceSupplier
(Supplier<?> supplier) void
ManagedMap.setKeyTypeName
(String keyTypeName) Set the default key type name (class name) to be used for this map.void
AbstractAutowireCapableBeanFactory.setParameterNameDiscoverer
(ParameterNameDiscoverer parameterNameDiscoverer) Set the ParameterNameDiscoverer to use for resolving method parameter names if needed (e.g.void
AbstractBeanFactory.setParentBeanFactory
(BeanFactory parentBeanFactory) void
ChildBeanDefinition.setParentName
(String parentName) void
GenericBeanDefinition.setParentName
(String parentName) void
RootBeanDefinition.setParentName
(String parentName) void
PropertiesBeanDefinitionReader.setPropertiesPersister
(PropertiesPersister propertiesPersister) Deprecated.Set the PropertiesPersister to use for parsing properties files.void
RootBeanDefinition.setQualifiedElement
(AnnotatedElement qualifiedElement) Specify theAnnotatedElement
defining qualifiers, to be used instead of the target class or factory method.void
RootBeanDefinition.setResolvedFactoryMethod
(Method method) Set a resolved Java Method for the factory method on this bean definition.void
AbstractBeanDefinition.setResource
(Resource resource) Set the resource that this bean definition came from (for the purpose of showing context in case of errors).void
AbstractBeanDefinition.setResourceDescription
(String resourceDescription) Set a description of the resource that this bean definition came from (for the purpose of showing context in case of errors).void
AbstractBeanDefinitionReader.setResourceLoader
(ResourceLoader resourceLoader) Set the ResourceLoader to use for resource locations.void
Set the name of the target scope for the bean.Set the scope of this definition.void
DefaultListableBeanFactory.setSerializationId
(String serializationId) Specify an id for serialization purposes, allowing this BeanFactory to be deserialized from this id back into the BeanFactory object, if needed.void
Set the configuration sourceObject
for this metadata element.void
Set the configuration sourceObject
for this metadata element.void
Set the configuration sourceObject
for this metadata element.void
Set the configuration sourceObject
for this metadata element.void
Set the configuration sourceObject
for this metadata element.void
RootBeanDefinition.setTargetType
(Class<?> targetType) Specify the target type of this bean definition, if known in advance.void
RootBeanDefinition.setTargetType
(ResolvableType targetType) Specify a generics-containing target type of this bean definition, if known in advance.void
AbstractBeanFactory.setTempClassLoader
(ClassLoader tempClassLoader) void
ManagedMap.setValueTypeName
(String valueTypeName) Set the default value type name (class name) to be used for this map.static <T> InstanceSupplier<T>
InstanceSupplier.using
(Method factoryMethod, ThrowingSupplier<T> supplier) Factory method to create anInstanceSupplier
from aThrowingSupplier
.ModifierConstructorDescriptionAbstractAutowireCapableBeanFactory
(BeanFactory parentBeanFactory) Create a new AbstractAutowireCapableBeanFactory with the given parent.protected
Create a new AbstractBeanDefinition with the given constructor argument values and property values.protected
Create a new AbstractBeanDefinition with the given constructor argument values and property values.AbstractBeanFactory
(BeanFactory parentBeanFactory) Create a new AbstractBeanFactory with the given parent.DefaultListableBeanFactory
(BeanFactory parentBeanFactory) Create a new DefaultListableBeanFactory with the given parent.LookupOverride
(Method method, String beanName) Construct a new LookupOverride.LookupOverride
(String methodName, String beanName) Construct a new LookupOverride.RootBeanDefinition
(Class<?> beanClass) Create a new RootBeanDefinition for a singleton.RootBeanDefinition
(Class<?> beanClass, int autowireMode, boolean dependencyCheck) Create a new RootBeanDefinition for a singleton, using the given autowire mode.RootBeanDefinition
(Class<?> beanClass, ConstructorArgumentValues cargs, MutablePropertyValues pvs) Create a new RootBeanDefinition for a singleton, providing constructor arguments and property values.RootBeanDefinition
(Class<?> beanClass, ConstructorArgumentValues cargs, MutablePropertyValues pvs) Create a new RootBeanDefinition for a singleton, providing constructor arguments and property values.RootBeanDefinition
(Class<?> beanClass, ConstructorArgumentValues cargs, MutablePropertyValues pvs) Create a new RootBeanDefinition for a singleton, providing constructor arguments and property values.RootBeanDefinition
(Class<T> beanClass, String scope, Supplier<T> instanceSupplier) Create a new RootBeanDefinition for a scoped bean, constructing each instance through calling the given supplier (possibly a lambda or method reference).RootBeanDefinition
(Class<T> beanClass, String scope, Supplier<T> instanceSupplier) Create a new RootBeanDefinition for a scoped bean, constructing each instance through calling the given supplier (possibly a lambda or method reference).RootBeanDefinition
(Class<T> beanClass, Supplier<T> instanceSupplier) Create a new RootBeanDefinition for a singleton bean, constructing each instance through calling the given supplier (possibly a lambda or method reference).RootBeanDefinition
(Class<T> beanClass, Supplier<T> instanceSupplier) Create a new RootBeanDefinition for a singleton bean, constructing each instance through calling the given supplier (possibly a lambda or method reference).RootBeanDefinition
(ResolvableType beanType) Deprecated. -
Uses of Nullable in org.springframework.beans.factory.wiring
Modifier and TypeMethodDescriptionprotected BeanWiringInfoResolver
BeanConfigurerSupport.createDefaultBeanWiringInfoResolver()
Create the default BeanWiringInfoResolver to be used if none was specified explicitly.BeanWiringInfo.getBeanName()
Return the specific bean name that this BeanWiringInfo points to, if any.BeanWiringInfoResolver.resolveWiringInfo
(Object beanInstance) Resolve the BeanWiringInfo for the given bean instance. -
Uses of Nullable in org.springframework.beans.factory.xml
Modifier and TypeMethodDescriptionNamespaceHandler.decorate
(Node source, BeanDefinitionHolder definition, ParserContext parserContext) Parse the specifiedNode
and decorate the suppliedBeanDefinitionHolder
<
RootBeanDefinition.setTargetType(ResolvableType)
call