Uses of Annotation Interface
org.springframework.lang.Nullable
Packages that use 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 (for example, for classpath scanning).
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.
Annotations for declaratively configuring field and parameter formatting rules.
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
MBeanServers
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 ORM 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 case-by-case Bean overriding in Spring tests.
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.
Test support for HTTP concepts.
Support classes for tests based on JDBC.
Testing support for JSON.
General utility classes for use in unit and integration tests.
Helper classes for unit tests based on Spring's web support.
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.
AssertJ support for MockMvc.
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,
for example, using a JSR-303 Bean Validation provider.
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 like an annotated controller or a simple
WebHandler.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.
Abstractions and support classes for reactive WebSocket interactions.
Classes adapting Spring's Reactive WebSocket API to and from WebSocket runtimes.
Client support for WebSocket interactions.
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.
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.
Configuration support for WebSocket request handling.
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
Methods in org.springframework.aop with annotations of type NullableModifier 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.Method parameters in org.springframework.aop with annotations of type NullableModifier and TypeMethodDescriptionvoidAfterReturningAdvice.afterReturning(Object returnValue, Method method, Object[] args, Object target) Callback after a given method successfully returned.voidAfterReturningAdvice.afterReturning(Object returnValue, Method method, Object[] args, Object target) Callback after a given method successfully returned.voidCallback before a given method is invoked.voidProxyMethodInvocation.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
Methods in org.springframework.aop.aspectj with annotations of type NullableModifier and TypeMethodDescriptionfinal ClassLoaderAbstractAspectJAdvice.getAspectClassLoader()Return the ClassLoader for aspect instances.AspectInstanceFactory.getAspectClassLoader()Expose the aspect class loader that this factory uses.SimpleAspectInstanceFactory.getAspectClassLoader()SingletonAspectInstanceFactory.getAspectClassLoader()static AspectJPrecedenceInformationAspectJAopUtils.getAspectJPrecedenceInformationFor(Advisor anAdvisor) Return the AspectJPrecedenceInformation provided by this advisor or its advice.protected StringAspectJExpressionPointcut.getCurrentProxiedBeanName()protected TypeAbstractAspectJAdvice.getDiscoveredReturningGenericType()AspectJExpressionPointcutAdvisor.getExpression()protected org.aspectj.weaver.tools.JoinPointMatchAbstractAspectJAdvice.getJoinPointMatch()Get the current join point match at the join point we are being dispatched on.protected org.aspectj.weaver.tools.JoinPointMatchAbstractAspectJAdvice.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) protected ObjectAbstractAspectJAdvice.invokeAdviceMethod(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable t) protected ObjectAbstractAspectJAdvice.invokeAdviceMethod(org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Invoke the advice method.protected ObjectAbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(Object[] args) MethodInvocationProceedingJoinPoint.proceed()Method parameters in org.springframework.aop.aspectj with annotations of type NullableModifier and TypeMethodDescriptionvoidAspectJAfterReturningAdvice.afterReturning(Object returnValue, Method method, Object[] args, Object target) voidAspectJAfterReturningAdvice.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.voidbooleanbooleanbooleanprotected ObjectAbstractAspectJAdvice.invokeAdviceMethod(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable t) protected ObjectAbstractAspectJAdvice.invokeAdviceMethod(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable t) protected ObjectAbstractAspectJAdvice.invokeAdviceMethod(org.aspectj.lang.JoinPoint jp, org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable t) protected ObjectAbstractAspectJAdvice.invokeAdviceMethod(org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Invoke the advice method.protected ObjectAbstractAspectJAdvice.invokeAdviceMethod(org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Invoke the advice method.protected ObjectAbstractAspectJAdvice.invokeAdviceMethod(org.aspectj.weaver.tools.JoinPointMatch jpMatch, Object returnValue, Throwable ex) Invoke the advice method.voidAspectJExpressionPointcutAdvisor.setExpression(String expression) voidAspectJExpressionPointcutAdvisor.setLocation(String location) voidAspectJAdviceParameterNameDiscoverer.setReturningName(String returningName) IfafterReturningadvice binds the return value, thereturningvariable name must be specified.voidAspectJAdviceParameterNameDiscoverer.setThrowingName(String throwingName) IfafterThrowingadvice binds the thrown value, thethrowingvariable name must be specified.Constructor parameters in org.springframework.aop.aspectj with annotations of type NullableModifierConstructorDescriptionAspectJAdviceParameterNameDiscoverer(String pointcutExpression) Create a new discoverer that attempts to discover parameter names. -
Uses of Nullable in org.springframework.aop.aspectj.annotation
Methods in org.springframework.aop.aspectj.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected static AbstractAspectJAdvisorFactory.AspectJAnnotationAbstractAspectJAdvisorFactory.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.Constructor parameters in org.springframework.aop.aspectj.annotation with annotations of type NullableModifierConstructorDescriptionBeanFactoryAspectInstanceFactory(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 givenBeanFactoryto the createdAspectJExpressionPointcutinstances, for bean pointcut handling as well as consistentClassLoaderresolution. -
Uses of Nullable in org.springframework.aop.config
Methods in org.springframework.aop.config with annotations of type NullableModifier and TypeMethodDescriptionSimpleBeanFactoryAwareAspectInstanceFactory.getAspectClassLoader()MethodLocatingFactoryBean.getObject()AdvisorComponentDefinition.getSource()PointcutComponentDefinition.getSource()static BeanDefinitionAopConfigUtils.registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry) static BeanDefinitionAopConfigUtils.registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, Object source) static BeanDefinitionAopConfigUtils.registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry) static BeanDefinitionAopConfigUtils.registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, Object source) static BeanDefinitionAopConfigUtils.registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry) static BeanDefinitionAopConfigUtils.registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, Object source) Method parameters in org.springframework.aop.config with annotations of type NullableModifier and TypeMethodDescriptionstatic BeanDefinitionAopConfigUtils.registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, Object source) static BeanDefinitionAopConfigUtils.registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, Object source) static BeanDefinitionAopConfigUtils.registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, Object source) Constructor parameters in org.springframework.aop.config with annotations of type NullableModifierConstructorDescriptionAdvisorComponentDefinition(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
Fields in org.springframework.aop.framework with annotations of type NullableModifier and TypeFieldDescriptionprotected AdvisorAbstractAdvisingBeanPostProcessor.advisorprotected final ObjectReflectiveMethodInvocation.targetMethods in org.springframework.aop.framework with annotations of type NullableModifier and TypeMethodDescriptionProxyFactoryBean.getObject()Return a proxy.Class<?>AbstractSingletonProxyFactoryBean.getObjectType()Class<?>ProxyFactoryBean.getObjectType()Return the type of the proxy.protected ClassLoaderProxyProcessorSupport.getProxyClassLoader()Return the configured proxy ClassLoader for this processor.static ObjectAopProxyUtils.getSingletonTarget(Object candidate) Obtain the singleton target object behind the given proxy, if any.Class<?>AdvisedSupport.getTargetClass()final ObjectReflectiveMethodInvocation.getThis()ReflectiveMethodInvocation.getUserAttribute(String key) protected ObjectReflectiveMethodInvocation.invokeJoinpoint()Invoke the joinpoint using reflection.ReflectiveMethodInvocation.proceed()Method parameters in org.springframework.aop.framework with annotations of type NullableModifier and TypeMethodDescriptionbooleanAdvisedSupport.adviceIncluded(Advice advice) Is the given advice included in any advisor within this proxy configuration?intAdvisedSupport.countAdvicesOfType(Class<?> adviceClass) Count advices of the given class.AdvisedSupport.getInterceptorsAndDynamicInterceptionAdvice(Method method, Class<?> targetClass) Determine a list ofMethodInterceptorobjects for the given method, based on this configuration.AdvisorChainFactory.getInterceptorsAndDynamicInterceptionAdvice(Advised config, Method method, Class<?> targetClass) Determine a list ofMethodInterceptorobjects 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.voidProxyFactoryBean.setProxyClassLoader(ClassLoader classLoader) Set the ClassLoader to generate the proxy class in.voidProxyProcessorSupport.setProxyClassLoader(ClassLoader classLoader) Set the ClassLoader to generate the proxy class in.voidAdvisedSupport.setTargetClass(Class<?> targetClass) Set a target class to be proxied, indicating that the proxy should be castable to the given class.voidAdvisedSupport.setTargetSource(TargetSource targetSource) voidReflectiveMethodInvocation.setUserAttribute(String key, Object value) Constructor parameters in org.springframework.aop.framework with annotations of type NullableModifierConstructorDescriptionprotectedReflectiveMethodInvocation(Object proxy, Object target, Method method, Object[] arguments, Class<?> targetClass, List<Object> interceptorsAndDynamicMethodMatchers) Construct a new ReflectiveMethodInvocation with the given arguments.protectedReflectiveMethodInvocation(Object proxy, Object target, Method method, Object[] arguments, Class<?> targetClass, List<Object> interceptorsAndDynamicMethodMatchers) Construct a new ReflectiveMethodInvocation with the given arguments.protectedReflectiveMethodInvocation(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
Methods in org.springframework.aop.framework.adapter with annotations of type NullableModifier and TypeMethodDescriptionAfterReturningAdviceInterceptor.invoke(MethodInvocation mi) MethodBeforeAdviceInterceptor.invoke(MethodInvocation mi) ThrowsAdviceInterceptor.invoke(MethodInvocation mi) -
Uses of Nullable in org.springframework.aop.framework.autoproxy
Fields in org.springframework.aop.framework.autoproxy with annotations of type NullableModifier and TypeFieldDescriptionprotected static final Object[]AbstractAutoProxyCreator.DO_NOT_PROXYConvenience constant for subclasses: Return value for "do not proxy".Methods in org.springframework.aop.framework.autoproxy with annotations of type NullableModifier 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 regulargetTypelookup.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 (for example, AOP Alliance interceptors) and advisors to apply.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 BeanFactoryAbstractAutoProxyCreator.getBeanFactory()Return the owningBeanFactory.static StringProxyCreationContext.getCurrentProxiedBeanName()Return the name of the currently proxied bean instance.protected TargetSourceAbstractAutoProxyCreator.getCustomTargetSource(Class<?> beanClass, String beanName) Create a target source for bean instances.protected TargetSourceBeanNameAutoProxyCreator.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, returningnullotherwise.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) Method parameters in org.springframework.aop.framework.autoproxy with annotations of type NullableModifier 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 ObjectAbstractAutoProxyCreator.createProxy(Class<?> beanClass, String beanName, Object[] specificInterceptors, TargetSource targetSource) Create an AOP proxy for the given bean.protected ObjectAbstractAutoProxyCreator.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 regulargetTypelookup.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 (for example, AOP Alliance interceptors) and advisors to apply.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 ObjectAbstractAutoProxyCreator.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.voidDefaultAdvisorAutoProxyCreator.setAdvisorBeanNamePrefix(String advisorBeanNamePrefix) Set the prefix for bean names that will cause them to be included for auto-proxying by this object.protected booleanAbstractAutoProxyCreator.shouldProxyTargetClass(Class<?> beanClass, String beanName) Determine whether the given bean should be proxied with its target class rather than its interfaces.static booleanAutoProxyUtils.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
Methods in org.springframework.aop.framework.autoproxy.target with annotations of type NullableModifier and TypeMethodDescriptionprotected abstract AbstractBeanFactoryBasedTargetSourceAbstractBeanFactoryBasedTargetSourceCreator.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, ornullif they are not interested it in, in which case no special target source will be created.protected AbstractBeanFactoryBasedTargetSourceLazyInitTargetSourceCreator.createBeanFactoryBasedTargetSource(Class<?> beanClass, String beanName) protected final AbstractBeanFactoryBasedTargetSourceQuickTargetSourceCreator.createBeanFactoryBasedTargetSource(Class<?> beanClass, String beanName) protected final BeanFactoryAbstractBeanFactoryBasedTargetSourceCreator.getBeanFactory()Return the BeanFactory that this TargetSourceCreators runs in.final TargetSourceAbstractBeanFactoryBasedTargetSourceCreator.getTargetSource(Class<?> beanClass, String beanName) -
Uses of Nullable in org.springframework.aop.interceptor
Fields in org.springframework.aop.interceptor with annotations of type NullableModifier and TypeFieldDescriptionprotected LogAbstractTraceInterceptor.defaultLoggerThe defaultLoginstance used to write trace messages.Methods in org.springframework.aop.interceptor with annotations of type NullableModifier and TypeMethodDescriptionprotected AsyncTaskExecutorAsyncExecutionAspectSupport.determineAsyncExecutor(Method method) Determine the specific executor to use when executing the given method.protected ObjectAsyncExecutionAspectSupport.doSubmit(Callable<Object> task, AsyncTaskExecutor executor, Class<?> returnType) Delegate for actually executing the given task with the chosen executor.protected ExecutorAsyncExecutionAspectSupport.findQualifiedExecutor(BeanFactory beanFactory, String qualifier) Retrieve a target executor for the given qualifier.protected ExecutorAsyncExecutionAspectSupport.getDefaultExecutor(BeanFactory beanFactory) Retrieve or build a default executor for this advice instance.protected ExecutorAsyncExecutionInterceptor.getDefaultExecutor(BeanFactory beanFactory) This implementation searches for a uniqueTaskExecutorbean in the context, or for anExecutorbean named "taskExecutor" otherwise.protected abstract StringAsyncExecutionAspectSupport.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 StringAsyncExecutionInterceptor.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 ObjectAbstractTraceInterceptor.invokeUnderTrace(MethodInvocation invocation, Log logger) Subclasses must override this method to perform any tracing around the suppliedMethodInvocation.Method parameters in org.springframework.aop.interceptor with annotations of type NullableModifier and TypeMethodDescriptionvoidAsyncExecutionAspectSupport.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.voidAsyncExecutionAspectSupport.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 ExecutorAsyncExecutionAspectSupport.findQualifiedExecutor(BeanFactory beanFactory, String qualifier) Retrieve a target executor for the given qualifier.protected ExecutorAsyncExecutionAspectSupport.getDefaultExecutor(BeanFactory beanFactory) Retrieve or build a default executor for this advice instance.protected ExecutorAsyncExecutionInterceptor.getDefaultExecutor(BeanFactory beanFactory) This implementation searches for a uniqueTaskExecutorbean in the context, or for anExecutorbean named "taskExecutor" otherwise.protected StringCustomizableTraceInterceptor.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 StringCustomizableTraceInterceptor.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.voidSet the text that will get appended to the trace data.voidSet the text that will get prepended to the trace data.protected voidAbstractTraceInterceptor.writeToLog(Log logger, String message, Throwable ex) Write the supplied trace message andThrowableto the suppliedLoginstance.Constructor parameters in org.springframework.aop.interceptor with annotations of type NullableModifierConstructorDescriptionAsyncExecutionAspectSupport(Executor defaultExecutor) Create a new instance with a defaultAsyncUncaughtExceptionHandler.AsyncExecutionAspectSupport(Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAsyncExecutionAspectSupportwith 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
Methods in org.springframework.aop.scope with annotations of type NullableModifier and TypeMethodDescriptionScopedProxyFactoryBean.getObject()Class<?>ScopedProxyFactoryBean.getObjectType()Method parameters in org.springframework.aop.scope with annotations of type NullableModifier and TypeMethodDescriptionstatic StringScopedProxyUtils.getOriginalBeanName(String targetBeanName) Get the original bean name for the provided target bean name.static booleanScopedProxyUtils.isScopedTarget(String beanName) Determine if thebeanNameis the name of a bean that references the target bean within a scoped proxy. -
Uses of Nullable in org.springframework.aop.support
Methods in org.springframework.aop.support with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectDelegatePerTargetObjectIntroductionInterceptor.doProceed(MethodInvocation mi) Proceed with the suppliedMethodInterceptor.protected ObjectDelegatingIntroductionInterceptor.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 ObjectAopUtils.invokeJoinpointUsingReflection(Object target, Method method, Object[] args) Invoke the given target via reflection, as part of an AOP method invocation.Method parameters in org.springframework.aop.support with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanstatic MethodAopUtils.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 ObjectAopUtils.invokeJoinpointUsingReflection(Object target, Method method, Object[] args) Invoke the given target via reflection, as part of an AOP method invocation.static booleanAopUtils.isAopProxy(Object object) Check whether the given object is a JDK dynamic proxy or a CGLIB proxy.static booleanAopUtils.isCglibProxy(Object object) Check whether the given object is a CGLIB proxy.static booleanAopUtils.isEqualsMethod(Method method) Determine whether the given method is an "equals" method.static booleanAopUtils.isFinalizeMethod(Method method) Determine whether the given method is a "finalize" method.static booleanAopUtils.isHashCodeMethod(Method method) Determine whether the given method is a "hashCode" method.static booleanAopUtils.isJdkDynamicProxy(Object object) Check whether the given object is a JDK dynamic proxy.static booleanAopUtils.isToStringMethod(Method method) Determine whether the given method is a "toString" method.protected voidAbstractExpressionPointcut.onSetExpression(String expression) Called when a new pointcut expression is set.static MethodAopUtils.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.voidAbstractBeanFactoryPointcutAdvisor.setAdviceBeanName(String adviceBeanName) Specify the name of the advice bean that this advisor should refer to.voidAbstractExpressionPointcut.setExpression(String expression) voidAbstractExpressionPointcut.setLocation(String location) Set the location for debugging.voidDefaultBeanFactoryPointcutAdvisor.setPointcut(Pointcut pointcut) Specify the pointcut targeting the advice.voidDefaultPointcutAdvisor.setPointcut(Pointcut pointcut) Specify the pointcut targeting the advice.Constructor parameters in org.springframework.aop.support with annotations of type NullableModifierConstructorDescriptionControlFlowPointcut(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
Method parameters in org.springframework.aop.support.annotation with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanbooleanConstructor parameters in org.springframework.aop.support.annotation with annotations of type NullableModifierConstructorDescriptionAnnotationMatchingPointcut(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
Fields in org.springframework.aop.target with annotations of type NullableModifier and TypeFieldDescriptionprotected StringAbstractBeanFactoryBasedTargetSource.targetBeanNameName of the target bean we will create on each invocation.Methods in org.springframework.aop.target with annotations of type NullableModifier and TypeMethodDescriptionabstract ObjectAbstractPoolingTargetSource.getTarget()Acquire an object from the pool.EmptyTargetSource.getTarget()Always returnsnull.Class<?>AbstractBeanFactoryBasedTargetSource.getTargetClass()Class<?>AbstractLazyCreationTargetSource.getTargetClass()This default implementation returnsnullif 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, ornullif none.Method parameters in org.springframework.aop.target with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanbooleanTwo HotSwappableTargetSources are equal if the current target objects are equal.booleanTwo invoker interceptors are equal if they have the same target or if the targets or the targets are equal.static EmptyTargetSourceReturn an EmptyTargetSource for the given target Class.static EmptyTargetSourceReturn an EmptyTargetSource for the given target Class. -
Uses of Nullable in org.springframework.aop.target.dynamic
Fields in org.springframework.aop.target.dynamic with annotations of type NullableMethods in org.springframework.aop.target.dynamic with annotations of type Nullable -
Uses of Nullable in org.springframework.aot.agent
Methods in org.springframework.aot.agent with annotations of type NullableModifier and TypeMethodDescriptionstatic URLInstrumentedBridgeMethods.classgetResource(Class<?> clazz, String name) Deprecated.static InputStreamInstrumentedBridgeMethods.classgetResourceAsStream(Class<?> clazz, String name) Deprecated.static URLInstrumentedBridgeMethods.classloadergetResource(ClassLoader classLoader, String name) Deprecated.static InputStreamInstrumentedBridgeMethods.classloadergetResourceAsStream(ClassLoader classLoader, String name) Deprecated.<T> TRecordedInvocation.getReturnValue()Return the value actually returned by the invoked method.Method parameters in org.springframework.aot.agent with annotations of type NullableModifier and TypeMethodDescriptionbooleanstatic voidRuntimeHintsAgent.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
Methods in org.springframework.aot.generate with annotations of type NullableModifier and TypeMethodDescriptionorg.springframework.javapoet.CodeBlockMethodReference.ArgumentCodeGenerator.generateCode(org.springframework.javapoet.TypeName argumentType) Generate the code for the given argument type.org.springframework.javapoet.CodeBlockValueCodeGenerator.Delegate.generateCode(ValueCodeGenerator valueCodeGenerator, Object value) Generate the code for the specified non-nullvalue.org.springframework.javapoet.CodeBlockValueCodeGeneratorDelegates.CollectionDelegate.generateCode(ValueCodeGenerator valueCodeGenerator, Object value) org.springframework.javapoet.CodeBlockValueCodeGeneratorDelegates.MapDelegate.generateCode(ValueCodeGenerator valueCodeGenerator, Object value) protected org.springframework.javapoet.CodeBlockValueCodeGeneratorDelegates.MapDelegate.generateMapCode(ValueCodeGenerator valueCodeGenerator, Map<?, ?> map) Generate the code for a non-emptyMap.GeneratedFiles.FileHandler.getContent()Return anInputStreamSourcefor the content of the file ornullif the file does not exist.GeneratedClass.getEnclosingClass()Return the enclosingGeneratedClassornullif this instance represents a top-level class.InMemoryGeneratedFiles.getGeneratedFile(GeneratedFiles.Kind kind, String path) Return theInputStreamSourceof specified file.InMemoryGeneratedFiles.getGeneratedFileContent(GeneratedFiles.Kind kind, String path) Return the content of the specified file.ValueCodeGenerator.getGeneratedMethods()Return theGeneratedMethodsthat represents the scope in which code generated by this instance will be added, ornullif no specific scope is set.ValueCodeGenerationException.getValue()Return the value that failed to be generated.Method parameters in org.springframework.aot.generate with annotations of type NullableModifier and TypeMethodDescriptionorg.springframework.javapoet.ClassNameClassNameGenerator.generateClassName(String featureName, org.springframework.javapoet.ClassName target) Generate a uniqueClassNamebased on the specifiedfeatureNameandtarget.org.springframework.javapoet.CodeBlockValueCodeGenerator.generateCode(Object value) Generate the code that represents the specifiedvalue.org.springframework.javapoet.CodeBlockDefaultMethodReference.toInvokeCodeBlock(MethodReference.ArgumentCodeGenerator argumentCodeGenerator, org.springframework.javapoet.ClassName targetClassName) org.springframework.javapoet.CodeBlockMethodReference.toInvokeCodeBlock(MethodReference.ArgumentCodeGenerator argumentCodeGenerator, org.springframework.javapoet.ClassName targetClassName) Return this method reference as aCodeBlockusing the specifiedMethodReference.ArgumentCodeGenerator.Constructor parameters in org.springframework.aot.generate with annotations of type NullableModifierConstructorDescriptionDefaultMethodReference(org.springframework.javapoet.MethodSpec method, org.springframework.javapoet.ClassName declaringClass) ValueCodeGenerationException(Object value, Throwable cause) protectedValueCodeGenerationException(String message, Object value, Throwable cause) protectedValueCodeGenerationException(String message, Object value, Throwable cause) -
Uses of Nullable in org.springframework.aot.hint
Methods in org.springframework.aot.hint with annotations of type NullableModifier and TypeMethodDescriptionAbstractTypeReference.getEnclosingType()TypeReference.getEnclosingType()Return the enclosing type reference, ornullif this type reference does not have an enclosing type.ConditionalHint.getReachableType()Return the type that should be reachable for this hint to apply, ornullif 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.Method parameters in org.springframework.aot.hint with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanResourcePatternHints.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.voidRuntimeHintsRegistrar.registerHints(RuntimeHints hints, ClassLoader classLoader) Contribute hints to the givenRuntimeHintsinstance.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 givenlocationis 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 specifiedTypeReferenceneed 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.Constructor parameters in org.springframework.aot.hint with annotations of type NullableModifierConstructorDescriptionprotectedAbstractTypeReference(String packageName, String simpleName, TypeReference enclosingType) -
Uses of Nullable in org.springframework.aot.hint.support
Method parameters in org.springframework.aot.hint.support with annotations of type NullableModifier and TypeMethodDescriptionvoidFilePatternResourceHintsRegistrar.Builder.registerHints(ResourceHints hints, ClassLoader classLoader) Register resource hints for the current state of this builder.voidFilePatternResourceHintsRegistrar.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
Constructor parameters in org.springframework.aot.nativex with annotations of type NullableModifierConstructorDescriptionFileNativeConfigurationWriter(Path basePath, String groupId, String artifactId) FileNativeConfigurationWriter(Path basePath, String groupId, String artifactId) -
Uses of Nullable in org.springframework.beans
Fields in org.springframework.beans with annotations of type NullableModifier and TypeFieldDescriptionString[]AbstractNestablePropertyAccessor.PropertyTokenHolder.keysMethods in org.springframework.beans with annotations of type NullableModifier and TypeMethodDescriptionstatic String[]PropertyAccessorUtils.canonicalPropertyNames(String[] propertyNames) Determine the canonical names for the given property paths.protected ObjectAbstractNestablePropertyAccessor.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> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, Field field) Convert the value to the required type (if necessary from a String).default <T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) Convert the value to the required type (if necessary from a String).<T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, Field field) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> TTypeConverterSupport.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 MethodBeanUtils.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 MethodBeanUtils.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 PropertyEditorBeanUtils.findEditorByConvention(Class<?> targetType) Find a JavaBeans PropertyEditor following the 'Editor' suffix convention (for example, "mypackage.MyDomainClass" → "mypackage.MyDomainClassEditor").static MethodBeanUtils.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 MethodBeanUtils.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 MethodBeanUtils.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 PropertyDescriptorBeanUtils.findPropertyForMethod(Method method) Find a JavaBeansPropertyDescriptorfor the given method, with the method either being the read method or the write method for that bean property.static PropertyDescriptorBeanUtils.findPropertyForMethod(Method method, Class<?> clazz) Find a JavaBeansPropertyDescriptorfor 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.PropertyHandlerAbstractNestablePropertyAccessor.getLocalPropertyHandler(String propertyName) Return aAbstractNestablePropertyAccessor.PropertyHandlerfor the specified localpropertyName.protected org.springframework.beans.BeanWrapperImpl.BeanPropertyHandlerBeanWrapperImpl.getLocalPropertyHandler(String propertyName) protected org.springframework.beans.DirectFieldAccessor.FieldPropertyHandlerDirectFieldAccessor.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, ornullif there isn't any.PropertyAccessException.getPropertyChangeEvent()Return the PropertyChangeEvent that resulted in the problem.static PropertyDescriptorBeanUtils.getPropertyDescriptor(Class<?> clazz, String propertyName) Retrieve the JavaBeansPropertyDescriptorsfor the given property.AbstractNestablePropertyAccessor.getPropertyHandler(String propertyName) Return theAbstractNestablePropertyAccessor.PropertyHandlerfor 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 ObjectAbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.PropertyTokenHolder tokens) abstract ObjectAbstractPropertyAccessor.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 ObjectBeanMetadataElement.getSource()Return the configuration sourceObjectfor this metadata element (may benull).abstract ObjectAbstractNestablePropertyAccessor.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 TypeDescriptorAbstractNestablePropertyAccessor.PropertyHandler.nested(int level) BeanMetadataAttributeAccessor.removeAttribute(String name) static MethodBeanUtils.resolveSignature(String signature, Class<?> clazz) Parse a method signature in the formmethodName[([arg_list])], wherearg_listis an optional, comma-separated list of fully-qualified type names, and attempts to resolve that signature against the suppliedClass.Method parameters in org.springframework.beans with annotations of type NullableModifier and TypeMethodDescriptionstatic voidCachedIntrospectionResults.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 StringPropertyAccessorUtils.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 voidCachedIntrospectionResults.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.booleanprotected ObjectAbstractNestablePropertyAccessor.convertForProperty(String propertyName, Object oldValue, Object newValue, TypeDescriptor td) protected ObjectAbstractNestablePropertyAccessor.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> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, Field field) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, Field field) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, Field field) Convert the value to the required type (if necessary from a String).default <T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) Convert the value to the required type (if necessary from a String).default <T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) Convert the value to the required type (if necessary from a String).default <T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) Convert the value to the required type (if necessary from a String).<T> TTypeConverter.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) Convert the value to the required type (if necessary from a String).<T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, Field field) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, Field field) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, Field field) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, TypeDescriptor typeDescriptor) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) <T> TTypeConverterSupport.convertIfNecessary(Object value, Class<T> requiredType, MethodParameter methodParam) protected voidPropertyEditorRegistrySupport.copyCustomEditorsTo(PropertyEditorRegistry target, String nestedProperty) Copy the custom editors registered in this instance to the given target registry.booleanbooleanbooleanPropertyEditorRegistry.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 PropertyEditorBeanUtils.findEditorByConvention(Class<?> targetType) Find a JavaBeans PropertyEditor following the 'Editor' suffix convention (for example, "mypackage.MyDomainClass" → "mypackage.MyDomainClassEditor").static Class<?>BeanUtils.findPropertyType(String propertyName, Class<?>... beanClasses) Determine the bean property type for the given property from the given classes/interfaces, if possible.booleanPropertyEditorRegistrySupport.hasCustomEditorForElement(Class<?> elementType, String propertyPath) Determine whether this registry contains a custom editor for the specified array/collection element.booleanPropertyEditorRegistrySupport.hasCustomEditorForElement(Class<?> elementType, String propertyPath) Determine whether this registry contains a custom editor for the specified array/collection element.static booleanPropertyAccessorUtils.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.voidPropertyEditorRegistry.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.voidPropertyEditorRegistry.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.voidPropertyEditorRegistrySupport.registerCustomEditor(Class<?> requiredType, String propertyPath, PropertyEditor propertyEditor) voidPropertyEditorRegistrySupport.registerCustomEditor(Class<?> requiredType, String propertyPath, PropertyEditor propertyEditor) voidBeanMetadataAttributeAccessor.setAttribute(String name, Object value) voidConfigurablePropertyAccessor.setConversionService(ConversionService conversionService) Specify aConversionServiceto use for converting property values, as an alternative to JavaBeans PropertyEditors.voidPropertyEditorRegistrySupport.setConversionService(ConversionService conversionService) Specify aConversionServiceto use for converting property values, as an alternative to JavaBeans PropertyEditors.voidPropertyValue.setConvertedValue(Object value) Set the converted value of this property value, after processed type conversion.voidAbstractNestablePropertyAccessor.setPropertyValue(String propertyName, Object value) abstract voidAbstractPropertyAccessor.setPropertyValue(String propertyName, Object value) Actually set a property value.voidPropertyAccessor.setPropertyValue(String propertyName, Object value) Set the specified value as current property value.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.abstract voidbooleanAbstractNestablePropertyAccessor.PropertyHandler.setValueFallbackIfPossible(Object value) voidAbstractNestablePropertyAccessor.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.voidAbstractNestablePropertyAccessor.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.voidBeanWrapperImpl.setWrappedInstance(Object object, String nestedPath, Object rootObject) voidBeanWrapperImpl.setWrappedInstance(Object object, String nestedPath, Object rootObject) Constructor parameters in org.springframework.beans with annotations of type NullableModifierConstructorDescriptionBeanInstantiationException(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 newAttributeValueinstance.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 newTypeMismatchExceptionwithout aPropertyChangeEvent.TypeMismatchException(Object value, Class<?> requiredType) Create a newTypeMismatchExceptionwithout aPropertyChangeEvent.TypeMismatchException(Object value, Class<?> requiredType, Throwable cause) Create a newTypeMismatchExceptionwithout aPropertyChangeEvent.TypeMismatchException(Object value, Class<?> requiredType, Throwable cause) Create a newTypeMismatchExceptionwithout aPropertyChangeEvent.TypeMismatchException(Object value, Class<?> requiredType, Throwable cause) Create a newTypeMismatchExceptionwithout aPropertyChangeEvent. -
Uses of Nullable in org.springframework.beans.factory
Fields in org.springframework.beans.factory with annotations of type NullableModifier and TypeFieldDescriptionprotected FieldInjectionPoint.fieldprotected MethodParameterInjectionPoint.methodParameterMethods in org.springframework.beans.factory with annotations of type NullableModifier and TypeMethodDescription<A extends Annotation>
AListableBeanFactory.findAnnotationOnBean(String beanName, Class<A> annotationType) Find anAnnotationofannotationTypeon 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 anAnnotationofannotationTypeon 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.default TObjectProvider.getIfAvailable()Return an instance (possibly shared or independent) of the object managed by this factory.default TObjectProvider.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, ornullif not known in advance.HierarchicalBeanFactory.getParentBeanFactory()Return the parent bean factory, ornullif there is none.BeanCreationException.getRelatedCauses()Return the related causes, if any.NoSuchBeanDefinitionException.getResolvableType()Return the requiredResolvableTypeof 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.Method parameters in org.springframework.beans.factory with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanString[]ListableBeanFactory.getBeanNamesForType(Class<?> type) Return the names of beans matching the given type (including subclasses), judging from either bean definitions or the value ofgetObjectTypein 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 ofgetObjectTypein 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 ofgetObjectTypein 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 ofgetObjectTypein the case of FactoryBeans.static booleanBeanFactoryUtils.isFactoryDereference(String name) Return whether the given name is a factory dereference (beginning with the factory dereference prefix).static booleanBeanFactoryUtils.isGeneratedBeanName(String name) Return whether the given name is a bean name which has been generated by the default naming strategy (containing a "#..." part).Constructor parameters in org.springframework.beans.factory with annotations of type NullableModifierConstructorDescriptionBeanCreationException(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
Fields in org.springframework.beans.factory.annotation with annotations of type NullableModifier and TypeFieldDescriptionprotected final PropertyDescriptorInjectionMetadata.InjectedElement.pdprotected BooleanInjectionMetadata.InjectedElement.skipMethods in org.springframework.beans.factory.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected BooleanQualifierAnnotationAutowireCandidateResolver.checkQualifiers(BeanDefinitionHolder bdHolder, Annotation[] annotationsToSearch) Match the given qualifier annotations against the candidate bean definition.Constructor<?>[]AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(Class<?> beanClass, String beanName) protected ObjectQualifierAnnotationAutowireCandidateResolver.findValue(Annotation[] annotationsToSearch) Determine a suggested value from any of the given candidate annotations.protected AnnotationQualifierAnnotationAutowireCandidateResolver.getFactoryMethodAnnotation(RootBeanDefinition bd, Class<? extends Annotation> type) AnnotatedBeanDefinition.getFactoryMethodMetadata()Obtain metadata for this bean definition's factory method, if any.final MethodMetadataAnnotatedGenericBeanDefinition.getFactoryMethodMetadata()protected AnnotationQualifierAnnotationAutowireCandidateResolver.getQualifiedElementAnnotation(RootBeanDefinition bd, Class<? extends Annotation> type) static StringBeanFactoryAnnotationUtils.getQualifierValue(AnnotatedElement annotatedElement) Determine thequalifier valuefor the given annotated element.protected ObjectInjectionMetadata.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.getSuggestedName(DependencyDescriptor descriptor) QualifierAnnotationAutowireCandidateResolver.getSuggestedValue(DependencyDescriptor descriptor) Determine whether the given dependency declares a value annotation.AutowiredAnnotationBeanPostProcessor.processAheadOfTime(RegisteredBean registeredBean) InitDestroyAnnotationBeanPostProcessor.processAheadOfTime(RegisteredBean registeredBean) static ObjectParameterResolutionDelegate.resolveDependency(Parameter parameter, int parameterIndex, Class<?> containingClass, AutowireCapableBeanFactory beanFactory) Resolve the dependency for the suppliedParameterfrom the suppliedAutowireCapableBeanFactory.AnnotationBeanWiringInfoResolver.resolveWiringInfo(Object beanInstance) Method parameters in org.springframework.beans.factory.annotation with annotations of type NullableModifier and TypeMethodDescriptionvoidInitDestroyAnnotationBeanPostProcessor.addDestroyAnnotationType(Class<? extends Annotation> destroyAnnotationType) Add a destroy annotation to check for, indicating destruction methods to call when the context is shutting down.voidInitDestroyAnnotationBeanPostProcessor.addInitAnnotationType(Class<? extends Annotation> initAnnotationType) Add an init annotation to check for, indicating initialization methods to call after configuration of a bean.protected booleanInjectionMetadata.InjectedElement.checkPropertySkipping(PropertyValues pvs) Check whether this injector's property needs to be skipped due to an explicit property value having been specified.voidInjectionMetadata.clear(PropertyValues pvs) Clear property skipping for the contained elements.protected voidInjectionMetadata.InjectedElement.clearPropertySkipping(PropertyValues pvs) Clear property skipping for this element.booleanInjectionMetadata.getInjectedElements(PropertyValues pvs) Return theelementsto inject based on the specifiedPropertyValues.protected ObjectInjectionMetadata.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.voidInjectionMetadata.inject(Object target, String beanName, PropertyValues pvs) voidInjectionMetadata.inject(Object target, String beanName, PropertyValues pvs) protected voidInjectionMetadata.InjectedElement.inject(Object target, String requestingBeanName, PropertyValues pvs) Either this orInjectionMetadata.InjectedElement.getResourceToInject(java.lang.Object, java.lang.String)needs to be overridden.protected voidInjectionMetadata.InjectedElement.inject(Object target, String requestingBeanName, PropertyValues pvs) Either this orInjectionMetadata.InjectedElement.getResourceToInject(java.lang.Object, java.lang.String)needs to be overridden.static booleanBeanFactoryAnnotationUtils.isQualifierMatch(Predicate<String> qualifier, String beanName, BeanFactory beanFactory) Check whether the named bean declares a qualifier of the given name.static booleanInjectionMetadata.needsRefresh(InjectionMetadata metadata, Class<?> clazz) Check whether the given injection metadata needs to be refreshed.voidCustomAutowireConfigurer.setBeanClassLoader(ClassLoader beanClassLoader) protected booleanInjectionMetadata.InjectedElement.shouldInject(PropertyValues pvs) Whether the property values should be injected.Constructor parameters in org.springframework.beans.factory.annotation with annotations of type Nullable -
Uses of Nullable in org.springframework.beans.factory.aot
Methods in org.springframework.beans.factory.aot with annotations of type NullableModifier 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> TAutowiredArguments.get(int index) Return the resolved argument at the specified index.default <T> TReturn the resolved argument at the specified index.BeanInstanceSupplier.getFactoryMethod()default ObjectAutowiredArguments.getObject(int index) Return the resolved argument at the specified index.BeanFactoryInitializationAotProcessor.processAheadOfTime(ConfigurableListableBeanFactory beanFactory) Process the givenConfigurableListableBeanFactoryinstance ahead-of-time and return a contribution ornull.BeanRegistrationAotProcessor.processAheadOfTime(RegisteredBean registeredBean) Process the givenRegisteredBeaninstance ahead-of-time and return a contribution ornull.<T> TAutowiredFieldValueResolver.resolve(RegisteredBean registeredBean) Resolve the field value for the specified registered bean.<T> TAutowiredFieldValueResolver.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.Method parameters in org.springframework.beans.factory.aot with annotations of type NullableModifier 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.LoaderAotServices.factories(ClassLoader classLoader) Create a newAotServices.Loaderthat will obtain AOT services from "META-INF/spring/aot.factories".Constructor parameters in org.springframework.beans.factory.aot with annotations of type NullableModifierConstructorDescriptionAotBeanProcessingException(RegisteredBean registeredBean, String msg, Throwable cause) Create an instance with theRegisteredBeanthat fails to be processed, a detail message, and an optional root cause.protectedAotException(String msg, Throwable cause) Create an instance with the specified message and root cause.protectedAotException(String msg, Throwable cause) Create an instance with the specified message and root cause.AotProcessingException(String msg, Throwable cause) Create a new instance with the detail message and a root cause, if any. -
Uses of Nullable in org.springframework.beans.factory.config
Fields in org.springframework.beans.factory.config with annotations of type NullableModifier and TypeFieldDescriptionprotected CharacterPlaceholderConfigurerSupport.escapeCharacterThe default is determined byAbstractPropertyResolver.getDefaultEscapeCharacter().protected StringPlaceholderConfigurerSupport.nullValueprotected StringPlaceholderConfigurerSupport.valueSeparatorDefaults to ":".Methods in org.springframework.beans.factory.config with annotations of type NullableModifier 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 (onlynullif 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 BeanFactoryAbstractFactoryBean.getBeanFactory()Return the BeanFactory that this bean runs in.Class<?>RuntimeBeanReference.getBeanType()Return the requested bean type if resolution by type is demanded.ConfigurableBeanFactory.getBootstrapExecutor()Return theExecutor(possibly aTaskExecutor) for background bootstrapping, if any.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 PropertiesPropertiesFactoryBean.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, ornullif not known in advance.Class<?>PropertyPathFactoryBean.getObjectType()Class<?>ServiceLocatorFactoryBean.getObjectType()BeanDefinition.getOriginatingBeanDefinition()Return the originating BeanDefinition, ornullif 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, ornullif not known yet.final ScopeBeanExpressionContext.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 ObjectMethodInvokingBean.invokeWithTargetException()Perform the invocation and convert InvocationTargetException into the underlying target exception.default ObjectBeanPostProcessor.postProcessAfterInitialization(Object bean, String beanName) Apply thisBeanPostProcessorto the given new bean instance after any bean initialization callbacks (like InitializingBean'safterPropertiesSetor a custom init-method).default ObjectBeanPostProcessor.postProcessBeforeInitialization(Object bean, String beanName) Apply thisBeanPostProcessorto the given new bean instance before any bean initialization callbacks (like InitializingBean'safterPropertiesSetor a custom init-method).default ObjectInstantiationAwareBeanPostProcessor.postProcessBeforeInstantiation(Class<?> beanClass, String beanName) Apply this BeanPostProcessor before the target bean gets instantiated.default PropertyValuesInstantiationAwareBeanPostProcessor.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 givennamefrom 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, for example, an annotation attribute.DependencyDescriptor.resolveNotUnique(ResolvableType type, Map<String, Object> matchingBeans) Resolve the specified not-unique scenario: by default, throwing aNoUniqueBeanDefinitionException.protected StringPreferencesPlaceholderConfigurer.resolvePlaceholder(String path, String key, Preferences preferences) Deprecated.Resolve the given path and key against the given Preferences.protected StringPropertyPlaceholderConfigurer.resolvePlaceholder(String placeholder, Properties props) Deprecated.Resolve the given placeholder using the given properties.protected StringPropertyPlaceholderConfigurer.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 StringBeanDefinitionVisitor.resolveStringValue(String strVal) Resolve the given String value, for example parsing placeholders.EmbeddedValueResolver.resolveStringValue(String strVal) protected StringPropertyPlaceholderConfigurer.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 ObjectBeanDefinitionVisitor.resolveValue(Object value) Method parameters in org.springframework.beans.factory.config with annotations of type NullableModifier and TypeMethodDescriptionvoidConstructorArgumentValues.addArgumentValues(ConstructorArgumentValues other) Copy all given argument values into this object, using separate holder instances to keep the values independent of the original object.voidConstructorArgumentValues.addGenericArgumentValue(Object value) Add a generic argument value to be matched by type.voidConstructorArgumentValues.addIndexedArgumentValue(int index, Object value) Add an argument value for the given index in the constructor argument list.voidConstructorArgumentValues.addIndexedArgumentValue(int index, Object value, String type) Add an argument value for the given index in the constructor argument list.intTypedStringValue.compareTo(TypedStringValue o) protected voidAbstractFactoryBean.destroyInstance(T instance) Callback for destroying a singleton instance.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanBeanExpressionResolver.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.voidDependencyDescriptor.initParameterNameDiscovery(ParameterNameDiscoverer parameterNameDiscoverer) Initialize parameter name discovery for the underlying method parameter, if any.booleanBeanDefinitionHolder.matchesName(String candidateName) Determine whether the given candidate name matches the bean name or the aliases stored in this bean definition.voidConfigurableListableBeanFactory.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 StringPreferencesPlaceholderConfigurer.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 ObjectBeanDefinitionVisitor.resolveValue(Object value) voidConfigurableBeanFactory.setBeanClassLoader(ClassLoader beanClassLoader) Set the class loader to use for loading bean classes.voidCustomScopeConfigurer.setBeanClassLoader(ClassLoader beanClassLoader) voidBeanDefinition.setBeanClassName(String beanClassName) Specify the bean class name of this bean definition.voidConfigurableBeanFactory.setBeanExpressionResolver(BeanExpressionResolver resolver) Specify the resolution strategy for expressions in bean definition values.voidAbstractFactoryBean.setBeanFactory(BeanFactory beanFactory) voidConfigurableBeanFactory.setBootstrapExecutor(Executor executor) Set theExecutor(possibly aTaskExecutor) for background bootstrapping.voidConfigurableBeanFactory.setConversionService(ConversionService conversionService) Specify aConversionServiceto use for converting property values, as an alternative to JavaBeans PropertyEditors.voidConstructorArgumentValues.ValueHolder.setConvertedValue(Object value) Set the converted value of the constructor argument, after processed type conversion.voidBeanDefinition.setDependsOn(String... dependsOn) Set the names of the beans that this bean depends on being initialized.voidBeanDefinition.setDescription(String description) Set a human-readable description of this bean definition.voidBeanDefinition.setDestroyMethodName(String destroyMethodName) Set the name of the destroy method.voidPlaceholderConfigurerSupport.setEscapeCharacter(Character escapeCharacter) Set the escape character to use to ignore the placeholder prefix and the value separator, ornullif no escaping should take place.voidBeanDefinition.setFactoryBeanName(String factoryBeanName) Specify the factory bean to use, if any.voidBeanDefinition.setFactoryMethodName(String factoryMethodName) Specify a factory method, if any.voidBeanDefinition.setInitMethodName(String initMethodName) Set the name of the initializer method.voidSet the name of the constructor argument.voidBeanDefinition.setParentName(String parentName) Set the name of the parent definition of this bean definition, if any.voidOverride the target scope of this bean, specifying a new scope name.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.voidTypedStringValue.setSpecifiedTypeName(String specifiedTypeName) Set the type name as actually specified for this particular value, if any.voidFieldRetrievingFactoryBean.setTargetClass(Class<?> targetClass) Set the target class on which the field is defined.voidFieldRetrievingFactoryBean.setTargetField(String targetField) Set the name of the field to be retrieved.voidListFactoryBean.setTargetListClass(Class<? extends List> targetListClass) Set the class to use for the target List.voidMapFactoryBean.setTargetMapClass(Class<? extends Map> targetMapClass) Set the class to use for the target Map.voidFieldRetrievingFactoryBean.setTargetObject(Object targetObject) Set the target object on which the field is defined.voidSetFactoryBean.setTargetSetClass(Class<? extends Set> targetSetClass) Set the class to use for the target Set.voidTypedStringValue.setTargetTypeName(String targetTypeName) Specify the type to convert to.voidConfigurableBeanFactory.setTempClassLoader(ClassLoader tempClassLoader) Specify a temporary ClassLoader to use for type matching purposes.voidSet the type of the constructor argument.voidSet the value for the constructor argument.voidSet the String value.voidPlaceholderConfigurerSupport.setValueSeparator(String valueSeparator) Specify the separating character between the placeholder variable and the associated default value, ornullif no such special character should be processed as a value separator.Constructor parameters in org.springframework.beans.factory.config with annotations of type NullableModifierConstructorDescriptionBeanDefinitionHolder(BeanDefinition beanDefinition, String beanName, String[] aliases) Create a new BeanDefinitionHolder.BeanExpressionContext(ConfigurableBeanFactory beanFactory, Scope scope) TypedStringValue(String value) Create a newTypedStringValuefor the given String value.TypedStringValue(String value, Class<?> targetType) Create a newTypedStringValuefor the given String value and target type.TypedStringValue(String value, String targetTypeName) Create a newTypedStringValuefor 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
Methods in org.springframework.beans.factory.groovy with annotations of type NullableModifier and TypeMethodDescriptiongroovy.lang.BindingGroovyBeanDefinitionReader.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
Methods in org.springframework.beans.factory.parsing with annotations of type NullableModifier and TypeMethodDescriptionNullSourceExtractor.extractSource(Object sourceCandidate, Resource definitionResource) This implementation simply returnsnullfor 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 theParseStateat the time of the error (may benull).Problem.getRootCause()Get the underlying exception that caused the error (may benull).final ObjectAliasDefinition.getSource()CompositeComponentDefinition.getSource()final ObjectImportDefinition.getSource()Location.getSource()Get the actual location within the associatedresource(may benull).ParseState.peek()Return theParseState.Entrycurrently at the top of theArrayDequeornullif theArrayDequeis empty.Method parameters in org.springframework.beans.factory.parsing with annotations of type NullableModifier and TypeMethodDescriptionbooleanThis implementation expects the other object to be of type BeanComponentDefinition as well, in addition to the superclass's equality requirements.voidRaise a regular error.voidRaise a regular error.voidRaise a regular error.voidReaderContext.error(String message, Object source, ParseState parseState) Raise a regular error.voidReaderContext.error(String message, Object source, ParseState parseState) Raise a regular error.voidReaderContext.error(String message, Object source, ParseState parseState, Throwable cause) Raise a regular error.voidReaderContext.error(String message, Object source, ParseState parseState, Throwable cause) Raise a regular error.voidReaderContext.error(String message, Object source, ParseState parseState, Throwable cause) Raise a regular error.NullSourceExtractor.extractSource(Object sourceCandidate, Resource definitionResource) This implementation simply returnsnullfor any input.PassThroughSourceExtractor.extractSource(Object sourceCandidate, Resource definingResource) Simply returns the suppliedsourceCandidateas-is.SourceExtractor.extractSource(Object sourceCandidate, Resource definingResource) Extract the source metadata from the candidate object supplied by the configuration parser.voidRaise a fatal error.voidRaise a fatal error.voidRaise a fatal error.voidReaderContext.fatal(String message, Object source, ParseState parseState) Raise a fatal error.voidReaderContext.fatal(String message, Object source, ParseState parseState) Raise a fatal error.voidReaderContext.fatal(String message, Object source, ParseState parseState, Throwable cause) Raise a fatal error.voidReaderContext.fatal(String message, Object source, ParseState parseState, Throwable cause) Raise a fatal error.voidReaderContext.fatal(String message, Object source, ParseState parseState, Throwable cause) Raise a fatal error.voidReaderContext.fireAliasRegistered(String beanName, String alias, Object source) Fire an alias-registered event.voidReaderContext.fireImportProcessed(String importedResource, Object source) Fire an import-processed event.voidReaderContext.fireImportProcessed(String importedResource, Resource[] actualResources, Object source) Fire an import-processed event.voidSet theloggerthat is to be used to report warnings.voidRaise a non-critical warning.voidRaise a non-critical warning.voidRaise a non-critical warning.voidReaderContext.warning(String message, Object source, ParseState parseState) Raise a non-critical warning.voidReaderContext.warning(String message, Object source, ParseState parseState) Raise a non-critical warning.voidReaderContext.warning(String message, Object source, ParseState parseState, Throwable cause) Raise a non-critical warning.voidReaderContext.warning(String message, Object source, ParseState parseState, Throwable cause) Raise a non-critical warning.voidReaderContext.warning(String message, Object source, ParseState parseState, Throwable cause) Raise a non-critical warning.Constructor parameters in org.springframework.beans.factory.parsing with annotations of type NullableModifierConstructorDescriptionAliasDefinition(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 theLocationclass.Problem(String message, Location location, ParseState parseState, Throwable rootCause) Create a new instance of theProblemclass.Problem(String message, Location location, ParseState parseState, Throwable rootCause) Create a new instance of theProblemclass. -
Uses of Nullable in org.springframework.beans.factory.serviceloader
Methods in org.springframework.beans.factory.serviceloader with annotations of type NullableModifier and TypeMethodDescriptionClass<?>ServiceFactoryBean.getObjectType()Class<?>AbstractServiceLoaderBasedFactoryBean.getServiceType()Return the desired service type.Method parameters in org.springframework.beans.factory.serviceloader with annotations of type NullableModifier and TypeMethodDescriptionvoidAbstractServiceLoaderBasedFactoryBean.setBeanClassLoader(ClassLoader beanClassLoader) voidAbstractServiceLoaderBasedFactoryBean.setServiceType(Class<?> serviceType) Specify the desired service type (typically the service's public API). -
Uses of Nullable in org.springframework.beans.factory.support
Methods in org.springframework.beans.factory.support with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectAbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(Class<?> beanClass, String beanName) Apply InstantiationAwareBeanPostProcessors to the specified bean definition (by class and name), invoking theirpostProcessBeforeInstantiationmethods.protected StringDefaultListableBeanFactory.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 StringDefaultListableBeanFactory.determineHighestPriorityCandidate(Map<String, Object> candidates, Class<?> requiredType) Determine the candidate with the highest priority in the given set of beans.protected StringDefaultListableBeanFactory.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 ObjectEvaluate the given value as an expression, if necessary.protected ObjectBeanDefinitionValueResolver.evaluate(TypedStringValue value) Evaluate the given value as an expression, if necessary.protected ObjectAbstractBeanFactory.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 BeanFactoryGenericTypeAwareAutowireCandidateResolver.getBeanFactory()LookupOverride.getBeanName()Return the name of the bean that should be returned by thisLookupOverride.DefaultListableBeanFactory.getBootstrapExecutor()protected ObjectFactoryBeanRegistrySupport.getCachedObjectForFactoryBean(String beanName) Obtain an object to expose from the given FactoryBean, if available in cached form.AbstractBeanFactory.getConversionService()static MethodSimpleInstantiationStrategy.getCurrentlyInvokedFactoryMethod()Return the factory method currently being invoked ornullif none.protected TypeConverterAbstractBeanFactory.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.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 MethodInstanceSupplier.getFactoryMethod()Return the factory method that this supplier uses to create the instance, ornullif 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.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.default ObjectAutowireCandidateResolver.getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor, String beanName) Build a proxy for lazy resolution of the actual dependency target, if demanded by the injection point.AbstractBeanDefinition.getOriginatingBeanDefinition()Return the originating BeanDefinition, ornullif 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 ornullif 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 IntegerDefaultListableBeanFactory.getPriority(Object beanInstance) Return the priority assigned for the given bean instance by thejakarta.annotation.Priorityannotation.RootBeanDefinition.getQualifiedElement()Return theAnnotatedElementdefining qualifiers, if any.AbstractBeanDefinition.getQualifier(String typeName) Return the qualifier mapped to the provided type name.AbstractBeanFactory.getRegisteredScope(String scopeName) protected RootBeanDefinitionGenericTypeAwareAutowireCandidateResolver.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 theResourceLoaderto use for resource locations.protected ResolvableTypeGenericTypeAwareAutowireCandidateResolver.getReturnTypeForFactoryMethod(RootBeanDefinition rbd, DependencyDescriptor descriptor) AbstractBeanDefinition.getScope()Return the name of the current target scope for this bean, ornullif not known yet.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 ObjectDefaultSingletonBeanRegistry.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 StringAutowireCandidateResolver.getSuggestedName(DependencyDescriptor descriptor) Determine whether a target bean name is suggested for the given dependency (typically - but not necessarily - declared with a single-value qualifier).default ObjectAutowireCandidateResolver.getSuggestedValue(DependencyDescriptor descriptor) Determine whether a default value is suggested for the given dependency.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 BooleanDefaultListableBeanFactory.isCurrentThreadAllowedToHoldSingletonLock()protected BooleanDefaultSingletonBeanRegistry.isCurrentThreadAllowedToHoldSingletonLock()Determine whether the current thread is allowed to hold the singleton lock.protected ObjectAbstractAutowireCapableBeanFactory.obtainInstanceFromSupplier(Supplier<?> supplier, String beanName, RootBeanDefinition mbd) Obtain a bean instance from the given supplier.protected ObjectDefaultListableBeanFactory.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 ObjectAbstractAutowireCapableBeanFactory.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.Method parameters in org.springframework.beans.factory.support with annotations of type NullableModifier and TypeMethodDescriptionBeanDefinitionBuilder.addConstructorArgValue(Object value) Add an indexed constructor arg value.voidMethodOverrides.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 BeanWrapperAbstractAutowireCapableBeanFactory.autowireConstructor(String beanName, RootBeanDefinition mbd, Constructor<?>[] ctors, Object[] explicitArgs) "autowire constructor" (with constructor arguments by type) behavior.protected BeanWrapperAbstractAutowireCapableBeanFactory.autowireConstructor(String beanName, RootBeanDefinition mbd, Constructor<?>[] ctors, Object[] explicitArgs) "autowire constructor" (with constructor arguments by type) behavior.protected voidAbstractAutowireCapableBeanFactory.checkDependencies(String beanName, AbstractBeanDefinition mbd, PropertyDescriptor[] pds, PropertyValues pvs) Perform a dependency check that all properties exposed have been set, if desired.protected voidAbstractBeanFactory.checkMergedBeanDefinition(RootBeanDefinition mbd, String beanName, Object[] args) Check the given merged bean definition, potentially throwing validation exceptions.protected voidDefaultListableBeanFactory.checkMergedBeanDefinition(RootBeanDefinition mbd, String beanName, Object[] args) protected ObjectAbstractAutowireCapableBeanFactory.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 ObjectAbstractBeanFactory.createBean(String beanName, RootBeanDefinition mbd, Object[] args) Create a bean instance for the given merged bean definition (and arguments).static AbstractBeanDefinitionBeanDefinitionReaderUtils.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 AbstractBeanDefinitionBeanDefinitionReaderUtils.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 AbstractBeanDefinitionBeanDefinitionReaderUtils.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 BeanWrapperAbstractAutowireCapableBeanFactory.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 voidDefaultSingletonBeanRegistry.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 ObjectAbstractAutowireCapableBeanFactory.doCreateBean(String beanName, RootBeanDefinition mbd, Object[] args) Actually create the specified bean.protected <T> TAbstractBeanFactory.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> TAbstractBeanFactory.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) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanprotected ObjectEvaluate the given value as an expression, if necessary.protected ObjectAbstractBeanFactory.evaluateBeanDefinitionString(String value, BeanDefinition beanDefinition) Evaluate the given String as contained in a bean definition, potentially resolving it as an expression.protected ObjectAbstractBeanFactory.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> TReturn an instance, which may be shared or independent, of the specified bean.<T> TReturn an instance, which may be shared or independent, of the specified bean.<T> T<T> TString[]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.default ObjectAutowireCandidateResolver.getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor, String beanName) Build a proxy for lazy resolution of the actual dependency target, if demanded by the injection point.protected RootBeanDefinitionAbstractBeanFactory.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 ObjectAbstractAutowireCapableBeanFactory.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 aSuppliercallback.protected ObjectAbstractBeanFactory.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 ObjectAbstractAutowireCapableBeanFactory.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 BeanWrapperAbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(String beanName, RootBeanDefinition mbd, Object[] explicitArgs) Instantiate the bean using a named factory method.protected ObjectCglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner) protected ObjectCglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) protected ObjectCglibSubclassingInstantiationStrategy.instantiateWithMethodInjection(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) protected ObjectSimpleInstantiationStrategy.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 ObjectSimpleInstantiationStrategy.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 ObjectSimpleInstantiationStrategy.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 voidAbstractAutowireCapableBeanFactory.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).booleanDefaultSingletonBeanRegistry.isSingletonCurrentlyInCreation(String beanName) Return whether the specified singleton bean is currently in creation (within the entire factory).booleanStaticListableBeanFactory.isTypeMatch(String name, Class<?> typeToMatch) intAbstractBeanDefinitionReader.loadBeanDefinitions(String location, Set<Resource> actualResources) Load bean definitions from the specified resource location.intPropertiesBeanDefinitionReader.loadBeanDefinitions(Resource resource, String prefix) Deprecated.Load bean definitions from the specified properties file.intPropertiesBeanDefinitionReader.loadBeanDefinitions(EncodedResource encodedResource, String prefix) Deprecated.Load bean definitions from the specified properties file.protected booleanDefaultListableBeanFactory.matchesBeanName(String beanName, String candidateName) Determine whether the given candidate name matches the bean name or the aliases stored in this bean definition.static RegisteredBeanRegisteredBean.ofInnerBean(RegisteredBean parent, String innerBeanName, BeanDefinition innerBeanDefinition) Create a newRegisteredBeaninstance for an inner-bean.protected voidAbstractAutowireCapableBeanFactory.populateBean(String beanName, RootBeanDefinition mbd, BeanWrapper bw) Populate the bean instance in the given BeanWrapper with the property values from the bean definition.intPropertiesBeanDefinitionReader.registerBeanDefinitions(Map<?, ?> map, String prefix) Deprecated.Register bean definitions contained in a Map.intPropertiesBeanDefinitionReader.registerBeanDefinitions(Map<?, ?> map, String prefix, String resourceDescription) Deprecated.Register bean definitions contained in a Map.intPropertiesBeanDefinitionReader.registerBeanDefinitions(ResourceBundle rb, String prefix) Deprecated.Register bean definitions contained in a ResourceBundle.voidDefaultListableBeanFactory.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> TBeanDefinitionValueResolver.resolveInnerBean(String innerBeanName, BeanDefinition innerBd, BiFunction<String, RootBeanDefinition, T> resolver) Resolve an inner bean definition and invoke the specifiedresolveron 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 BeanDefinitionBuilderBeanDefinitionBuilder.rootBeanDefinition(Class<?> beanClass, String factoryMethodName) Create a newBeanDefinitionBuilderused to construct aRootBeanDefinition.static BeanDefinitionBuilderBeanDefinitionBuilder.rootBeanDefinition(String beanClassName, String factoryMethodName) Create a newBeanDefinitionBuilderused to construct aRootBeanDefinition.voidAbstractBeanDefinition.setBeanClass(Class<?> beanClass) Specify the class for this bean.voidAbstractBeanDefinitionReader.setBeanClassLoader(ClassLoader beanClassLoader) Set the ClassLoader to use for bean classes.voidAbstractBeanFactory.setBeanClassLoader(ClassLoader beanClassLoader) voidAbstractBeanDefinition.setBeanClassName(String beanClassName) Specify the bean class name of this bean definition.voidAbstractBeanFactory.setBeanExpressionResolver(BeanExpressionResolver resolver) voidAbstractBeanDefinitionReader.setBeanNameGenerator(BeanNameGenerator beanNameGenerator) Set the BeanNameGenerator to use for anonymous beans (without explicit bean name specified).voidDefaultListableBeanFactory.setBootstrapExecutor(Executor bootstrapExecutor) voidAbstractBeanFactory.setConversionService(ConversionService conversionService) static voidSimpleInstantiationStrategy.setCurrentlyInvokedFactoryMethod(Method method) Deprecated, for removal: This API element is subject to removal in a future version.voidRootBeanDefinition.setDecoratedDefinition(BeanDefinitionHolder decoratedDefinition) Register a target definition that is being decorated by this bean definition.voidPropertiesBeanDefinitionReader.setDefaultParentBean(String defaultParentBean) Deprecated.Set the default parent bean for this bean factory.voidDefaultListableBeanFactory.setDependencyComparator(Comparator<Object> dependencyComparator) Set aComparatorfor dependency Lists and arrays.voidAbstractBeanDefinition.setDependsOn(String... dependsOn) Set the names of the beans that this bean depends on being initialized.voidAbstractBeanDefinition.setDescription(String description) Set a human-readable description of this bean definition.voidAbstractBeanDefinition.setDestroyMethodName(String destroyMethodName) Set the name of the destroy method.BeanDefinitionBuilder.setDestroyMethodName(String methodName) Set the destroy method for this definition.voidBeanDefinitionDefaults.setDestroyMethodName(String destroyMethodName) Set the name of the default destroy method.voidAbstractBeanDefinition.setDestroyMethodNames(String... destroyMethodNames) Specify the names of multiple destroy methods.voidManagedSet.setElementTypeName(String elementTypeName) Set the default element type name (class name) to be used for this set.voidAbstractBeanDefinition.setFactoryBeanName(String factoryBeanName) Specify the factory bean to use, if any.voidAbstractBeanDefinition.setFactoryMethodName(String factoryMethodName) Specify a factory method, if any.voidAbstractBeanDefinition.setInitMethodName(String initMethodName) Set the name of the initializer method.BeanDefinitionBuilder.setInitMethodName(String methodName) Set the init method for this definition.voidBeanDefinitionDefaults.setInitMethodName(String initMethodName) Set the name of the default initializer method.voidAbstractBeanDefinition.setInitMethodNames(String... initMethodNames) Specify the names of multiple initializer methods.voidAbstractBeanDefinition.setInstanceSupplier(Supplier<?> instanceSupplier) Specify a callback for creating an instance of the bean, as an alternative to a declaratively specified factory method.voidManagedMap.setKeyTypeName(String keyTypeName) Set the default key type name (class name) to be used for this map.voidAbstractAutowireCapableBeanFactory.setParameterNameDiscoverer(ParameterNameDiscoverer parameterNameDiscoverer) Set the ParameterNameDiscoverer to use for resolving method parameter names if needed (for example, for constructor names).voidAbstractBeanFactory.setParentBeanFactory(BeanFactory parentBeanFactory) voidChildBeanDefinition.setParentName(String parentName) voidGenericBeanDefinition.setParentName(String parentName) voidRootBeanDefinition.setParentName(String parentName) voidPropertiesBeanDefinitionReader.setPropertiesPersister(PropertiesPersister propertiesPersister) Deprecated.Set the PropertiesPersister to use for parsing properties files.voidRootBeanDefinition.setQualifiedElement(AnnotatedElement qualifiedElement) Specify theAnnotatedElementdefining qualifiers, to be used instead of the target class or factory method.voidRootBeanDefinition.setResolvedFactoryMethod(Method method) Set a resolved Java Method for the factory method on this bean definition.voidAbstractBeanDefinition.setResource(Resource resource) Set the resource that this bean definition came from (for the purpose of showing context in case of errors).voidAbstractBeanDefinition.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).voidAbstractBeanDefinitionReader.setResourceLoader(ResourceLoader resourceLoader) Set the ResourceLoader to use for resource locations.voidOverride the target scope of this bean, specifying a new scope name.Set the scope of this definition.voidDefaultListableBeanFactory.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.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.voidSet the configuration sourceObjectfor this metadata element.voidRootBeanDefinition.setTargetType(Class<?> targetType) Specify the target type of this bean definition, if known in advance.voidRootBeanDefinition.setTargetType(ResolvableType targetType) Specify a generics-containing target type of this bean definition, if known in advance.voidAbstractBeanFactory.setTempClassLoader(ClassLoader tempClassLoader) voidManagedMap.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 anInstanceSupplierfrom aThrowingSupplier.Constructor parameters in org.springframework.beans.factory.support with annotations of type NullableModifierConstructorDescriptionAbstractAutowireCapableBeanFactory(BeanFactory parentBeanFactory) Create a new AbstractAutowireCapableBeanFactory with the given parent.protectedCreate a new AbstractBeanDefinition with the given constructor argument values and property values.protectedCreate 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 newLookupOverride.LookupOverride(String methodName, String beanName) Construct a newLookupOverride.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.as of 6.0.11, in favor of an extraRootBeanDefinition.setTargetType(ResolvableType)call -
Uses of Nullable in org.springframework.beans.factory.wiring
Methods in org.springframework.beans.factory.wiring with annotations of type NullableModifier and TypeMethodDescriptionprotected BeanWiringInfoResolverBeanConfigurerSupport.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
Methods in org.springframework.beans.factory.xml with annotations of type NullableModifier and TypeMethodDescriptionNamespaceHandler.decorate(Node source, BeanDefinitionHolder definition, ParserContext parserContext) Parse the specifiedNodeand decorate the suppliedBeanDefinitionHolder, returning the decorated definition.NamespaceHandlerSupport.decorate(Node node, BeanDefinitionHolder definition, ParserContext parserContext) Decorates the suppliedNodeby delegating to theBeanDefinitionDecoratorthat is registered to handle thatNode.protected ObjectBeanDefinitionParserDelegate.extractSource(Element ele) Invoke theSourceExtractorto pull the source metadata from the suppliedElement.protected ObjectDefaultBeanDefinitionDocumentReader.extractSource(Element ele) Invoke theSourceExtractorto pull the source metadata from the suppliedElement.ParserContext.extractSource(Object sourceCandidate) DocumentDefaultsDefinition.getAutowire()Return the default autowire setting for the document that's currently parsed.String[]BeanDefinitionParserDelegate.getAutowireCandidatePatterns()Return any patterns provided in the 'default-autowire-candidates' attribute of the top-level<beans/>element.DocumentDefaultsDefinition.getAutowireCandidates()Return the default autowire-candidate pattern for the document that's currently parsed.protected Class<?>AbstractSingleBeanDefinitionParser.getBeanClass(Element element) Determine the bean class corresponding to the suppliedElement.final ClassLoaderXmlReaderContext.getBeanClassLoader()Return the bean class loader to use, if any.protected StringAbstractSingleBeanDefinitionParser.getBeanClassName(Element element) Determine the bean class name corresponding to the suppliedElement.ParserContext.getContainingBeanDefinition()ParserContext.getContainingComponent()DocumentDefaultsDefinition.getDestroyMethod()Return the default destroy-method setting for the document that's currently parsed.DocumentDefaultsDefinition.getInitMethod()Return the default init-method setting for the document that's currently parsed.DocumentDefaultsDefinition.getLazyInit()Return the default lazy-init flag for the document that's currently parsed.DocumentDefaultsDefinition.getMerge()Return the default merge setting for the document that's currently parsed.BeanDefinitionParserDelegate.getNamespaceURI(Node node) Get the namespace URI for the supplied node.protected StringAbstractSingleBeanDefinitionParser.getParentName(Element element) Determine the name for the parent of the currently parsed bean, in case of the current bean being defined as a child bean.final ResourceLoaderXmlReaderContext.getResourceLoader()Return the resource loader to use, if any.DocumentDefaultsDefinition.getSource()final BeanDefinitionAbstractBeanDefinitionParser.parse(Element element, ParserContext parserContext) BeanDefinitionParser.parse(Element element, ParserContext parserContext) Parse the specifiedElementand register the resultingBeanDefinition(s)with theBeanDefinitionRegistryembedded in the suppliedParserContext.NamespaceHandler.parse(Element element, ParserContext parserContext) Parse the specifiedElementand register any resultingBeanDefinitionswith theBeanDefinitionRegistrythat is embedded in the suppliedParserContext.NamespaceHandlerSupport.parse(Element element, ParserContext parserContext) Parses the suppliedElementby delegating to theBeanDefinitionParserthat is registered for thatElement.SimpleConstructorNamespaceHandler.parse(Element element, ParserContext parserContext) SimplePropertyNamespaceHandler.parse(Element element, ParserContext parserContext) BeanDefinitionParserDelegate.parseBeanDefinitionElement(Element ele) Parses the supplied<bean>element.BeanDefinitionParserDelegate.parseBeanDefinitionElement(Element ele, String beanName, BeanDefinition containingBean) Parse the bean definition itself, without regard to name or aliases.BeanDefinitionParserDelegate.parseBeanDefinitionElement(Element ele, BeanDefinition containingBean) Parses the supplied<bean>element.BeanDefinitionParserDelegate.parseCustomElement(Element ele) Parse a custom element (outside the default namespace).BeanDefinitionParserDelegate.parseCustomElement(Element ele, BeanDefinition containingBd) Parse a custom element (outside the default namespace).BeanDefinitionParserDelegate.parseIdRefElement(Element ele) Return a typed String value Object for the given 'idref' element.protected abstract AbstractBeanDefinitionAbstractBeanDefinitionParser.parseInternal(Element element, ParserContext parserContext) Central template method to actually parse the suppliedElementinto one or moreBeanDefinitions.protected ObjectBeanDefinitionParserDelegate.parseKeyElement(Element keyEle, BeanDefinition bd, String defaultKeyTypeName) Parse a key sub-element of a map element.BeanDefinitionParserDelegate.parsePropertySubElement(Element ele, BeanDefinition bd) Parse a value, ref or collection sub-element of a property or constructor-arg element.BeanDefinitionParserDelegate.parsePropertySubElement(Element ele, BeanDefinition bd, String defaultValueType) Parse a value, ref or collection sub-element of a property or constructor-arg element.BeanDefinitionParserDelegate.parsePropertyValue(Element ele, BeanDefinition bd, String propertyName) Get the value of a property element.Locate theNamespaceHandlerfor the supplied namespace URI from the configured mappings.Resolve the namespace URI and return the locatedNamespaceHandlerimplementation.BeansDtdResolver.resolveEntity(String publicId, String systemId) DelegatingEntityResolver.resolveEntity(String publicId, String systemId) PluggableSchemaResolver.resolveEntity(String publicId, String systemId) ResourceEntityResolver.resolveEntity(String publicId, String systemId) protected InputSourceResourceEntityResolver.resolveSchemaEntity(String publicId, String systemId) A fallback method forResourceEntityResolver.resolveEntity(String, String)that is used when a "schema" entity (DTD or XSD) cannot be resolved as a local resource.Method parameters in org.springframework.beans.factory.xml with annotations of type NullableModifier and TypeMethodDescriptionprotected TypedStringValueBeanDefinitionParserDelegate.buildTypedStringValue(String value, String targetTypeName) Build a typed String value Object for the given raw value.protected AbstractBeanDefinitionBeanDefinitionParserDelegate.createBeanDefinition(String className, String parentName) Create a bean definition for the given class name and parent name.protected AbstractBeanDefinitionBeanDefinitionParserDelegate.createBeanDefinition(String className, String parentName) Create a bean definition for the given class name and parent name.protected BeanDefinitionParserDelegateDefaultBeanDefinitionDocumentReader.createDelegate(XmlReaderContext readerContext, Element root, BeanDefinitionParserDelegate parentDelegate) protected DocumentBuilderDefaultDocumentLoader.createDocumentBuilder(DocumentBuilderFactory factory, EntityResolver entityResolver, ErrorHandler errorHandler) Create a JAXP DocumentBuilder that this bean definition reader will use for parsing XML documents.protected DocumentBuilderDefaultDocumentLoader.createDocumentBuilder(DocumentBuilderFactory factory, EntityResolver entityResolver, ErrorHandler errorHandler) Create a JAXP DocumentBuilder that this bean definition reader will use for parsing XML documents.BeanDefinitionParserDelegate.decorateBeanDefinitionIfRequired(Element ele, BeanDefinitionHolder originalDef, BeanDefinition containingBd) Decorate the given bean definition through a namespace handler, if applicable.BeanDefinitionParserDelegate.decorateIfRequired(Node node, BeanDefinitionHolder originalDef, BeanDefinition containingBd) Decorate the given bean definition through a namespace handler, if applicable.voidBeanDefinitionParserDelegate.initDefaults(Element root, BeanDefinitionParserDelegate parent) Initialize the default lazy-init, autowire, dependency check settings, init-method, destroy-method and merge settings.booleanBeanDefinitionParserDelegate.isDefaultNamespace(String namespaceUri) Determine whether the given URI indicates the default namespace.intXmlBeanDefinitionReader.loadBeanDefinitions(InputSource inputSource, String resourceDescription) Load bean definitions from the specified XML file.BeanDefinitionParserDelegate.parseArrayElement(Element arrayEle, BeanDefinition bd) Parse an array element.BeanDefinitionParserDelegate.parseBeanDefinitionAttributes(Element ele, String beanName, BeanDefinition containingBean, AbstractBeanDefinition bd) Apply the attributes of the given bean element to the given bean * definition.BeanDefinitionParserDelegate.parseBeanDefinitionElement(Element ele, String beanName, BeanDefinition containingBean) Parse the bean definition itself, without regard to name or aliases.BeanDefinitionParserDelegate.parseBeanDefinitionElement(Element ele, BeanDefinition containingBean) Parses the supplied<bean>element.protected voidBeanDefinitionParserDelegate.parseCollectionElements(NodeList elementNodes, Collection<Object> target, BeanDefinition bd, String defaultElementType) BeanDefinitionParserDelegate.parseCustomElement(Element ele, BeanDefinition containingBd) Parse a custom element (outside the default namespace).protected ObjectBeanDefinitionParserDelegate.parseKeyElement(Element keyEle, BeanDefinition bd, String defaultKeyTypeName) Parse a key sub-element of a map element.BeanDefinitionParserDelegate.parseListElement(Element collectionEle, BeanDefinition bd) Parse a list element.BeanDefinitionParserDelegate.parseMapElement(Element mapEle, BeanDefinition bd) Parse a map element.BeanDefinitionParserDelegate.parsePropertySubElement(Element ele, BeanDefinition bd) Parse a value, ref or collection sub-element of a property or constructor-arg element.BeanDefinitionParserDelegate.parsePropertySubElement(Element ele, BeanDefinition bd, String defaultValueType) Parse a value, ref or collection sub-element of a property or constructor-arg element.BeanDefinitionParserDelegate.parsePropertySubElement(Element ele, BeanDefinition bd, String defaultValueType) Parse a value, ref or collection sub-element of a property or constructor-arg element.BeanDefinitionParserDelegate.parsePropertyValue(Element ele, BeanDefinition bd, String propertyName) Get the value of a property element.BeanDefinitionParserDelegate.parseSetElement(Element collectionEle, BeanDefinition bd) Parse a set element.BeanDefinitionParserDelegate.parseValueElement(Element ele, String defaultTypeName) Return a typed String value Object for the given value element.protected voidBeanDefinitionParserDelegate.populateDefaults(DocumentDefaultsDefinition defaults, DocumentDefaultsDefinition parentDefaults, Element root) Populate the given DocumentDefaultsDefinition instance with the default lazy-init, autowire, dependency check settings, init-method, destroy-method and merge settings.BeansDtdResolver.resolveEntity(String publicId, String systemId) BeansDtdResolver.resolveEntity(String publicId, String systemId) DelegatingEntityResolver.resolveEntity(String publicId, String systemId) DelegatingEntityResolver.resolveEntity(String publicId, String systemId) PluggableSchemaResolver.resolveEntity(String publicId, String systemId) PluggableSchemaResolver.resolveEntity(String publicId, String systemId) ResourceEntityResolver.resolveEntity(String publicId, String systemId) ResourceEntityResolver.resolveEntity(String publicId, String systemId) protected InputSourceResourceEntityResolver.resolveSchemaEntity(String publicId, String systemId) A fallback method forResourceEntityResolver.resolveEntity(String, String)that is used when a "schema" entity (DTD or XSD) cannot be resolved as a local resource.voidDocumentDefaultsDefinition.setAutowire(String autowire) Set the default autowire setting for the document that's currently parsed.voidDocumentDefaultsDefinition.setAutowireCandidates(String autowireCandidates) Set the default autowire-candidate pattern for the document that's currently parsed.voidDocumentDefaultsDefinition.setDestroyMethod(String destroyMethod) Set the default destroy-method setting for the document that's currently parsed.voidXmlBeanDefinitionReader.setDocumentLoader(DocumentLoader documentLoader) Specify theDocumentLoaderto use.voidXmlBeanDefinitionReader.setEntityResolver(EntityResolver entityResolver) Set a SAX entity resolver to be used for parsing.voidXmlBeanDefinitionReader.setEventListener(ReaderEventListener eventListener) Specify whichReaderEventListenerto use.voidDocumentDefaultsDefinition.setInitMethod(String initMethod) Set the default init-method setting for the document that's currently parsed.voidDocumentDefaultsDefinition.setLazyInit(String lazyInit) Set the default lazy-init flag for the document that's currently parsed.voidSet the default merge setting for the document that's currently parsed.voidXmlBeanDefinitionReader.setNamespaceHandlerResolver(NamespaceHandlerResolver namespaceHandlerResolver) Specify theNamespaceHandlerResolverto use.voidXmlBeanDefinitionReader.setProblemReporter(ProblemReporter problemReporter) Specify whichProblemReporterto use.voidSet the configuration sourceObjectfor this metadata element.voidXmlBeanDefinitionReader.setSourceExtractor(SourceExtractor sourceExtractor) Specify theSourceExtractorto use.Constructor parameters in org.springframework.beans.factory.xml with annotations of type NullableModifierConstructorDescriptionDefaultNamespaceHandlerResolver(ClassLoader classLoader) Create a newDefaultNamespaceHandlerResolverusing the default mapping file location.DefaultNamespaceHandlerResolver(ClassLoader classLoader, String handlerMappingsLocation) Create a newDefaultNamespaceHandlerResolverusing the supplied mapping file location.DelegatingEntityResolver(ClassLoader classLoader) Create a new DelegatingEntityResolver that delegates to a defaultBeansDtdResolverand a defaultPluggableSchemaResolver.ParserContext(XmlReaderContext readerContext, BeanDefinitionParserDelegate delegate, BeanDefinition containingBeanDefinition) PluggableSchemaResolver(ClassLoader classLoader) Loads the schema URL → schema file location mappings using the default mapping file pattern "META-INF/spring.schemas".PluggableSchemaResolver(ClassLoader classLoader, String schemaMappingsLocation) Loads the schema URL → schema file location mappings using the given mapping file pattern. -
Uses of Nullable in org.springframework.beans.propertyeditors
Methods in org.springframework.beans.propertyeditors with annotations of type NullableModifier and TypeMethodDescriptionCustomCollectionEditor.getAsText()This implementation returnsnullto indicate that there is no appropriate text representation.CustomMapEditor.getAsText()This implementation returnsnullto indicate that there is no appropriate text representation.InputStreamEditor.getAsText()This implementation returnsnullto indicate that there is no appropriate text representation.ReaderEditor.getAsText()This implementation returnsnullto indicate that there is no appropriate text representation.Method parameters in org.springframework.beans.propertyeditors with annotations of type NullableModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidParse the Date from the given text, using the specified DateFormat.voidvoidConvertStringintoProperties, considering it as properties content.voidvoidConvert the given value to a Collection of the target type.voidConvert the given value to a Map of the target type.voidCoerce a Number value into the required target class, if necessary.Constructor parameters in org.springframework.beans.propertyeditors with annotations of type NullableModifierConstructorDescriptionClassArrayEditor(ClassLoader classLoader) Create a defaultClassArrayEditor, using the givenClassLoader.ClassEditor(ClassLoader classLoader) Create a default ClassEditor, using the given ClassLoader.CustomBooleanEditor(String trueString, String falseString, boolean allowEmpty) Create a new CustomBooleanEditor instance, with configurable String values for true and false.CustomBooleanEditor(String trueString, String falseString, boolean allowEmpty) Create a new CustomBooleanEditor instance, with configurable String values for true and false.CustomNumberEditor(Class<? extends Number> numberClass, NumberFormat numberFormat, boolean allowEmpty) Create a new CustomNumberEditor instance, using the given NumberFormat for parsing and rendering.StringArrayPropertyEditor(String separator, String charsToDelete, boolean emptyArrayAsNull) Create a newStringArrayPropertyEditorwith the given separator.StringArrayPropertyEditor(String separator, String charsToDelete, boolean emptyArrayAsNull, boolean trimValues) Create a newStringArrayPropertyEditorwith the given separator.URIEditor(ClassLoader classLoader) Create a new URIEditor, using the given ClassLoader to resolve "classpath:" locations into physical resource URLs.URIEditor(ClassLoader classLoader, boolean encode) Create a new URIEditor, using the given ClassLoader to resolve "classpath:" locations into physical resource URLs. -
Uses of Nullable in org.springframework.beans.support
Methods in org.springframework.beans.support with annotations of type NullableModifier and TypeMethodDescriptionprotected MethodArgumentConvertingMethodInvoker.doFindMatchingMethod(Object[] arguments) Actually find a method with matching parameter type, i.e.protected MethodArgumentConvertingMethodInvoker.findMatchingMethod()This implementation looks for a method with matching parameter types.PagedListHolder.getRefreshDate()Return the last time the list has been fetched from the source provider.PagedListHolder.getSort()Return the sort definition for this holder.ArgumentConvertingMethodInvoker.getTypeConverter()Return the TypeConverter used for argument type conversion.Method parameters in org.springframework.beans.support with annotations of type NullableModifier and TypeMethodDescriptionbooleanvoidPagedListHolder.setSort(SortDefinition sort) Set the sort definition for this holder.voidArgumentConvertingMethodInvoker.setTypeConverter(TypeConverter typeConverter) Set a TypeConverter to use for argument type conversion. -
Uses of Nullable in org.springframework.cache
Methods in org.springframework.cache with annotations of type NullableModifier and TypeMethodDescriptionReturn the value to which this cache maps the specified key.<T> TReturn the value to which this cache maps the specified key, generically specifying a type that return value will be cast to.<T> TReturn the value to which this cache maps the specified key, obtaining that value fromvalueLoaderif necessary.Cache.ValueWrapper.get()Return the actual value in the cache.Get the cache associated with the given name.Cache.ValueRetrievalException.getKey()default Cache.ValueWrapperCache.putIfAbsent(Object key, Object value) Atomically associate the specified value with the specified key in this cache if it is not set already.default CompletableFuture<?>Return the value to which this cache maps the specified key, wrapped in aCompletableFuture.Method parameters in org.springframework.cache with annotations of type NullableModifier and TypeMethodDescription<T> TReturn the value to which this cache maps the specified key, generically specifying a type that return value will be cast to.voidAssociate the specified value with the specified key in this cache.default Cache.ValueWrapperCache.putIfAbsent(Object key, Object value) Atomically associate the specified value with the specified key in this cache if it is not set already.Constructor parameters in org.springframework.cache with annotations of type NullableModifierConstructorDescriptionValueRetrievalException(Object key, Callable<?> loader, Throwable ex) ValueRetrievalException(Object key, Callable<?> loader, Throwable ex) -
Uses of Nullable in org.springframework.cache.annotation
Fields in org.springframework.cache.annotation with annotations of type NullableModifier and TypeFieldDescriptionprotected Supplier<CacheManager>AbstractCachingConfiguration.cacheManagerprotected Supplier<CacheResolver>AbstractCachingConfiguration.cacheResolverprotected AnnotationAttributesAbstractCachingConfiguration.enableCachingprotected Supplier<CacheErrorHandler>AbstractCachingConfiguration.errorHandlerprotected Supplier<KeyGenerator>AbstractCachingConfiguration.keyGeneratorMethods in org.springframework.cache.annotation with annotations of type NullableModifier and TypeMethodDescription<T> Supplier<T>AbstractCachingConfiguration.CachingConfigurerSupplier.adapt(Function<CachingConfigurer, T> provider) Adapt theCachingConfigurersupplier to another supplier provided by the specified mapping function.default CacheManagerCachingConfigurer.cacheManager()Return the cache manager bean to use for annotation-driven cache management.CachingConfigurerSupport.cacheManager()Deprecated.default CacheResolverCachingConfigurer.cacheResolver()Return theCacheResolverbean to use to resolve regular caches for annotation-driven cache management.CachingConfigurerSupport.cacheResolver()Deprecated.protected Collection<CacheOperation>AnnotationCacheOperationSource.determineCacheOperations(AnnotationCacheOperationSource.CacheOperationProvider provider) Determine the cache operation(s) for the givenAnnotationCacheOperationSource.CacheOperationProvider.default CacheErrorHandlerCachingConfigurer.errorHandler()Return theCacheErrorHandlerto use to handle cache-related errors.CachingConfigurerSupport.errorHandler()Deprecated.protected Collection<CacheOperation>AnnotationCacheOperationSource.findCacheOperations(Class<?> clazz) protected Collection<CacheOperation>AnnotationCacheOperationSource.findCacheOperations(Method method) AnnotationCacheOperationSource.CacheOperationProvider.getCacheOperations(CacheAnnotationParser parser) Return theCacheOperationinstance(s) provided by the specified parser.default KeyGeneratorCachingConfigurer.keyGenerator()Return the key generator bean to use for annotation-driven cache management.CachingConfigurerSupport.keyGenerator()Deprecated.CacheAnnotationParser.parseCacheAnnotations(Class<?> type) Parse the cache definition for the given class, based on an annotation type understood by this parser.CacheAnnotationParser.parseCacheAnnotations(Method method) Parse the cache definition for the given method, based on an annotation type understood by this parser.SpringCacheAnnotationParser.parseCacheAnnotations(Class<?> type) SpringCacheAnnotationParser.parseCacheAnnotations(Method method) Method parameters in org.springframework.cache.annotation with annotations of type Nullable -
Uses of Nullable in org.springframework.cache.caffeine
Methods in org.springframework.cache.caffeine with annotations of type NullableModifier and TypeMethodDescription<T> Tprotected ObjectCaffeineCache.putIfAbsent(Object key, Object value) Method parameters in org.springframework.cache.caffeine with annotations of type NullableModifier and TypeMethodDescriptionvoidCaffeineCache.putIfAbsent(Object key, Object value) voidCaffeineCacheManager.setCacheNames(Collection<String> cacheNames) Specify the set of cache names for this CacheManager's 'static' mode. -
Uses of Nullable in org.springframework.cache.concurrent
Methods in org.springframework.cache.concurrent with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectConcurrentMapCache.fromStoreValue(Object storeValue) <T> TConcurrentMapCacheFactoryBean.getObject()protected ObjectConcurrentMapCache.putIfAbsent(Object key, Object value) Method parameters in org.springframework.cache.concurrent with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectConcurrentMapCache.fromStoreValue(Object storeValue) voidConcurrentMapCache.putIfAbsent(Object key, Object value) voidConcurrentMapCacheManager.setCacheNames(Collection<String> cacheNames) Specify the set of cache names for this CacheManager's 'static' mode.protected ObjectConcurrentMapCache.toStoreValue(Object userValue) Constructor parameters in org.springframework.cache.concurrent with annotations of type NullableModifierConstructorDescriptionprotectedConcurrentMapCache(String name, ConcurrentMap<Object, Object> store, boolean allowNullValues, SerializationDelegate serialization) Create a new ConcurrentMapCache with the specified name and the given internalConcurrentMapto use. -
Uses of Nullable in org.springframework.cache.interceptor
Methods in org.springframework.cache.interceptor with annotations of type NullableModifier and TypeMethodDescriptionprotected Cache.ValueWrapperExecuteCache.get(Object)on the specifiedCacheand invoke the error handler if an exception occurs.protected <T> TExecuteCache.get(Object, Callable)on the specifiedCacheand invoke the error handler if an exception occurs.protected CompletableFuture<?>AbstractCacheInvoker.doRetrieve(Cache cache, Object key) ExecuteCache.retrieve(Object)on the specifiedCacheand invoke the error handler if an exception occurs.protected ObjectCacheAspectSupport.execute(CacheOperationInvoker invoker, Object target, Method method, Object[] args) protected abstract Collection<CacheOperation>AbstractFallbackCacheOperationSource.findCacheOperations(Class<?> clazz) Subclasses need to implement this to return the cache operations for the given class, if any.protected abstract Collection<CacheOperation>AbstractFallbackCacheOperationSource.findCacheOperations(Method method) Subclasses need to implement this to return the cache operations for the given method, if any.protected ObjectCacheAspectSupport.CacheOperationContext.generateKey(Object result) Compute the key for the given caching operation.protected abstract Collection<String>AbstractCacheResolver.getCacheNames(CacheOperationInvocationContext<?> context) Provide the name of the cache(s) to resolve against the current cache manager.protected Collection<String>NamedCacheResolver.getCacheNames(CacheOperationInvocationContext<?> context) AbstractFallbackCacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) CacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) Return the collection of cache operations for this method, ornullif the method contains no cacheable annotations.CompositeCacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) NameMatchCacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) CacheAspectSupport.getCacheOperationSource()Return the CacheOperationSource for this cache aspect.CacheAspectSupport.getCacheResolver()Return the defaultCacheResolverthat this cache aspect delegates to.protected ObjectCacheAspectSupport.CacheOperationContext.getGeneratedKey()Get generated key.CacheableOperation.getUnless()CachePutOperation.getUnless()CacheInterceptor.invoke(MethodInvocation invocation) CacheOperationInvoker.invoke()Invoke the cache operation defined by this instance.protected ObjectCacheAspectSupport.invokeOperation(CacheOperationInvoker invoker) Execute the underlying operation (typically in case of cache miss) and return the result of the invocation.Method parameters in org.springframework.cache.interceptor with annotations of type NullableModifier and TypeMethodDescriptionprotected booleanCacheAspectSupport.CacheOperationContext.canPutToCache(Object value) voidCacheAspectSupport.configure(Supplier<CacheErrorHandler> errorHandler, Supplier<KeyGenerator> keyGenerator, Supplier<CacheResolver> cacheResolver, Supplier<CacheManager> cacheManager) Configure this aspect with the given error handler, key generator and cache resolver/manager suppliers, applying the corresponding default if a supplier is not resolvable.voidCacheAspectSupport.configure(Supplier<CacheErrorHandler> errorHandler, Supplier<KeyGenerator> keyGenerator, Supplier<CacheResolver> cacheResolver, Supplier<CacheManager> cacheManager) Configure this aspect with the given error handler, key generator and cache resolver/manager suppliers, applying the corresponding default if a supplier is not resolvable.voidCacheAspectSupport.configure(Supplier<CacheErrorHandler> errorHandler, Supplier<KeyGenerator> keyGenerator, Supplier<CacheResolver> cacheResolver, Supplier<CacheManager> cacheManager) Configure this aspect with the given error handler, key generator and cache resolver/manager suppliers, applying the corresponding default if a supplier is not resolvable.voidCacheAspectSupport.configure(Supplier<CacheErrorHandler> errorHandler, Supplier<KeyGenerator> keyGenerator, Supplier<CacheResolver> cacheResolver, Supplier<CacheManager> cacheManager) Configure this aspect with the given error handler, key generator and cache resolver/manager suppliers, applying the corresponding default if a supplier is not resolvable.protected voidExecuteCache.put(Object, Object)on the specifiedCacheand invoke the error handler if an exception occurs.booleanThis implementation compares thetoString()results.booleanbooleanprotected ObjectCacheAspectSupport.CacheOperationContext.generateKey(Object result) Compute the key for the given caching operation.protected ObjectAbstractFallbackCacheOperationSource.getCacheKey(Method method, Class<?> targetClass) Determine a cache key for the given method and target class.AbstractFallbackCacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) CacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) Return the collection of cache operations for this method, ornullif the method contains no cacheable annotations.CompositeCacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) NameMatchCacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) voidCacheErrorHandler.handleCachePutError(RuntimeException exception, Cache cache, Object key, Object value) Handle the given runtime exception thrown by the cache provider when updating an item with the specifiedkeyandvalue, possibly rethrowing it as a fatal exception.voidLoggingCacheErrorHandler.handleCachePutError(RuntimeException exception, Cache cache, Object key, Object value) voidSimpleCacheErrorHandler.handleCachePutError(RuntimeException exception, Cache cache, Object key, Object value) booleanAbstractFallbackCacheOperationSource.hasCacheOperations(Method method, Class<?> targetClass) default booleanCacheOperationSource.hasCacheOperations(Method method, Class<?> targetClass) Determine whether there are cache operations for the given method.booleanCompositeCacheOperationSource.hasCacheOperations(Method method, Class<?> targetClass) protected booleanCacheAspectSupport.CacheOperationContext.isConditionPassing(Object result) voidCacheAspectSupport.setCacheOperationSource(CacheOperationSource cacheOperationSource) Set the CacheOperationSource for this cache aspect.voidCacheAspectSupport.setCacheResolver(CacheResolver cacheResolver) Set the defaultCacheResolverthat this cache aspect should delegate to if no specific cache resolver has been set for the operation. -
Uses of Nullable in org.springframework.cache.jcache
Methods in org.springframework.cache.jcache with annotations of type NullableModifier and TypeMethodDescription<T> Tjavax.cache.CacheManagerJCacheCacheManager.getCacheManager()Return the backing JCachejavax.cache.CacheManager.protected CacheJCacheCacheManager.getMissingCache(String name) javax.cache.CacheManagerJCacheManagerFactoryBean.getObject()protected ObjectJCacheCache.putIfAbsent(Object key, Object value) Method parameters in org.springframework.cache.jcache with annotations of type NullableModifier and TypeMethodDescriptionvoidJCacheCache.putIfAbsent(Object key, Object value) voidJCacheCacheManager.setCacheManager(javax.cache.CacheManager cacheManager) Set the backing JCachejavax.cache.CacheManager.voidJCacheManagerFactoryBean.setCacheManagerProperties(Properties cacheManagerProperties) Specify properties for the to-be-createdCacheManager.voidJCacheManagerFactoryBean.setCacheManagerUri(URI cacheManagerUri) Specify the URI for the desiredCacheManager. -
Uses of Nullable in org.springframework.cache.jcache.config
Fields in org.springframework.cache.jcache.config with annotations of type NullableModifier and TypeFieldDescriptionprotected Supplier<CacheResolver>AbstractJCacheConfiguration.exceptionCacheResolverMethods in org.springframework.cache.jcache.config with annotations of type NullableModifier and TypeMethodDescriptiondefault CacheResolverJCacheConfigurer.exceptionCacheResolver()Return theCacheResolverbean to use to resolve exception caches for annotation-driven cache management.JCacheConfigurerSupport.exceptionCacheResolver()Deprecated. -
Uses of Nullable in org.springframework.cache.jcache.interceptor
Methods in org.springframework.cache.jcache.interceptor with annotations of type NullableModifier and TypeMethodDescriptionprotected javax.cache.annotation.CacheResolverFactoryAnnotationJCacheOperationSource.determineCacheResolverFactory(javax.cache.annotation.CacheDefaults defaults, Class<? extends javax.cache.annotation.CacheResolverFactory> candidate) protected ObjectJCacheAspectSupport.execute(CacheOperationInvoker invoker, Object target, Method method, Object[] args) protected abstract JCacheOperation<?>AbstractFallbackJCacheOperationSource.findCacheOperation(Method method, Class<?> targetType) Subclasses need to implement this to return the caching operation for the given method, if any.protected JCacheOperation<?>AnnotationJCacheOperationSource.findCacheOperation(Method method, Class<?> targetType) protected javax.cache.annotation.CacheDefaultsAnnotationJCacheOperationSource.getCacheDefaults(Method method, Class<?> targetType) DefaultJCacheOperationSource.getCacheManager()Return the specified cache manager to use, if any.protected Collection<String>SimpleExceptionCacheResolver.getCacheNames(CacheOperationInvocationContext<?> context) AbstractFallbackJCacheOperationSource.getCacheOperation(Method method, Class<?> targetClass) JCacheOperationSource.getCacheOperation(Method method, Class<?> targetClass) Return the cache operations for this method, ornullif the method contains no JSR-107 related metadata.DefaultJCacheOperationSource.getCacheResolver()Return the specified cache resolver to use, if any.DefaultJCacheOperationSource.getExceptionCacheResolver()Return the specified exception cache resolver to use, if any.JCacheInterceptor.invoke(MethodInvocation invocation) protected ObjectJCacheAspectSupport.invokeOperation(CacheOperationInvoker invoker) Execute the underlying operation (typically in case of cache miss) and return the result of the invocation.Method parameters in org.springframework.cache.jcache.interceptor with annotations of type NullableModifier and TypeMethodDescriptionprotected org.springframework.cache.jcache.interceptor.CachePutOperationAnnotationJCacheOperationSource.createCachePutOperation(Method method, javax.cache.annotation.CacheDefaults defaults, javax.cache.annotation.CachePut ann) protected org.springframework.cache.jcache.interceptor.CacheRemoveAllOperationAnnotationJCacheOperationSource.createCacheRemoveAllOperation(Method method, javax.cache.annotation.CacheDefaults defaults, javax.cache.annotation.CacheRemoveAll ann) protected org.springframework.cache.jcache.interceptor.CacheRemoveOperationAnnotationJCacheOperationSource.createCacheRemoveOperation(Method method, javax.cache.annotation.CacheDefaults defaults, javax.cache.annotation.CacheRemove ann) protected org.springframework.cache.jcache.interceptor.CacheResultOperationAnnotationJCacheOperationSource.createCacheResultOperation(Method method, javax.cache.annotation.CacheDefaults defaults, javax.cache.annotation.CacheResult ann) protected StringAnnotationJCacheOperationSource.determineCacheName(Method method, javax.cache.annotation.CacheDefaults defaults, String candidate) protected javax.cache.annotation.CacheResolverFactoryAnnotationJCacheOperationSource.determineCacheResolverFactory(javax.cache.annotation.CacheDefaults defaults, Class<? extends javax.cache.annotation.CacheResolverFactory> candidate) protected KeyGeneratorAnnotationJCacheOperationSource.determineKeyGenerator(javax.cache.annotation.CacheDefaults defaults, Class<? extends javax.cache.annotation.CacheKeyGenerator> candidate) protected abstract JCacheOperation<?>AbstractFallbackJCacheOperationSource.findCacheOperation(Method method, Class<?> targetType) Subclasses need to implement this to return the caching operation for the given method, if any.protected JCacheOperation<?>AnnotationJCacheOperationSource.findCacheOperation(Method method, Class<?> targetType) protected javax.cache.annotation.CacheDefaultsAnnotationJCacheOperationSource.getCacheDefaults(Method method, Class<?> targetType) AbstractFallbackJCacheOperationSource.getCacheOperation(Method method, Class<?> targetClass) JCacheOperationSource.getCacheOperation(Method method, Class<?> targetClass) Return the cache operations for this method, ornullif the method contains no JSR-107 related metadata.protected CacheResolverAnnotationJCacheOperationSource.getCacheResolver(javax.cache.annotation.CacheResolverFactory factory, javax.cache.annotation.CacheMethodDetails<?> details) protected CacheResolverAnnotationJCacheOperationSource.getExceptionCacheResolver(javax.cache.annotation.CacheResolverFactory factory, javax.cache.annotation.CacheMethodDetails<javax.cache.annotation.CacheResult> details) booleanAbstractFallbackJCacheOperationSource.hasCacheOperation(Method method, Class<?> targetClass) default booleanJCacheOperationSource.hasCacheOperation(Method method, Class<?> targetClass) Determine whether there is a JSR-107 cache operation for the given method.voidDefaultJCacheOperationSource.setCacheManager(CacheManager cacheManager) Set the defaultCacheManagerto use to lookup cache by name.voidDefaultJCacheOperationSource.setCacheResolver(CacheResolver cacheResolver) Set theCacheResolverto resolve regular caches.voidDefaultJCacheOperationSource.setExceptionCacheResolver(CacheResolver exceptionCacheResolver) Set theCacheResolverto resolve exception caches.Constructor parameters in org.springframework.cache.jcache.interceptor with annotations of type NullableModifierConstructorDescriptionDefaultJCacheOperationSource(Supplier<CacheManager> cacheManager, Supplier<CacheResolver> cacheResolver, Supplier<CacheResolver> exceptionCacheResolver, Supplier<KeyGenerator> keyGenerator) Construct a newDefaultJCacheOperationSourcewith the given cache manager, cache resolver and key generator suppliers, applying the corresponding default if a supplier is not resolvable.DefaultJCacheOperationSource(Supplier<CacheManager> cacheManager, Supplier<CacheResolver> cacheResolver, Supplier<CacheResolver> exceptionCacheResolver, Supplier<KeyGenerator> keyGenerator) Construct a newDefaultJCacheOperationSourcewith the given cache manager, cache resolver and key generator suppliers, applying the corresponding default if a supplier is not resolvable.DefaultJCacheOperationSource(Supplier<CacheManager> cacheManager, Supplier<CacheResolver> cacheResolver, Supplier<CacheResolver> exceptionCacheResolver, Supplier<KeyGenerator> keyGenerator) Construct a newDefaultJCacheOperationSourcewith the given cache manager, cache resolver and key generator suppliers, applying the corresponding default if a supplier is not resolvable.DefaultJCacheOperationSource(Supplier<CacheManager> cacheManager, Supplier<CacheResolver> cacheResolver, Supplier<CacheResolver> exceptionCacheResolver, Supplier<KeyGenerator> keyGenerator) Construct a newDefaultJCacheOperationSourcewith the given cache manager, cache resolver and key generator suppliers, applying the corresponding default if a supplier is not resolvable.JCacheInterceptor(Supplier<CacheErrorHandler> errorHandler) Construct a newJCacheInterceptorwith the given error handler. -
Uses of Nullable in org.springframework.cache.support
Methods in org.springframework.cache.support with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectAbstractValueAdaptingCache.fromStoreValue(Object storeValue) Convert the given value from the internal store to a user value returned from the get method (adaptingnull).<T> T<T> T<T> TSimpleValueWrapper.get()Simply returns the value as given at construction time.This implementation always returns aCacheimplementation that will not store items.protected CacheAbstractCacheManager.getMissingCache(String name) Return a missing cache with the specifiedname, ornullif such a cache does not exist or could not be created on demand.protected abstract ObjectPerform an actual lookup in the underlying store.protected final CacheAbstractCacheManager.lookupCache(String name) Check for a registered cache of the given name.NoOpCache.putIfAbsent(Object key, Object value) protected Cache.ValueWrapperAbstractValueAdaptingCache.toValueWrapper(Object storeValue) Wrap the given store value with aSimpleValueWrapper, also going throughAbstractValueAdaptingCache.fromStoreValue(java.lang.Object)conversion.Method parameters in org.springframework.cache.support with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanprotected ObjectAbstractValueAdaptingCache.fromStoreValue(Object storeValue) Convert the given value from the internal store to a user value returned from the get method (adaptingnull).<T> T<T> TvoidNoOpCache.putIfAbsent(Object key, Object value) protected ObjectAbstractValueAdaptingCache.toStoreValue(Object userValue) Convert the given user value, as passed into the put method, to a value in the internal store (adaptingnull).protected Cache.ValueWrapperAbstractValueAdaptingCache.toValueWrapper(Object storeValue) Wrap the given store value with aSimpleValueWrapper, also going throughAbstractValueAdaptingCache.fromStoreValue(java.lang.Object)conversion.Constructor parameters in org.springframework.cache.support with annotations of type NullableModifierConstructorDescriptionSimpleValueWrapper(Object value) Create a new SimpleValueWrapper instance for exposing the given value. -
Uses of Nullable in org.springframework.cache.transaction
Methods in org.springframework.cache.transaction with annotations of type NullableModifier and TypeMethodDescription<T> T<T> TTransactionAwareCacheDecorator.putIfAbsent(Object key, Object value) Method parameters in org.springframework.cache.transaction with annotations of type NullableModifier and TypeMethodDescription<T> TvoidTransactionAwareCacheDecorator.putIfAbsent(Object key, Object value) -
Uses of Nullable in org.springframework.context
Methods in org.springframework.context with annotations of type NullableModifier and TypeMethodDescriptiondefault Object[]MessageSourceResolvable.getArguments()Return the array of arguments to be used to resolve this message.String[]MessageSourceResolvable.getCodes()Return the codes to be used to resolve this message, in the order that they should get tried.default StringMessageSourceResolvable.getDefaultMessage()Return the default message to be used to resolve this message.ApplicationContext.getId()Return the unique id of this application context.MessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) Try to resolve the message.ApplicationContext.getParent()Return the parent context, ornullif there is no parent and this is the root of the context hierarchy.HierarchicalMessageSource.getParentMessageSource()Return the parent of this MessageSource, ornullif none.Method parameters in org.springframework.context with annotations of type NullableModifier and TypeMethodDescriptionMessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) Try to resolve the message.MessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) Try to resolve the message.MessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) Try to resolve the message.MessageSource.getMessage(String code, Object[] args, Locale locale) Try to resolve the message.MessageSource.getMessage(String code, Object[] args, Locale locale) Try to resolve the message.MessageSource.getMessage(MessageSourceResolvable resolvable, Locale locale) Try to resolve the message using all the attributes contained within theMessageSourceResolvableargument that was passed in.voidConfigurableApplicationContext.setParent(ApplicationContext parent) Set the parent of this application context.voidHierarchicalMessageSource.setParentMessageSource(MessageSource parent) Set the parent that will be used to try to resolve messages that this object can't resolve.Constructor parameters in org.springframework.context with annotations of type NullableModifierConstructorDescriptionPayloadApplicationEvent(Object source, T payload, ResolvableType payloadType) Create a new PayloadApplicationEvent based on the provided payload type. -
Uses of Nullable in org.springframework.context.annotation
Fields in org.springframework.context.annotation with annotations of type NullableModifier and TypeFieldDescriptionprotected StringCommonAnnotationBeanPostProcessor.LookupElement.mappedNameMethods in org.springframework.context.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected StringAnnotationBeanNameGenerator.determineBeanNameFromAnnotation(AnnotatedBeanDefinition annotatedDef) Derive a bean name from one of the annotations on the class.ConditionContext.getBeanFactory()Return theConfigurableListableBeanFactorythat will hold the bean definition should the condition match, ornullif the bean factory is not available (or not downcastable toConfigurableListableBeanFactory).ConditionContext.getClassLoader()Return theClassLoaderthat should be used to load additional classes (onlynullif even the system ClassLoader isn't accessible).ImportSelector.getExclusionFilter()Return a predicate for excluding classes from the import candidates, to be transitively applied to all classes found through this selector's imports.ScannedGenericBeanDefinition.getFactoryMethodMetadata()default Class<? extends DeferredImportSelector.Group>DeferredImportSelector.getImportGroup()Return a specific import group.Class<?>ContextAnnotationAutowireCandidateResolver.getLazyResolutionProxyClass(DependencyDescriptor descriptor, String beanName) ContextAnnotationAutowireCandidateResolver.getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor, String beanName) static IntegerConfigurationClassUtils.getOrder(AnnotationMetadata metadata) Determine the order for the given configuration class metadata.protected BeanDefinitionRegistryClassPathScanningCandidateComponentProvider.getRegistry()Return theBeanDefinitionRegistryused by this scanner, if any.AnnotationConfigBeanDefinitionParser.parse(Element element, ParserContext parserContext) ComponentScanBeanDefinitionParser.parse(Element element, ParserContext parserContext) CommonAnnotationBeanPostProcessor.postProcessBeforeInstantiation(Class<?> beanClass, String beanName) CommonAnnotationBeanPostProcessor.processAheadOfTime(RegisteredBean registeredBean) ConfigurationClassPostProcessor.processAheadOfTime(ConfigurableListableBeanFactory beanFactory) ConfigurationClassPostProcessor.processAheadOfTime(RegisteredBean registeredBean) <T> TResourceElementResolver.resolve(RegisteredBean registeredBean) Resolve the value for the specified registered bean.protected StringJsr330ScopeMetadataResolver.resolveScopeName(String annotationType) Resolve the given annotation type into a named Spring scope.protected abstract String[]AdviceModeImportSelector.selectImports(AdviceMode adviceMode) Determine which classes should be imported based on the givenAdviceMode.Method parameters in org.springframework.context.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectCommonAnnotationBeanPostProcessor.autowireResource(BeanFactory factory, CommonAnnotationBeanPostProcessor.LookupElement element, String requestingBeanName) Obtain a resource object for the given name and type through autowiring based on the given factory.protected ObjectContextAnnotationAutowireCandidateResolver.buildLazyResolutionProxy(DependencyDescriptor descriptor, String beanName) protected ObjectCommonAnnotationBeanPostProcessor.buildLazyResourceProxy(CommonAnnotationBeanPostProcessor.LookupElement element, String requestingBeanName) Obtain a lazily resolving resource proxy for the given name and type, delegating toCommonAnnotationBeanPostProcessor.getResource(org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.LookupElement, java.lang.String)on demand once a method call comes in.protected TypeFilterComponentScanBeanDefinitionParser.createTypeFilter(Element element, ClassLoader classLoader, ParserContext parserContext) booleanClass<?>ContextAnnotationAutowireCandidateResolver.getLazyResolutionProxyClass(DependencyDescriptor descriptor, String beanName) ContextAnnotationAutowireCandidateResolver.getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor, String beanName) protected ObjectCommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.LookupElement element, String requestingBeanName) Obtain the resource object for the given name and type.static Set<BeanDefinitionHolder>AnnotationConfigUtils.registerAnnotationConfigProcessors(BeanDefinitionRegistry registry, Object source) Register all relevant annotation post processors in the given registry.voidAnnotatedBeanDefinitionReader.registerBean(Class<?> beanClass, String name) Register a bean from the given bean class, deriving its metadata from class-declared annotations.voidAnnotatedBeanDefinitionReader.registerBean(Class<?> beanClass, String name, Class<? extends Annotation>... qualifiers) Register a bean from the given bean class, deriving its metadata from class-declared annotations.<T> voidAnnotatedBeanDefinitionReader.registerBean(Class<T> beanClass, String name, Supplier<T> supplier) Register a bean from the given bean class, deriving its metadata from class-declared annotations, using the given supplier for obtaining a new instance (possibly declared as a lambda expression or method reference).<T> voidAnnotatedBeanDefinitionReader.registerBean(Class<T> beanClass, String name, Supplier<T> supplier) Register a bean from the given bean class, deriving its metadata from class-declared annotations, using the given supplier for obtaining a new instance (possibly declared as a lambda expression or method reference).<T> voidAnnotatedBeanDefinitionReader.registerBean(Class<T> beanClass, String name, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) Register a bean from the given bean class, deriving its metadata from class-declared annotations.<T> voidAnnotatedBeanDefinitionReader.registerBean(Class<T> beanClass, String name, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) Register a bean from the given bean class, deriving its metadata from class-declared annotations.<T> voidAnnotatedBeanDefinitionReader.registerBean(Class<T> beanClass, Supplier<T> supplier) Register a bean from the given bean class, deriving its metadata from class-declared annotations, using the given supplier for obtaining a new instance (possibly declared as a lambda expression or method reference).<T> voidAnnotationConfigApplicationContext.registerBean(String beanName, Class<T> beanClass, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) <T> voidAnnotationConfigApplicationContext.registerBean(String beanName, Class<T> beanClass, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) voidClassPathBeanDefinitionScanner.setAutowireCandidatePatterns(String... autowireCandidatePatterns) Set the name-matching patterns for determining autowire candidates.voidClassPathBeanDefinitionScanner.setBeanDefinitionDefaults(BeanDefinitionDefaults beanDefinitionDefaults) Set the defaults to use for detected beans.voidAnnotatedBeanDefinitionReader.setBeanNameGenerator(BeanNameGenerator beanNameGenerator) Set theBeanNameGeneratorto use for detected bean classes.voidClassPathBeanDefinitionScanner.setBeanNameGenerator(BeanNameGenerator beanNameGenerator) Set the BeanNameGenerator to use for detected bean classes.voidConfigurationClassPostProcessor.setProblemReporter(ProblemReporter problemReporter) Set theProblemReporterto use.voidClassPathScanningCandidateComponentProvider.setResourceLoader(ResourceLoader resourceLoader) Set theResourceLoaderto use for resource locations.voidAnnotatedBeanDefinitionReader.setScopeMetadataResolver(ScopeMetadataResolver scopeMetadataResolver) Set theScopeMetadataResolverto use for registered component classes.voidClassPathBeanDefinitionScanner.setScopeMetadataResolver(ScopeMetadataResolver scopeMetadataResolver) Set the ScopeMetadataResolver to use for detected bean classes.voidConfigurationClassPostProcessor.setSourceExtractor(SourceExtractor sourceExtractor) Set theSourceExtractorto use for generated bean definitions that correspond toBeanfactory methods.Constructor parameters in org.springframework.context.annotation with annotations of type NullableModifierConstructorDescriptionClassPathBeanDefinitionScanner(BeanDefinitionRegistry registry, boolean useDefaultFilters, Environment environment, ResourceLoader resourceLoader) Create a newClassPathBeanDefinitionScannerfor the given bean factory and using the givenEnvironmentwhen evaluating bean definition profile metadata.LookupElement(Member member, PropertyDescriptor pd) -
Uses of Nullable in org.springframework.context.aot
Methods in org.springframework.context.aot with annotations of type NullableMethod parameters in org.springframework.context.aot with annotations of type NullableModifier and TypeMethodDescriptionstatic <C extends ConfigurableApplicationContext>
ApplicationContextInitializer<C>AotApplicationContextInitializer.instantiateInitializer(String initializerClassName, ClassLoader classLoader) ReflectiveProcessorAotContributionBuilder.scan(ClassLoader classLoader, String... packageNames) Scan the givenpackageNamesand their sub-packages for classes that usesReflective. -
Uses of Nullable in org.springframework.context.event
Methods in org.springframework.context.event with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectInvoke the event listener method with the given argument values.protected StringApplicationListenerMethodAdapter.getCondition()Return the condition to use.protected ErrorHandlerSimpleApplicationEventMulticaster.getErrorHandler()Return the current error handler for this multicaster.protected ExecutorSimpleApplicationEventMulticaster.getTaskExecutor()Return the current task executor for this multicaster.EventPublicationInterceptor.invoke(MethodInvocation invocation) protected Object[]ApplicationListenerMethodAdapter.resolveArguments(ApplicationEvent event) Resolve the method arguments to use for the specifiedApplicationEvent.Method parameters in org.springframework.context.event with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectInvoke the event listener method with the given argument values.protected StringApplicationListenerMethodAdapter.getDetailedErrorMessage(Object bean, String message) Add additional details such as the bean type and method signature to the given error message.voidApplicationEventMulticaster.multicastEvent(ApplicationEvent event, ResolvableType eventType) Multicast the given application event to appropriate listeners.voidSimpleApplicationEventMulticaster.multicastEvent(ApplicationEvent event, ResolvableType eventType) voidSimpleApplicationEventMulticaster.setErrorHandler(ErrorHandler errorHandler) Set theErrorHandlerto invoke in case an exception is thrown from a listener.voidSimpleApplicationEventMulticaster.setTaskExecutor(Executor taskExecutor) Set a custom executor (typically aTaskExecutor) to invoke each listener with.protected booleanAbstractApplicationEventMulticaster.supportsEvent(ApplicationListener<?> listener, ResolvableType eventType, Class<?> sourceType) Determine whether the given listener supports the given event.booleanApplicationListenerMethodAdapter.supportsSourceType(Class<?> sourceType) booleanGenericApplicationListenerAdapter.supportsSourceType(Class<?> sourceType) default booleanSmartApplicationListener.supportsSourceType(Class<?> sourceType) Determine whether this listener actually supports the given source type.booleanSourceFilteringListener.supportsSourceType(Class<?> sourceType) -
Uses of Nullable in org.springframework.context.expression
Methods in org.springframework.context.expression with annotations of type NullableModifier and TypeMethodDescriptionStandardBeanExpressionResolver.evaluate(String value, BeanExpressionContext beanExpressionContext) MethodBasedEvaluationContext.lookupVariable(String name) Method parameters in org.springframework.context.expression with annotations of type NullableModifier and TypeMethodDescriptionbooleanBeanExpressionContextAccessor.canRead(EvaluationContext context, Object target, String name) booleanBeanFactoryAccessor.canRead(EvaluationContext context, Object target, String name) booleanEnvironmentAccessor.canRead(EvaluationContext context, Object target, String name) booleanMapAccessor.canRead(EvaluationContext context, Object target, String name) booleanBeanExpressionContextAccessor.canWrite(EvaluationContext context, Object target, String name) booleanBeanFactoryAccessor.canWrite(EvaluationContext context, Object target, String name) booleanEnvironmentAccessor.canWrite(EvaluationContext context, Object target, String name) Read-only: returnsfalse.booleanMapAccessor.canWrite(EvaluationContext context, Object target, String name) booleanbooleanStandardBeanExpressionResolver.evaluate(String value, BeanExpressionContext beanExpressionContext) BeanExpressionContextAccessor.read(EvaluationContext context, Object target, String name) BeanFactoryAccessor.read(EvaluationContext context, Object target, String name) EnvironmentAccessor.read(EvaluationContext context, Object target, String name) Access the given target object by resolving the given property name against the given target environment.MapAccessor.read(EvaluationContext context, Object target, String name) voidBeanExpressionContextAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidBeanExpressionContextAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidBeanFactoryAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidBeanFactoryAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidEnvironmentAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidEnvironmentAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidMapAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidMapAccessor.write(EvaluationContext context, Object target, String name, Object newValue) Constructor parameters in org.springframework.context.expression with annotations of type NullableModifierConstructorDescriptionAnnotatedElementKey(AnnotatedElement element, Class<?> targetClass) Create a new instance with the specifiedAnnotatedElementand optional targetClass.StandardBeanExpressionResolver(ClassLoader beanClassLoader) Create a newStandardBeanExpressionResolverwith the given bean class loader, using it as the basis for expression compilation. -
Uses of Nullable in org.springframework.context.i18n
Methods in org.springframework.context.i18n with annotations of type NullableModifier and TypeMethodDescriptionLocaleContext.getLocale()Return the current Locale, which can be fixed or determined dynamically, depending on the implementation strategy.SimpleLocaleContext.getLocale()static LocaleContextLocaleContextHolder.getLocaleContext()Return the LocaleContext associated with the current thread, if any.SimpleTimeZoneAwareLocaleContext.getTimeZone()TimeZoneAwareLocaleContext.getTimeZone()Return the current TimeZone, which can be fixed or determined dynamically, depending on the implementation strategy.LocaleContextThreadLocalAccessor.getValue()Method parameters in org.springframework.context.i18n with annotations of type NullableModifier and TypeMethodDescriptionstatic LocaleLocaleContextHolder.getLocale(LocaleContext localeContext) Return the Locale associated with the given user context, if any, or the system default Locale otherwise.static TimeZoneLocaleContextHolder.getTimeZone(LocaleContext localeContext) Return the TimeZone associated with the given user context, if any, or the system default TimeZone otherwise.static voidLocaleContextHolder.setDefaultLocale(Locale locale) Set a shared default locale at the framework level, as an alternative to the JVM-wide default locale.static voidLocaleContextHolder.setDefaultTimeZone(TimeZone timeZone) Set a shared default time zone at the framework level, as an alternative to the JVM-wide default time zone.static voidAssociate the given Locale with the current thread, preserving any TimeZone that may have been set already.static voidAssociate the given Locale with the current thread, preserving any TimeZone that may have been set already.static voidLocaleContextHolder.setLocaleContext(LocaleContext localeContext) Associate the given LocaleContext with the current thread, not exposing it as inheritable for child threads.static voidLocaleContextHolder.setLocaleContext(LocaleContext localeContext, boolean inheritable) Associate the given LocaleContext with the current thread.static voidLocaleContextHolder.setTimeZone(TimeZone timeZone) Associate the given TimeZone with the current thread, preserving any Locale that may have been set already.static voidLocaleContextHolder.setTimeZone(TimeZone timeZone, boolean inheritable) Associate the given TimeZone with the current thread, preserving any Locale that may have been set already.Constructor parameters in org.springframework.context.i18n with annotations of type NullableModifierConstructorDescriptionSimpleLocaleContext(Locale locale) Create a newSimpleLocaleContextthat exposes the specifiedLocale.SimpleTimeZoneAwareLocaleContext(Locale locale, TimeZone timeZone) Create a new SimpleTimeZoneAwareLocaleContext that exposes the specified Locale and TimeZone.SimpleTimeZoneAwareLocaleContext(Locale locale, TimeZone timeZone) Create a new SimpleTimeZoneAwareLocaleContext that exposes the specified Locale and TimeZone. -
Uses of Nullable in org.springframework.context.index
Methods in org.springframework.context.index with annotations of type NullableModifier and TypeMethodDescriptionstatic CandidateComponentsIndexCandidateComponentsIndexLoader.loadIndex(ClassLoader classLoader) Deprecated, for removal: This API element is subject to removal in a future version.Load and instantiate theCandidateComponentsIndexfrom "META-INF/spring.components", using the given class loader.Method parameters in org.springframework.context.index with annotations of type NullableModifier and TypeMethodDescriptionstatic CandidateComponentsIndexCandidateComponentsIndexLoader.loadIndex(ClassLoader classLoader) Deprecated, for removal: This API element is subject to removal in a future version.Load and instantiate theCandidateComponentsIndexfrom "META-INF/spring.components", using the given class loader. -
Uses of Nullable in org.springframework.context.support
Methods in org.springframework.context.support with annotations of type NullableModifier and TypeMethodDescription<A extends Annotation>
AAbstractApplicationContext.findAnnotationOnBean(String beanName, Class<A> annotationType) <A extends Annotation>
AAbstractApplicationContext.findAnnotationOnBean(String beanName, Class<A> annotationType, boolean allowFactoryBeanInit) final ApplicationContextApplicationObjectSupport.getApplicationContext()Return the ApplicationContext that this object is associated with.Object[]DefaultMessageSourceResolvable.getArguments()protected ClassLoaderResourceBundleMessageSource.getBundleClassLoader()Return the ClassLoader to load resource bundles with.GenericApplicationContext.getClassLoader()DefaultMessageSourceResolvable.getCode()Return the default code of this resolvable, that is, the last one in the codes array.String[]DefaultMessageSourceResolvable.getCodes()protected PropertiesAbstractMessageSource.getCommonMessages()Return a Properties object defining locale-independent common messages, if any.protected String[]AbstractRefreshableConfigApplicationContext.getConfigLocations()Return an array of resource locations, referring to the XML bean definition files that this context should be built with.protected Resource[]AbstractXmlApplicationContext.getConfigResources()Return an array of Resource objects, referring to the XML bean definition files that this context should be built with.protected Resource[]ClassPathXmlApplicationContext.getConfigResources()protected String[]AbstractRefreshableConfigApplicationContext.getDefaultConfigLocations()Return the default config locations to use, for the case where no explicit config locations have been specified.protected StringAbstractResourceBasedMessageSource.getDefaultEncoding()Return the default charset to use for parsing properties files, if any.protected LocaleAbstractResourceBasedMessageSource.getDefaultLocale()Determine a default Locale to fall back to: either a locally specified default Locale or the system Locale, ornullfor no fallback locale at all.protected StringAbstractMessageSource.getDefaultMessage(String code) Return a fallback default message for the given code, if any.protected StringAbstractMessageSource.getDefaultMessage(MessageSourceResolvable resolvable, Locale locale) Get a default message for the givenMessageSourceResolvable.DefaultMessageSourceResolvable.getDefaultMessage()protected BeanFactoryAbstractApplicationContext.getInternalParentBeanFactory()Return the internal bean factory of the parent context if it implements ConfigurableApplicationContext; else, return the parent context itself.protected MessageSourceAbstractApplicationContext.getInternalParentMessageSource()Return the internal message source of the parent context if it is an AbstractApplicationContext too; else, return the parent context itself.AbstractApplicationContext.getMessage(String code, Object[] args, String defaultMessage, Locale locale) final StringAbstractMessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) DelegatingMessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) ReloadableResourceBundleMessageSource.PropertiesHolder.getMessageFormat(String code, Locale locale) protected MessageFormatResourceBundleMessageSource.getMessageFormat(ResourceBundle bundle, String code, Locale locale) Return a MessageFormat for the given bundle and code, fetching already generated MessageFormats from the cache.protected StringAbstractMessageSource.getMessageFromParent(String code, Object[] args, Locale locale) Try to retrieve the given message from the parentMessageSource, if any.protected StringAbstractMessageSource.getMessageInternal(String code, Object[] args, Locale locale) Resolve the given code and arguments as message in the given Locale, returningnullif not found.protected final MessageSourceAccessorApplicationObjectSupport.getMessageSourceAccessor()Return a MessageSourceAccessor for the application context used by this object, for easy message access.ConversionServiceFactoryBean.getObject()AbstractApplicationContext.getParent()Return the parent context, ornullif there is no parent (that is, this context is the root of the context hierarchy).AbstractApplicationContext.getParentBeanFactory()AbstractMessageSource.getParentMessageSource()DelegatingMessageSource.getParentMessageSource()ReloadableResourceBundleMessageSource.PropertiesHolder.getProperties()GenericGroovyApplicationContext.getProperty(String property) ReloadableResourceBundleMessageSource.PropertiesHolder.getProperty(String code) protected ResourceBundleResourceBundleMessageSource.getResourceBundle(String basename, Locale locale) Return a ResourceBundle for the given basename and Locale, fetching already generated ResourceBundle from the cache.protected StringResourceBundleMessageSource.getStringOrNull(ResourceBundle bundle, String key) Efficiently retrieve the String value for the specified key, or returnnullif not found.Class<?>Class<?>protected ObjectMessageSourceResourceBundle.handleGetObject(String key) This implementation resolves the code in the MessageSource.protected abstract MessageFormatAbstractMessageSource.resolveCode(String code, Locale locale) Subclasses must implement this method to resolve a message.protected MessageFormatReloadableResourceBundleMessageSource.resolveCode(String code, Locale locale) Resolves the given message code as key in the retrieved bundle files, using a cached MessageFormat instance per message code.protected MessageFormatResourceBundleMessageSource.resolveCode(String code, Locale locale) Resolves the given message code as key in the registered resource bundles, using a cached MessageFormat instance per message code.protected MessageFormatStaticMessageSource.resolveCode(String code, Locale locale) protected StringAbstractMessageSource.resolveCodeWithoutArguments(String code, Locale locale) Subclasses can override this method to resolve a message without arguments in an optimized fashion, i.e.protected StringReloadableResourceBundleMessageSource.resolveCodeWithoutArguments(String code, Locale locale) Resolves the given message code as key in the retrieved bundle files, returning the value found in the bundle as-is (without MessageFormat parsing).protected StringResourceBundleMessageSource.resolveCodeWithoutArguments(String code, Locale locale) Resolves the given message code as key in the registered resource bundles, returning the value found in the bundle as-is (without MessageFormat parsing).protected StringStaticMessageSource.resolveCodeWithoutArguments(String code, Locale locale) SimpleThreadScope.resolveContextualObject(String key) protected StringEmbeddedValueResolutionSupport.resolveEmbeddedValue(String value) Resolve the given embedded value through this instance'sStringValueResolver.protected ResourceReloadableResourceBundleMessageSource.resolveResource(String filename) Resolve the specified bundlefilenameinto a concreteResource, potentially checking multiple sources or file extensions.Method parameters in org.springframework.context.support with annotations of type NullableModifier and TypeMethodDescriptionprotected MessageFormatMessageSourceSupport.createMessageFormat(String msg, Locale locale) Create aMessageFormatfor the given message and Locale.booleanprotected StringMessageSourceSupport.formatMessage(String msg, Object[] args, Locale locale) Format the given message String, using cached MessageFormats.protected StringMessageSourceSupport.formatMessage(String msg, Object[] args, Locale locale) Format the given message String, using cached MessageFormats.String[]AbstractApplicationContext.getBeanNamesForType(Class<?> type) String[]AbstractApplicationContext.getBeanNamesForType(Class<?> type, boolean includeNonSingletons, boolean allowEagerInit) AbstractApplicationContext.getBeansOfType(Class<T> type) AbstractApplicationContext.getBeansOfType(Class<T> type, boolean includeNonSingletons, boolean allowEagerInit) protected StringAbstractMessageSource.getDefaultMessage(MessageSourceResolvable resolvable, Locale locale) Get a default message for the givenMessageSourceResolvable.AbstractApplicationContext.getMessage(String code, Object[] args, String defaultMessage, Locale locale) AbstractApplicationContext.getMessage(String code, Object[] args, String defaultMessage, Locale locale) AbstractApplicationContext.getMessage(String code, Object[] args, String defaultMessage, Locale locale) AbstractApplicationContext.getMessage(String code, Object[] args, Locale locale) AbstractApplicationContext.getMessage(String code, Object[] args, Locale locale) AbstractApplicationContext.getMessage(MessageSourceResolvable resolvable, Locale locale) final StringAbstractMessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) final StringAbstractMessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) final StringAbstractMessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) final StringAbstractMessageSource.getMessage(String code, Object[] args, Locale locale) final StringAbstractMessageSource.getMessage(String code, Object[] args, Locale locale) final StringAbstractMessageSource.getMessage(MessageSourceResolvable resolvable, Locale locale) DelegatingMessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) DelegatingMessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) DelegatingMessageSource.getMessage(String code, Object[] args, String defaultMessage, Locale locale) DelegatingMessageSource.getMessage(String code, Object[] args, Locale locale) DelegatingMessageSource.getMessage(String code, Object[] args, Locale locale) DelegatingMessageSource.getMessage(MessageSourceResolvable resolvable, Locale locale) MessageSourceAccessor.getMessage(String code, Object[] args) Retrieve the message for the given code and the default Locale.MessageSourceAccessor.getMessage(String code, Object[] args, String defaultMessage) Retrieve the message for the given code and the default Locale.MessageSourceAccessor.getMessage(String code, Object[] args, String defaultMessage, Locale locale) Retrieve the message for the given code and the given Locale.MessageSourceAccessor.getMessage(String code, Object[] args, Locale locale) Retrieve the message for the given code and the given Locale.protected StringAbstractMessageSource.getMessageFromParent(String code, Object[] args, Locale locale) Try to retrieve the given message from the parentMessageSource, if any.protected StringAbstractMessageSource.getMessageInternal(String code, Object[] args, Locale locale) Resolve the given code and arguments as message in the given Locale, returningnullif not found.protected StringAbstractMessageSource.getMessageInternal(String code, Object[] args, Locale locale) Resolve the given code and arguments as message in the given Locale, returningnullif not found.protected StringAbstractMessageSource.getMessageInternal(String code, Object[] args, Locale locale) Resolve the given code and arguments as message in the given Locale, returningnullif not found.protected voidAbstractApplicationContext.publishEvent(Object event, ResolvableType typeHint) Publish the given event to all listeners.ReloadableResourceBundleMessageSource.refreshProperties(String filename, ReloadableResourceBundleMessageSource.PropertiesHolder propHolder) Refresh the PropertiesHolder for the given bundle filename.<T> voidGenericApplicationContext.registerBean(String beanName, Class<T> beanClass, Object... constructorArgs) Register a bean from the given bean class, optionally providing explicit constructor arguments for consideration in the autowiring process.<T> voidGenericApplicationContext.registerBean(String beanName, Class<T> beanClass, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) Register a bean from the given bean class, using the given supplier for obtaining a new instance (typically declared as a lambda expression or method reference), optionally customizing its bean definition metadata (again typically declared as a lambda expression).<T> voidGenericApplicationContext.registerBean(String beanName, Class<T> beanClass, Supplier<T> supplier, BeanDefinitionCustomizer... customizers) Register a bean from the given bean class, using the given supplier for obtaining a new instance (typically declared as a lambda expression or method reference), optionally customizing its bean definition metadata (again typically declared as a lambda expression).final <T> voidGenericApplicationContext.registerBean(String beanName, Class<T> beanClass, BeanDefinitionCustomizer... customizers) Register a bean from the given bean class, optionally customizing its bean definition metadata (typically declared as a lambda expression).protected StringMessageSourceSupport.renderDefaultMessage(String defaultMessage, Object[] args, Locale locale) Render the given default message String.protected StringMessageSourceSupport.renderDefaultMessage(String defaultMessage, Object[] args, Locale locale) Render the given default message String.protected Object[]AbstractMessageSource.resolveArguments(Object[] args, Locale locale) Searches through the given array of objects, finds any MessageSourceResolvable objects and resolves them.protected Object[]AbstractMessageSource.resolveArguments(Object[] args, Locale locale) Searches through the given array of objects, finds any MessageSourceResolvable objects and resolves them.protected Object[]MessageSourceSupport.resolveArguments(Object[] args, Locale locale) Template method for resolving argument objects.protected Object[]MessageSourceSupport.resolveArguments(Object[] args, Locale locale) Template method for resolving argument objects.final voidApplicationObjectSupport.setApplicationContext(ApplicationContext context) voidGenericApplicationContext.setClassLoader(ClassLoader classLoader) voidAbstractMessageSource.setCommonMessages(Properties commonMessages) Specify locale-independent common messages, with the message code as key and the full message String (may contain argument placeholders) as value.voidAbstractRefreshableConfigApplicationContext.setConfigLocations(String... locations) Set the config locations for this application context.voidAbstractResourceBasedMessageSource.setDefaultEncoding(String defaultEncoding) Set the default charset to use for parsing properties files.voidAbstractResourceBasedMessageSource.setDefaultLocale(Locale defaultLocale) Specify a default Locale to fall back to, as an alternative to falling back to the system Locale.voidAbstractApplicationContext.setParent(ApplicationContext parent) Set the parent of this application context.voidGenericApplicationContext.setParent(ApplicationContext parent) Set the parent of this application context, also setting the parent of the internal BeanFactory accordingly.voidAbstractMessageSource.setParentMessageSource(MessageSource parent) voidDelegatingMessageSource.setParentMessageSource(MessageSource parent) voidReloadableResourceBundleMessageSource.setPropertiesPersister(PropertiesPersister propertiesPersister) Set the PropertiesPersister to use for parsing properties files.voidReloadableResourceBundleMessageSource.setResourceLoader(ResourceLoader resourceLoader) Set the ResourceLoader to use for loading bundle properties files.Constructor parameters in org.springframework.context.support with annotations of type NullableModifierConstructorDescriptionCreate a new AbstractApplicationContext with the given parent context.Create a new AbstractRefreshableApplicationContext with the given parent context.Create a new AbstractRefreshableConfigApplicationContext with the given parent context.Create a new AbstractXmlApplicationContext with the given parent context.ClassPathXmlApplicationContext(String[] configLocations, boolean refresh, ApplicationContext parent) Create a new ClassPathXmlApplicationContext with the given parent, loading the definitions from the given XML files.ClassPathXmlApplicationContext(String[] paths, Class<?> clazz, ApplicationContext parent) Create a new ClassPathXmlApplicationContext with the given parent, loading the definitions from the given XML files and automatically refreshing the context.ClassPathXmlApplicationContext(String[] configLocations, ApplicationContext parent) Create a new ClassPathXmlApplicationContext with the given parent, loading the definitions from the given XML files and automatically refreshing the context.DefaultMessageSourceResolvable(String[] codes, Object[] arguments, String defaultMessage) Create a new DefaultMessageSourceResolvable.DefaultMessageSourceResolvable(String[] codes, Object[] arguments, String defaultMessage) Create a new DefaultMessageSourceResolvable.DefaultMessageSourceResolvable(String[] codes, Object[] arguments, String defaultMessage) Create a new DefaultMessageSourceResolvable.FileSystemXmlApplicationContext(String[] configLocations, boolean refresh, ApplicationContext parent) Create a new FileSystemXmlApplicationContext with the given parent, loading the definitions from the given XML files.Create a new GenericApplicationContext with the given parent.Create a new StaticApplicationContext with the given parent. -
Uses of Nullable in org.springframework.context.weaving
Methods in org.springframework.context.weaving with annotations of type NullableModifier and TypeMethodDescriptionprotected LoadTimeWeaverDefaultContextLoadTimeWeaver.createServerSpecificLoadTimeWeaver(ClassLoader classLoader) Method parameters in org.springframework.context.weaving with annotations of type NullableModifier and TypeMethodDescriptionstatic voidAspectJWeavingEnabler.enableAspectJWeaving(LoadTimeWeaver weaverToUse, ClassLoader beanClassLoader) Enable AspectJ weaving with the givenLoadTimeWeaver.static voidAspectJWeavingEnabler.enableAspectJWeaving(LoadTimeWeaver weaverToUse, ClassLoader beanClassLoader) Enable AspectJ weaving with the givenLoadTimeWeaver.Constructor parameters in org.springframework.context.weaving with annotations of type NullableModifierConstructorDescriptionLoadTimeWeaverAwareProcessor(LoadTimeWeaver loadTimeWeaver) Create a newLoadTimeWeaverAwareProcessorfor the givenLoadTimeWeaver. -
Uses of Nullable in org.springframework.core
Methods in org.springframework.core with annotations of type NullableModifier and TypeMethodDescriptionstatic StringNestedExceptionUtils.buildMessage(String message, Throwable cause) Deprecated.as of 6.0, in favor of custom exception messages with selective inclusion of cause messagesstatic BooleanRetrieve the flag for the given property key, returningnullinstead offalsein case of no actual flag set.protected IntegerFind an order value indicated by the given object.ReactiveAdapterRegistry.getAdapter(Class<?> reactiveType) Get the adapter for the given reactive type.ReactiveAdapterRegistry.getAdapter(Class<?> reactiveType, Object source) Get the adapter for the given reactive type.AttributeAccessor.getAttribute(String name) Get the value of the attribute identified byname.AttributeAccessorSupport.getAttribute(String name) Constructor<?>MethodParameter.getConstructor()Return the wrapped Constructor, if any.protected ClassLoaderConfigurableObjectInputStream.getFallbackClassLoader()Return the fallback ClassLoader to use when no ClassLoader was specified and ObjectInputStream's own default class loader failed.MethodParameter.getMethod()Return the wrapped Method, if any.<A extends Annotation>
AMethodParameter.getMethodAnnotation(Class<A> annotationType) Return the method/constructor annotation of the given type, if available.OrderComparator.OrderSourceProvider.getOrderSource(Object obj) Return an order source for the specified object, i.e.<A extends Annotation>
AMethodParameter.getParameterAnnotation(Class<A> annotationType) Return the parameter annotation of the given type, if available.MethodParameter.getParameterName()Return the name of the method/constructor parameter.String[]KotlinReflectionParameterNameDiscoverer.getParameterNames(Constructor<?> ctor) String[]KotlinReflectionParameterNameDiscoverer.getParameterNames(Method method) String[]ParameterNameDiscoverer.getParameterNames(Constructor<?> ctor) Return parameter names for a constructor, ornullif they cannot be determined.String[]ParameterNameDiscoverer.getParameterNames(Method method) Return parameter names for a method, ornullif they cannot be determined.String[]PrioritizedParameterNameDiscoverer.getParameterNames(Constructor<?> ctor) String[]PrioritizedParameterNameDiscoverer.getParameterNames(Method method) String[]StandardReflectionParameterNameDiscoverer.getParameterNames(Constructor<?> ctor) String[]StandardReflectionParameterNameDiscoverer.getParameterNames(Method method) OrderComparator.getPriority(Object obj) Determine a priority value for the given object, if any.static StringSpringProperties.getProperty(String key) Retrieve the property value for the given key, checking local Spring properties first and falling back to JVM-level system properties.Class<?>ResolvableType.getRawClass()Return the underlying JavaClassbeing managed, if available; otherwisenull.ResolvableTypeProvider.getResolvableType()Return theResolvableTypedescribing this instance (ornullif some sort of default should be applied instead).NestedCheckedException.getRootCause()Retrieve the innermost cause of this exception, if any.static ThrowableNestedExceptionUtils.getRootCause(Throwable original) Retrieve the innermost cause of the given exception, if any.NestedRuntimeException.getRootCause()Retrieve the innermost cause of this exception, if any.MethodParameter.getTypeIndexForCurrentLevel()Return the type index for the current nesting level.MethodParameter.getTypeIndexForLevel(int nestingLevel) Return the type index for the specified nesting level.static StringSpringVersion.getVersion()Return the full version string of the present Spring codebase, ornullif it cannot be determined.Perform a lookup on the given method and return associated metadata, if any.protected byte[]OverridingClassLoader.loadBytesForClass(String name) Load the defining bytes for the given class, to be turned into a Class object through aClassLoader.defineClass(byte[], int, int)call.protected Class<?>OverridingClassLoader.loadClassForOverriding(String name) Load the specified class for overriding purposes in this ClassLoader.protected InputStreamOverridingClassLoader.openStreamForClass(String name) Open an InputStream for the specified class.AttributeAccessor.removeAttribute(String name) Remove the attribute identified bynameand return its value.AttributeAccessorSupport.removeAttribute(String name) Class<?>ResolvableType.resolve()Resolve this type to aClass, returningnullif the type cannot be resolved.Class<?>ResolvableType.resolveGeneric(int... indexes) static Class<?>GenericTypeResolver.resolveReturnTypeArgument(Method method, Class<?> genericType) Resolve the single type argument of the given generic type against the given target method which is assumed to return the given type or an implementation of it.static Class<?>GenericTypeResolver.resolveTypeArgument(Class<?> clazz, Class<?> genericType) Resolve the single type argument of the given generic type against the given target class which is assumed to implement the given type and possibly declare a concrete type for its type variable.static Class<?>[]GenericTypeResolver.resolveTypeArguments(Class<?> clazz, Class<?> genericType) Resolve the type arguments of the given generic type against the given target class which is assumed to implement or extend from the given type and possibly declare concrete types for its type variables.Method parameters in org.springframework.core with annotations of type NullableModifier and TypeMethodDescriptionstatic StringNestedExceptionUtils.buildMessage(String message, Throwable cause) Deprecated.as of 6.0, in favor of custom exception messages with selective inclusion of cause messagesstatic StringNestedExceptionUtils.buildMessage(String message, Throwable cause) Deprecated.as of 6.0, in favor of custom exception messages with selective inclusion of cause messagesintintbooleanCheck whether this exception contains an exception of the given type: either it is of the given class itself or it contains a nested cause of the given type.booleanCheck whether this exception contains an exception of the given type: either it is of the given class itself or it contains a nested cause of the given type.static <E> Collection<E>CollectionFactory.createApproximateCollection(Object collection, int capacity) Create the most approximate collection for the given collection.static <K,V> Map<K, V> CollectionFactory.createApproximateMap(Object map, int capacity) Create the most approximate map for the given map.static <E> Collection<E>CollectionFactory.createCollection(Class<?> collectionType, Class<?> elementType, int capacity) Create the most appropriate collection for the given collection type.static <K,V> Map<K, V> Create the most appropriate map for the given map type.booleanbooleanbooleanbooleanbooleanbooleanCheck for full equality of all type resolution artifacts: type as well asTypeProviderandVariableResolver.static ResolvableTypeReturn aResolvableTypefor the specifiedClass, using the full generic type information for assignability checks.static ResolvableTypeResolvableType.forClassWithGenerics(Class<?> clazz, ResolvableType... generics) Return aResolvableTypefor the specifiedClasswith pre-declared generics.static ResolvableTypeReturn aResolvableTypefor the specifiedFieldwith a given implementation and the given nesting level.static ResolvableTypeResolvableType.forField(Field field, ResolvableType implementationType) Return aResolvableTypefor the specifiedFieldwith a given implementation.static ResolvableTypeResolvableType.forInstance(Object instance) Return aResolvableTypefor the specified instance.static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter, Type targetType) Return aResolvableTypefor the specifiedMethodParameter, overriding the target type to resolve with a specific given type.static ResolvableTypeResolvableType.forMethodParameter(MethodParameter methodParameter, ResolvableType implementationType) Return aResolvableTypefor the specifiedMethodParameterwith a given implementation type.static ResolvableTypeResolvableType.forRawClass(Class<?> clazz) Return aResolvableTypefor the specifiedClass, doing assignability checks against the raw class only (analogous toClass.isAssignableFrom(java.lang.Class<?>), which this serves as a wrapper for).static ResolvableTypeReturn aResolvableTypefor the specifiedType.static ResolvableTypeResolvableType.forType(Type type, ResolvableType owner) Return aResolvableTypefor the specifiedTypebacked by the given owner type.static ResolvableTypeResolvableType.forType(Type type, ResolvableType owner) Return aResolvableTypefor the specifiedTypebacked by the given owner type.ReactiveAdapterRegistry.getAdapter(Class<?> reactiveType, Object source) Get the adapter for the given reactive type.ReactiveAdapterRegistry.getAdapter(Class<?> reactiveType, Object source) Get the adapter for the given reactive type.ResolvableType.getGeneric(int... indexes) Return aResolvableTyperepresenting the generic parameter for the given indexes.static MethodBridgeMethodResolver.getMostSpecificMethod(Method bridgeMethod, Class<?> targetClass) Determine the most specific method for the suppliedbridge Methodin the given class hierarchy, even if not available on the local declaring class.Deprecated.Return all names of the given group of constants.Constants.getNamesForSuffix(String nameSuffix) Deprecated.Return all names of the given group of constants.Return aResolvableTypefor the specified nesting level.protected intDetermine the order value for the given object.static ThrowableNestedExceptionUtils.getRootCause(Throwable original) Retrieve the innermost cause of the given exception, if any.Deprecated.Return all values of the given group of constants.Constants.getValuesForSuffix(String nameSuffix) Deprecated.Return all values of the given group of constants.static StringConventions.getVariableNameForReturnType(Method method, Class<?> resolvedType, Object value) Determine the conventional variable name for the return type of the given method, taking the generic collection type, if any, into account, falling back on the given return value if the method declaration is not specific enough, for example,Objectreturn type or untyped collection.static StringConventions.getVariableNameForReturnType(Method method, Object value) Determine the conventional variable name for the return type of the given method, taking the generic collection type, if any, into account, falling back on the given actual return value if the method declaration is not specific enough, for example,Objectreturn type or untyped collection.voidMethodParameter.initParameterNameDiscovery(ParameterNameDiscoverer parameterNameDiscoverer) Initialize parameter name discovery for this method parameter.static Publisher<?>CoroutinesUtils.invokeSuspendingFunction(Method method, Object target, Object... args) Invoke a suspending function and convert it toMonoorFlux.static Publisher<?>CoroutinesUtils.invokeSuspendingFunction(kotlin.coroutines.CoroutineContext context, Method method, Object target, Object... args) Invoke a suspending function and convert it toMonoorFlux.static Publisher<?>CoroutinesUtils.invokeSuspendingFunction(kotlin.coroutines.CoroutineContext context, Method method, Object target, Object... args) Invoke a suspending function and convert it toMonoorFlux.static booleanCollectionFactory.isApproximableCollectionType(Class<?> collectionType) Determine whether the given collection type is an approximable type, i.e.static booleanCollectionFactory.isApproximableMapType(Class<?> mapType) Determine whether the given map type is an approximable type, i.e.booleanResolvableType.isInstance(Object obj) Determine whether the given object is an instance of thisResolvableType.Return a variant of thisMethodParameterwhich points to the same parameter but one nesting level deeper.default Class<?>SmartClassLoader.publicDefineClass(String name, byte[] b, ProtectionDomain protectionDomain) Define a custom class (typically a CGLIB proxy class) in this class loader.static TypeGenericTypeResolver.resolveType(Type genericType, Class<?> contextClass) Resolve the given generic type against the given context class, substituting type variables as far as possible.voidAttributeAccessor.setAttribute(String name, Object value) Set the attribute defined bynameto the suppliedvalue.voidAttributeAccessorSupport.setAttribute(String name, Object value) static voidSpringProperties.setProperty(String key, String value) Programmatically set a local property, overriding an entry in thespring.propertiesfile (if any).Deprecated.Look up the given value within the given group of constants.Constants.toCodeForSuffix(Object value, String nameSuffix) Deprecated.Look up the given value within the given group of constants.<T> Publisher<T>ReactiveAdapter.toPublisher(Object source) Adapt the given instance to a Reactive StreamsPublisher.MethodParameter.withContainingClass(Class<?> containingClass) Return a variant of thisMethodParameterwhich refers to the given containing class.Constructor parameters in org.springframework.core with annotations of type NullableModifierConstructorDescriptionConfigurableObjectInputStream(InputStream in, ClassLoader classLoader) Create a new ConfigurableObjectInputStream for the given InputStream and ClassLoader.ConfigurableObjectInputStream(InputStream in, ClassLoader classLoader, boolean acceptProxyClasses) Create a new ConfigurableObjectInputStream for the given InputStream and ClassLoader.DecoratingClassLoader(ClassLoader parent) Create a new DecoratingClassLoader using the given parent ClassLoader for delegation.MethodClassKey(Method method, Class<?> targetClass) Create a key object for the given method and target class.NestedCheckedException(String msg, Throwable cause) Construct aNestedCheckedExceptionwith the specified detail message and nested exception.NestedCheckedException(String msg, Throwable cause) Construct aNestedCheckedExceptionwith the specified detail message and nested exception.Construct aNestedRuntimeExceptionwith the specified detail message.NestedRuntimeException(String msg, Throwable cause) Construct aNestedRuntimeExceptionwith the specified detail message and nested exception.NestedRuntimeException(String msg, Throwable cause) Construct aNestedRuntimeExceptionwith the specified detail message and nested exception.OverridingClassLoader(ClassLoader parent) Create a new OverridingClassLoader for the given ClassLoader.OverridingClassLoader(ClassLoader parent, ClassLoader overrideDelegate) Create a new OverridingClassLoader for the given ClassLoader.OverridingClassLoader(ClassLoader parent, ClassLoader overrideDelegate) Create a new OverridingClassLoader for the given ClassLoader. -
Uses of Nullable in org.springframework.core.annotation
Methods in org.springframework.core.annotation with annotations of type NullableModifier and TypeMethodDescriptionClass<? extends Annotation>AnnotationAttributes.annotationType()Get the type of annotation represented by thisAnnotationAttributes.static <A extends Annotation>
AAnnotationUtils.findAnnotation(Class<?> clazz, Class<A> annotationType) Find a singleAnnotationofannotationTypeon the suppliedClass, traversing its interfaces, annotations, and superclasses if the annotation is not directly present on the given class itself.static <A extends Annotation>
AAnnotationUtils.findAnnotation(AnnotatedElement annotatedElement, Class<A> annotationType) static <A extends Annotation>
AAnnotationUtils.findAnnotation(Method method, Class<A> annotationType) Find a singleAnnotationofannotationTypeon the suppliedMethod, traversing its super methods (i.e.static Class<?>AnnotationUtils.findAnnotationDeclaringClass(Class<? extends Annotation> annotationType, Class<?> clazz) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic Class<?>AnnotationUtils.findAnnotationDeclaringClassForTypes(List<Class<? extends Annotation>> annotationTypes, Class<?> clazz) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic <A extends Annotation>
AAnnotatedElementUtils.findMergedAnnotation(AnnotatedElement element, Class<A> annotationType) Find the first annotation of the specifiedannotationTypewithin the annotation hierarchy above the suppliedelement, merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy, and synthesize the result back into an annotation of the specifiedannotationType.static AnnotationAttributesAnnotatedElementUtils.findMergedAnnotationAttributes(AnnotatedElement element, Class<? extends Annotation> annotationType, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Find the first annotation of the specifiedannotationTypewithin the annotation hierarchy above the suppliedelementand merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.static AnnotationAttributesAnnotatedElementUtils.findMergedAnnotationAttributes(AnnotatedElement element, String annotationName, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Find the first annotation of the specifiedannotationNamewithin the annotation hierarchy above the suppliedelementand merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.protected Integerprotected static ObjectAnnotatedMethod.findProvidedArgument(MethodParameter parameter, Object... providedArgs) static AnnotationAttributesReturn anAnnotationAttributesinstance based on the given map.static MultiValueMap<String,Object> AnnotatedElementUtils.getAllAnnotationAttributes(AnnotatedElement element, String annotationName) Get the annotation attributes of all annotations of the specifiedannotationNamein the annotation hierarchy above the suppliedAnnotatedElementand store the results in aMultiValueMap.static MultiValueMap<String,Object> AnnotatedElementUtils.getAllAnnotationAttributes(AnnotatedElement element, String annotationName, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Get the annotation attributes of all annotations of the specifiedannotationNamein the annotation hierarchy above the suppliedAnnotatedElementand store the results in aMultiValueMap.static <A extends Annotation>
AAnnotationUtils.getAnnotation(Annotation annotation, Class<A> annotationType) Get a singleAnnotationofannotationTypefrom the supplied annotation: either the given annotation itself or a direct meta-annotation thereof.static <A extends Annotation>
AAnnotationUtils.getAnnotation(AnnotatedElement annotatedElement, Class<A> annotationType) Get a singleAnnotationofannotationTypefrom the suppliedAnnotatedElement, where the annotation is either present or meta-present on theAnnotatedElement.static <A extends Annotation>
AAnnotationUtils.getAnnotation(Method method, Class<A> annotationType) Get a singleAnnotationofannotationTypefrom the suppliedMethod, where the annotation is either present or meta-present on the method.static Annotation[]AnnotationUtils.getAnnotations(AnnotatedElement annotatedElement) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic Annotation[]AnnotationUtils.getAnnotations(Method method) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic ObjectAnnotationUtils.getDefaultValue(Annotation annotation) Retrieve the default value of thevalueattribute of a single-element Annotation, given an annotation instance.static ObjectAnnotationUtils.getDefaultValue(Annotation annotation, String attributeName) Retrieve the default value of a named attribute, given an annotation instance.static ObjectAnnotationUtils.getDefaultValue(Class<? extends Annotation> annotationType) Retrieve the default value of thevalueattribute of a single-element Annotation, given theannotation type.static ObjectAnnotationUtils.getDefaultValue(Class<? extends Annotation> annotationType, String attributeName) Retrieve the default value of a named attribute, given theannotation type.static <A extends Annotation>
AAnnotatedElementUtils.getMergedAnnotation(AnnotatedElement element, Class<A> annotationType) Get the first annotation of the specifiedannotationTypewithin the annotation hierarchy above the suppliedelement, merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy, and synthesize the result back into an annotation of the specifiedannotationType.static AnnotationAttributesAnnotatedElementUtils.getMergedAnnotationAttributes(AnnotatedElement element, Class<? extends Annotation> annotationType) Get the first annotation of the specifiedannotationTypewithin the annotation hierarchy above the suppliedelementand merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.static AnnotationAttributesAnnotatedElementUtils.getMergedAnnotationAttributes(AnnotatedElement element, String annotationName) Get the first annotation of the specifiedannotationNamewithin the annotation hierarchy above the suppliedelementand merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.static AnnotationAttributesAnnotatedElementUtils.getMergedAnnotationAttributes(AnnotatedElement element, String annotationName, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Get the first annotation of the specifiedannotationNamewithin the annotation hierarchy above the suppliedelementand merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.MergedAnnotation.getMetaSource()Get the source of the meta-annotation, ornullif the annotation is not meta-present.<T extends Annotation>
TAnnotatedMethod.AnnotatedMethodParameter.getMethodAnnotation(Class<T> annotationType) <A extends Annotation>
AAnnotatedMethod.getMethodAnnotation(Class<A> annotationType) Return a single annotation on the underlying method, traversing its super methods if no annotation can be found on the given method itself.static IntegerReturn the order on the specifiedtype.static IntegerReturn the order on the specifiedtype, or the specified default value if none can be found.static IntegerOrderUtils.getOrder(AnnotatedElement element) Return the order declared on the specifiedelement.AnnotationAwareOrderComparator.getPriority(Object obj) static IntegerOrderUtils.getPriority(Class<?> type) Return the value of thejakarta.annotation.Priorityannotation declared on the specified type, ornullif none.MergedAnnotation.getSource()Get the source that ultimately declared the root annotation, ornullif the source is not known.static ObjectAnnotationUtils.getValue(Annotation annotation) Retrieve the value of thevalueattribute of a single-element Annotation, given an annotation instance.static ObjectAnnotationUtils.getValue(Annotation annotation, String attributeName) Retrieve the value of a named attribute, given an annotation instance.Method parameters in org.springframework.core.annotation with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanstatic <A extends Annotation>
AAnnotationUtils.findAnnotation(Class<?> clazz, Class<A> annotationType) Find a singleAnnotationofannotationTypeon the suppliedClass, traversing its interfaces, annotations, and superclasses if the annotation is not directly present on the given class itself.static <A extends Annotation>
AAnnotationUtils.findAnnotation(AnnotatedElement annotatedElement, Class<A> annotationType) static <A extends Annotation>
AAnnotationUtils.findAnnotation(Method method, Class<A> annotationType) Find a singleAnnotationofannotationTypeon the suppliedMethod, traversing its super methods (i.e.static Class<?>AnnotationUtils.findAnnotationDeclaringClass(Class<? extends Annotation> annotationType, Class<?> clazz) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic Class<?>AnnotationUtils.findAnnotationDeclaringClassForTypes(List<Class<? extends Annotation>> annotationTypes, Class<?> clazz) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic <A extends Annotation>
Set<A>AnnotatedElementUtils.findMergedRepeatableAnnotations(AnnotatedElement element, Class<A> annotationType, Class<? extends Annotation> containerType) Find all repeatable annotations of the specifiedannotationTypewithin the annotation hierarchy above the suppliedelement; and for each annotation found, merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy and synthesize the results back into an annotation of the specifiedannotationType.protected static ObjectAnnotatedMethod.findProvidedArgument(MethodParameter parameter, Object... providedArgs) static <A extends Annotation>
MergedAnnotation<A>Create a newMergedAnnotationinstance from the specified annotation.static AnnotationAttributesReturn anAnnotationAttributesinstance based on the given map.<A extends Annotation>
MergedAnnotation<A>MergedAnnotations.get(Class<A> annotationType, Predicate<? super MergedAnnotation<A>> predicate) Get the nearest matching annotation or meta-annotation of the specified type, orMergedAnnotation.missing()if none is present.<A extends Annotation>
MergedAnnotation<A>MergedAnnotations.get(Class<A> annotationType, Predicate<? super MergedAnnotation<A>> predicate, MergedAnnotationSelector<A> selector) Get a matching annotation or meta-annotation of the specified type, orMergedAnnotation.missing()if none is present.<A extends Annotation>
MergedAnnotation<A>MergedAnnotations.get(Class<A> annotationType, Predicate<? super MergedAnnotation<A>> predicate, MergedAnnotationSelector<A> selector) Get a matching annotation or meta-annotation of the specified type, orMergedAnnotation.missing()if none is present.<A extends Annotation>
MergedAnnotation<A>MergedAnnotations.get(String annotationType, Predicate<? super MergedAnnotation<A>> predicate) Get the nearest matching annotation or meta-annotation of the specified type, orMergedAnnotation.missing()if none is present.<A extends Annotation>
MergedAnnotation<A>MergedAnnotations.get(String annotationType, Predicate<? super MergedAnnotation<A>> predicate, MergedAnnotationSelector<A> selector) Get a matching annotation or meta-annotation of the specified type, orMergedAnnotation.missing()if none is present.<A extends Annotation>
MergedAnnotation<A>MergedAnnotations.get(String annotationType, Predicate<? super MergedAnnotation<A>> predicate, MergedAnnotationSelector<A> selector) Get a matching annotation or meta-annotation of the specified type, orMergedAnnotation.missing()if none is present.static AnnotationAttributesAnnotationUtils.getAnnotationAttributes(AnnotatedElement annotatedElement, Annotation annotation) Retrieve the given annotation's attributes as anAnnotationAttributesmap.static AnnotationAttributesAnnotationUtils.getAnnotationAttributes(AnnotatedElement annotatedElement, Annotation annotation, boolean classValuesAsString, boolean nestedAnnotationsAsMap) Retrieve the given annotation's attributes as anAnnotationAttributesmap.static <A extends Annotation>
Set<A>AnnotationUtils.getDeclaredRepeatableAnnotations(AnnotatedElement annotatedElement, Class<A> annotationType, Class<? extends Annotation> containerAnnotationType) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic ObjectAnnotationUtils.getDefaultValue(Annotation annotation, String attributeName) Retrieve the default value of a named attribute, given an annotation instance.static ObjectAnnotationUtils.getDefaultValue(Annotation annotation, String attributeName) Retrieve the default value of a named attribute, given an annotation instance.static ObjectAnnotationUtils.getDefaultValue(Class<? extends Annotation> annotationType, String attributeName) Retrieve the default value of a named attribute, given theannotation type.static ObjectAnnotationUtils.getDefaultValue(Class<? extends Annotation> annotationType, String attributeName) Retrieve the default value of a named attribute, given theannotation type.static <A extends Annotation>
Set<A>AnnotatedElementUtils.getMergedRepeatableAnnotations(AnnotatedElement element, Class<A> annotationType, Class<? extends Annotation> containerType) Get all repeatable annotations of the specifiedannotationTypewithin the annotation hierarchy above the suppliedelement; and for each annotation found, merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy and synthesize the results back into an annotation of the specifiedannotationType.static IntegerReturn the order on the specifiedtype, or the specified default value if none can be found.static <A extends Annotation>
Set<A>AnnotationUtils.getRepeatableAnnotations(AnnotatedElement annotatedElement, Class<A> annotationType, Class<? extends Annotation> containerAnnotationType) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIAnnotatedMethod.getReturnValueType(Object returnValue) Return aMethodParameterfor the actual return value type.static ObjectAnnotationUtils.getValue(Annotation annotation, String attributeName) Retrieve the value of a named attribute, given an annotation instance.static ObjectAnnotationUtils.getValue(Annotation annotation, String attributeName) Retrieve the value of a named attribute, given an annotation instance.static booleanAnnotationUtils.isAnnotationMetaPresent(Class<? extends Annotation> annotationType, Class<? extends Annotation> metaAnnotationType) Deprecated.as of 5.2 since it is superseded by theMergedAnnotationsAPIstatic booleanAnnotationUtils.isCandidateClass(Class<?> clazz, Class<? extends Annotation> annotationType) Determine whether the given class is a candidate for carrying the specified annotation (at type, method or field level).static booleanAnnotationUtils.isInJavaLangAnnotationPackage(Annotation annotation) Determine if the suppliedAnnotationis defined in the core JDKjava.lang.annotationpackage.static booleanAnnotationUtils.isInJavaLangAnnotationPackage(String annotationType) Determine if theAnnotationwith the supplied name is defined in the core JDKjava.lang.annotationpackage.static booleanAnnotationUtils.isSynthesizedAnnotation(Annotation annotation) Determine if the suppliedAnnotationhas been synthesized by Spring (i.e.static <A extends Annotation>
MergedAnnotation<A>Create a newMergedAnnotationinstance of the specified annotation type with attribute values supplied by a map.static <A extends Annotation>
MergedAnnotation<A>MergedAnnotation.of(ClassLoader classLoader, Object source, Class<A> annotationType, Map<String, ?> attributes) Create a newMergedAnnotationinstance of the specified annotation type with attribute values supplied by a map.static <A extends Annotation>
MergedAnnotation<A>MergedAnnotation.of(ClassLoader classLoader, Object source, Class<A> annotationType, Map<String, ?> attributes) Create a newMergedAnnotationinstance of the specified annotation type with attribute values supplied by a map.static <A extends Annotation>
MergedAnnotation<A>MergedAnnotation.of(ClassLoader classLoader, Object source, Class<A> annotationType, Map<String, ?> attributes) Create a newMergedAnnotationinstance of the specified annotation type with attribute values supplied by a map.static <A extends Annotation>
MergedAnnotation<A>MergedAnnotation.of(AnnotatedElement source, Class<A> annotationType, Map<String, ?> attributes) Create a newMergedAnnotationinstance of the specified annotation type with attribute values supplied by a map.static <A extends Annotation>
MergedAnnotation<A>MergedAnnotation.of(AnnotatedElement source, Class<A> annotationType, Map<String, ?> attributes) Create a newMergedAnnotationinstance of the specified annotation type with attribute values supplied by a map.static RepeatableContainersRepeatableContainers.of(Class<? extends Annotation> repeatable, Class<? extends Annotation> container) Create aRepeatableContainersinstance that uses predefined repeatable and container types.static voidAnnotationUtils.postProcessAnnotationAttributes(Object annotatedElement, AnnotationAttributes attributes, boolean classValuesAsString) Post-process the suppliedAnnotationAttributes, preserving nested annotations asAnnotationinstances.static voidAnnotationUtils.postProcessAnnotationAttributes(Object annotatedElement, AnnotationAttributes attributes, boolean classValuesAsString) Post-process the suppliedAnnotationAttributes, preserving nested annotations asAnnotationinstances.static <A extends Annotation>
AAnnotationUtils.synthesizeAnnotation(A annotation, AnnotatedElement annotatedElement) Synthesize an annotation from the suppliedannotationby wrapping it in a dynamic proxy that transparently enforces attribute alias semantics for annotation attributes that are annotated with@AliasFor.static <A extends Annotation>
AAnnotationUtils.synthesizeAnnotation(Map<String, Object> attributes, Class<A> annotationType, AnnotatedElement annotatedElement) Synthesize an annotation from the supplied map of annotation attributes by wrapping the map in a dynamic proxy that implements an annotation of the specifiedannotationTypeand transparently enforces attribute alias semantics for annotation attributes that are annotated with@AliasFor.Constructor parameters in org.springframework.core.annotation with annotations of type NullableModifierConstructorDescriptionAnnotationAttributes(String annotationType, ClassLoader classLoader) Create a new, emptyAnnotationAttributesinstance for the specifiedannotationType. -
Uses of Nullable in org.springframework.core.codec
Methods in org.springframework.core.codec with annotations of type NullableModifier and TypeMethodDescriptiondefault TDecoder.decode(DataBuffer buffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) Decode a data buffer to an Object of type T.protected TAbstractDataBufferDecoder.decodeDataBuffer(DataBuffer buffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Deprecated.as of 5.2, please implementDecoder.decode(DataBuffer, ResolvableType, MimeType, Map)insteadMethod parameters in org.springframework.core.codec with annotations of type NullableModifier and TypeMethodDescriptionbooleanAbstractDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanByteArrayDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanByteBufferDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanCharBufferDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanDataBufferDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanDecoder.canDecode(ResolvableType elementType, MimeType mimeType) Whether the decoder supports the given target element type and the MIME type of the source stream.booleanNetty5BufferDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanNettyByteBufDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanResourceDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanStringDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanAbstractEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanByteArrayEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanByteBufferEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanCharSequenceEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanDataBufferEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanEncoder.canEncode(ResolvableType elementType, MimeType mimeType) Whether the encoder supports the given source element type and the MIME type for the output stream.booleanNetty5BufferEncoder.canEncode(ResolvableType type, MimeType mimeType) booleanNettyByteBufEncoder.canEncode(ResolvableType type, MimeType mimeType) booleanResourceEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanResourceRegionEncoder.canEncode(ResolvableType elementType, MimeType mimeType) final reactor.core.publisher.Flux<T>AbstractCharSequenceDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) final reactor.core.publisher.Flux<T>AbstractCharSequenceDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) final TAbstractCharSequenceDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) final TAbstractCharSequenceDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<T>AbstractDataBufferDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<T>AbstractDataBufferDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) byte[]ByteArrayDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) byte[]ByteArrayDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ByteBufferDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ByteBufferDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>DataBufferDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>DataBufferDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) DataBufferDecoder.decode(DataBuffer buffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) DataBufferDecoder.decode(DataBuffer buffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<T>Decoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Decode aDataBufferinput stream into a Flux ofT.reactor.core.publisher.Flux<T>Decoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Decode aDataBufferinput stream into a Flux ofT.default TDecoder.decode(DataBuffer buffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) Decode a data buffer to an Object of type T.default TDecoder.decode(DataBuffer buffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) Decode a data buffer to an Object of type T.io.netty5.buffer.BufferNetty5BufferDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) io.netty5.buffer.BufferNetty5BufferDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) io.netty.buffer.ByteBufNettyByteBufDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) io.netty.buffer.ByteBufNettyByteBufDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Resource>ResourceDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Resource>ResourceDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ResourceDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ResourceDecoder.decode(DataBuffer dataBuffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected TAbstractDataBufferDecoder.decodeDataBuffer(DataBuffer buffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Deprecated.as of 5.2, please implementDecoder.decode(DataBuffer, ResolvableType, MimeType, Map)insteadprotected TAbstractDataBufferDecoder.decodeDataBuffer(DataBuffer buffer, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Deprecated.as of 5.2, please implementDecoder.decode(DataBuffer, ResolvableType, MimeType, Map)insteadreactor.core.publisher.Mono<T>AbstractDataBufferDecoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<T>AbstractDataBufferDecoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<T>AbstractDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<T>AbstractDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<T>Decoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Decode aDataBufferinput stream into a Mono ofT.reactor.core.publisher.Mono<T>Decoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Decode aDataBufferinput stream into a Mono ofT.final reactor.core.publisher.Flux<DataBuffer>AbstractSingleValueEncoder.encode(Publisher<? extends T> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) final reactor.core.publisher.Flux<DataBuffer>AbstractSingleValueEncoder.encode(Publisher<? extends T> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected abstract reactor.core.publisher.Flux<DataBuffer>AbstractSingleValueEncoder.encode(T t, DataBufferFactory dataBufferFactory, ResolvableType type, MimeType mimeType, Map<String, Object> hints) EncodeTto an outputDataBufferstream.protected abstract reactor.core.publisher.Flux<DataBuffer>AbstractSingleValueEncoder.encode(T t, DataBufferFactory dataBufferFactory, ResolvableType type, MimeType mimeType, Map<String, Object> hints) EncodeTto an outputDataBufferstream.reactor.core.publisher.Flux<DataBuffer>ByteArrayEncoder.encode(Publisher<? extends byte[]> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ByteArrayEncoder.encode(Publisher<? extends byte[]> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ByteBufferEncoder.encode(Publisher<? extends ByteBuffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ByteBufferEncoder.encode(Publisher<? extends ByteBuffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>CharSequenceEncoder.encode(Publisher<? extends CharSequence> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>CharSequenceEncoder.encode(Publisher<? extends CharSequence> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>DataBufferEncoder.encode(Publisher<? extends DataBuffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>DataBufferEncoder.encode(Publisher<? extends DataBuffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>Encoder.encode(Publisher<? extends T> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Encode a stream of Objects of typeTinto aDataBufferoutput stream.reactor.core.publisher.Flux<DataBuffer>Encoder.encode(Publisher<? extends T> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Encode a stream of Objects of typeTinto aDataBufferoutput stream.reactor.core.publisher.Flux<DataBuffer>Netty5BufferEncoder.encode(Publisher<? extends io.netty5.buffer.Buffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>Netty5BufferEncoder.encode(Publisher<? extends io.netty5.buffer.Buffer> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>NettyByteBufEncoder.encode(Publisher<? extends io.netty.buffer.ByteBuf> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>NettyByteBufEncoder.encode(Publisher<? extends io.netty.buffer.ByteBuf> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected reactor.core.publisher.Flux<DataBuffer>ResourceEncoder.encode(Resource resource, DataBufferFactory bufferFactory, ResolvableType type, MimeType mimeType, Map<String, Object> hints) protected reactor.core.publisher.Flux<DataBuffer>ResourceEncoder.encode(Resource resource, DataBufferFactory bufferFactory, ResolvableType type, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ResourceRegionEncoder.encode(Publisher<? extends ResourceRegion> input, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ResourceRegionEncoder.encode(Publisher<? extends ResourceRegion> input, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ByteArrayEncoder.encodeValue(byte[] bytes, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) ByteArrayEncoder.encodeValue(byte[] bytes, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) ByteBufferEncoder.encodeValue(ByteBuffer byteBuffer, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) ByteBufferEncoder.encodeValue(ByteBuffer byteBuffer, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) CharSequenceEncoder.encodeValue(CharSequence charSequence, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) CharSequenceEncoder.encodeValue(CharSequence charSequence, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) DataBufferEncoder.encodeValue(DataBuffer buffer, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) DataBufferEncoder.encodeValue(DataBuffer buffer, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) default DataBufferEncoder.encodeValue(T value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) Encode an Object of type T to a data buffer.default DataBufferEncoder.encodeValue(T value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) Encode an Object of type T to a data buffer.Netty5BufferEncoder.encodeValue(io.netty5.buffer.Buffer buffer, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) Netty5BufferEncoder.encodeValue(io.netty5.buffer.Buffer buffer, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) NettyByteBufEncoder.encodeValue(io.netty.buffer.ByteBuf byteBuf, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) NettyByteBufEncoder.encodeValue(io.netty.buffer.ByteBuf byteBuf, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) static StringHints.getLogPrefix(Map<String, Object> hints) Obtain the hintHints.LOG_PREFIX_HINT, if present, or an empty String.static <T> THints.getRequiredHint(Map<String, Object> hints, String hintName) Obtain the value for a required hint.static booleanHints.isLoggingSuppressed(Map<String, Object> hints) Whether to suppress logging based on the hintHints.SUPPRESS_LOGGING_HINT.Merge a single hint into a map of hints, possibly creating and copying all hints into a new map, or otherwise if the map of hints is empty, creating a new single entry map.Merge two maps of hints, creating and copying into a new map if both have values, or returning the non-empty map, or an empty map if both are empty.Merge two maps of hints, creating and copying into a new map if both have values, or returning the non-empty map, or an empty map if both are empty.static voidHints.touchDataBuffer(DataBuffer buffer, Map<String, Object> hints, Log logger) If the hints contain aHints.LOG_PREFIX_HINTand the given logger has DEBUG level enabled, apply the log prefix as a hint to the given buffer viaDataBufferUtils.touch(DataBuffer, Object).Constructor parameters in org.springframework.core.codec with annotations of type NullableModifierConstructorDescriptionCodecException(String msg) Create a new CodecException.CodecException(String msg, Throwable cause) Create a new CodecException.CodecException(String msg, Throwable cause) Create a new CodecException.DecodingException(String msg) Create a new DecodingException.DecodingException(String msg, Throwable cause) Create a new DecodingException.DecodingException(String msg, Throwable cause) Create a new DecodingException.EncodingException(String msg, Throwable cause) Create a new EncodingException. -
Uses of Nullable in org.springframework.core.convert
Methods in org.springframework.core.convert with annotations of type NullableModifier and TypeMethodDescriptionstatic TypeDescriptorTypeDescriptor.array(TypeDescriptor elementTypeDescriptor) Create a new type descriptor as an array of the specified type.<T> TConvert the givensourceto the specifiedtargetType.default ObjectConversionService.convert(Object source, TypeDescriptor targetType) Convert the givensourceto the specifiedtargetType.ConversionService.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) Convert the givensourceto the specifiedtargetType.TypeDescriptor.elementTypeDescriptor(Object element) If this type is aCollectionor an array, creates an element TypeDescriptor from the provided collection or array element.static TypeDescriptorCreate a new type descriptor for an object.<T extends Annotation>
TTypeDescriptor.getAnnotation(Class<T> annotationType) Obtain the annotation of the specifiedannotationTypethat is on this type descriptor.TypeDescriptor.getElementTypeDescriptor()If this type is an array, returns the array's component type.TypeDescriptor.getMapKeyTypeDescriptor()If this type is aMapand its key type is parameterized, returns the map's key type.TypeDescriptor.getMapKeyTypeDescriptor(Object mapKey) If this type is aMap, creates a mapKeyTypeDescriptorfrom the provided map key.TypeDescriptor.getMapValueTypeDescriptor()If this type is aMapand its value type is parameterized, returns the map's value type.TypeDescriptor.getMapValueTypeDescriptor(Object mapValue) If this type is aMap, creates a mapValueTypeDescriptorfrom the provided map value.Property.getReadMethod()The property getter method: for example,getFoo().ConversionFailedException.getSourceType()Return the source type we tried to convert the value from.ConverterNotFoundException.getSourceType()Return the source type that was requested to convert from.ConversionFailedException.getValue()Return the offending value.Property.getWriteMethod()The property setter method: for example,setFoo(String).TypeDescriptor.nested(int nestingLevel) Create a type descriptor for a nested type declared within this descriptor.static TypeDescriptorCreate a type descriptor for a nested type declared within the field.static TypeDescriptorCreate a type descriptor for a nested type declared within the property.static TypeDescriptorTypeDescriptor.nested(MethodParameter methodParameter, int nestingLevel) Create a type descriptor for a nested type declared within the method parameter.Cast thisTypeDescriptorto a superclass or implemented interface preserving annotations and nested type context.Method parameters in org.springframework.core.convert with annotations of type NullableModifier and TypeMethodDescriptionstatic TypeDescriptorTypeDescriptor.array(TypeDescriptor elementTypeDescriptor) Create a new type descriptor as an array of the specified type.booleanConversionService.canConvert(Class<?> sourceType, Class<?> targetType) Returntrueif objects ofsourceTypecan be converted to thetargetType.booleanConversionService.canConvert(TypeDescriptor sourceType, TypeDescriptor targetType) Returntrueif objects ofsourceTypecan be converted to thetargetType.static TypeDescriptorTypeDescriptor.collection(Class<?> collectionType, TypeDescriptor elementTypeDescriptor) Create a new type descriptor from aCollectiontype.<T> TConvert the givensourceto the specifiedtargetType.default ObjectConversionService.convert(Object source, TypeDescriptor targetType) Convert the givensourceto the specifiedtargetType.ConversionService.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) Convert the givensourceto the specifiedtargetType.ConversionService.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) Convert the givensourceto the specifiedtargetType.booleanbooleanstatic TypeDescriptorCreate a new type descriptor for an object.TypeDescriptor.getMapValueTypeDescriptor(Object mapValue) If this type is aMap, creates a mapValueTypeDescriptorfrom the provided map value.static TypeDescriptorTypeDescriptor.map(Class<?> mapType, TypeDescriptor keyTypeDescriptor, TypeDescriptor valueTypeDescriptor) Create a new type descriptor from aMaptype.static TypeDescriptorTypeDescriptor.map(Class<?> mapType, TypeDescriptor keyTypeDescriptor, TypeDescriptor valueTypeDescriptor) Create a new type descriptor from aMaptype.Narrows thisTypeDescriptorby setting its type to the class of the provided value.Cast thisTypeDescriptorto a superclass or implemented interface preserving annotations and nested type context.static TypeDescriptorCreate a new type descriptor from the given type.Constructor parameters in org.springframework.core.convert with annotations of type NullableModifierConstructorDescriptionConversionFailedException(TypeDescriptor sourceType, TypeDescriptor targetType, Object value, Throwable cause) Create a new conversion exception.ConversionFailedException(TypeDescriptor sourceType, TypeDescriptor targetType, Object value, Throwable cause) Create a new conversion exception.ConverterNotFoundException(TypeDescriptor sourceType, TypeDescriptor targetType) Create a new conversion executor not found exception.TypeDescriptor(ResolvableType resolvableType, Class<?> type, Annotation[] annotations) Create a new type descriptor from aResolvableType.TypeDescriptor(ResolvableType resolvableType, Class<?> type, Annotation[] annotations) Create a new type descriptor from aResolvableType. -
Uses of Nullable in org.springframework.core.convert.converter
Methods in org.springframework.core.convert.converter with annotations of type NullableModifier and TypeMethodDescriptionConvert the source object of typeSto target typeT.GenericConverter.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) Convert the source object to the targetType described by theTypeDescriptor.GenericConverter.getConvertibleTypes()Return the source and target types that this converter can convert between.Method parameters in org.springframework.core.convert.converter with annotations of type NullableModifier and TypeMethodDescriptionGenericConverter.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) Convert the source object to the targetType described by theTypeDescriptor.boolean -
Uses of Nullable in org.springframework.core.convert.support
Methods in org.springframework.core.convert.support with annotations of type NullableModifier and TypeMethodDescription<T> TGenericConversionService.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) protected ObjectGenericConversionService.convertNullSource(TypeDescriptor sourceType, TypeDescriptor targetType) Template method to convert anullsource.ConvertingPropertyEditorAdapter.getAsText()protected GenericConverterGenericConversionService.getConverter(TypeDescriptor sourceType, TypeDescriptor targetType) Hook method to look up the converter for a given sourceType/targetType pair.protected GenericConverterGenericConversionService.getDefaultConverter(TypeDescriptor sourceType, TypeDescriptor targetType) Return the default converter if no converter is found for the given sourceType/targetType pair.Method parameters in org.springframework.core.convert.support with annotations of type NullableModifier and TypeMethodDescriptionbooleanGenericConversionService.canBypassConvert(TypeDescriptor sourceType, TypeDescriptor targetType) Return whether conversion between the source type and the target type can be bypassed.booleanGenericConversionService.canConvert(Class<?> sourceType, Class<?> targetType) booleanGenericConversionService.canConvert(TypeDescriptor sourceType, TypeDescriptor targetType) <T> TGenericConversionService.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) GenericConversionService.convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType) protected ObjectGenericConversionService.convertNullSource(TypeDescriptor sourceType, TypeDescriptor targetType) Template method to convert anullsource.static voidConversionServiceFactory.registerConverters(Set<?> converters, ConverterRegistry registry) Register the given Converter objects with the given target ConverterRegistry.void -
Uses of Nullable in org.springframework.core.env
Methods in org.springframework.core.env with annotations of type NullableModifier and TypeMethodDescriptionprotected <T> TAbstractPropertyResolver.convertValueIfNecessary(Object value, Class<T> targetType) Convert the given value to the specified target type, if necessary.protected StringAbstractEnvironment.doGetActiveProfilesProperty()Return the property value for the active profiles.protected StringAbstractEnvironment.doGetDefaultProfilesProperty()Return the property value for the default profiles.Return the property source with the given name,nullif not found.static CharacterAbstractPropertyResolver.getDefaultEscapeCharacter()Get the default escape character to use when parsing strings for property placeholder resolution.CommandLinePropertySource.getOptionValues(String name) Return the collection of values associated with the command line option having the given name.JOptCommandLinePropertySource.getOptionValues(String name) Deprecated.SimpleCommandLinePropertySource.getOptionValues(String name) AbstractEnvironment.getProperty(String key) <T> TAbstractEnvironment.getProperty(String key, Class<T> targetType) AbstractPropertyResolver.getProperty(String key) final StringCommandLinePropertySource.getProperty(String name) This implementation first checks to see if the name specified is the special "non-option arguments" property, and if so delegates to the abstractCommandLinePropertySource.getNonOptionArgs()method.CompositePropertySource.getProperty(String name) MapPropertySource.getProperty(String name) PropertyResolver.getProperty(String key) Resolve the property value associated with the given key, ornullif the key cannot be resolved.<T> TPropertyResolver.getProperty(String key, Class<T> targetType) Resolve the property value associated with the given key, ornullif the key cannot be resolved.abstract ObjectPropertySource.getProperty(String name) Return the value associated with the given name, ornullif not found.PropertySource.StubPropertySource.getProperty(String name) Always returnsnull.PropertySourcesPropertyResolver.getProperty(String key) <T> TPropertySourcesPropertyResolver.getProperty(String key, Class<T> targetValueType) protected <T> TPropertySourcesPropertyResolver.getProperty(String key, Class<T> targetValueType, boolean resolveNestedPlaceholders) SystemEnvironmentPropertySource.getProperty(String name) This implementation returnstrueif a property with the given name or any underscore/uppercase variant thereof exists in this property source.protected abstract StringAbstractPropertyResolver.getPropertyAsRawString(String key) Retrieve the specified property as a raw String, i.e.protected StringPropertySourcesPropertyResolver.getPropertyAsRawString(String key) Remove and return the property source with the given name,nullif not found.Method parameters in org.springframework.core.env with annotations of type NullableModifier and TypeMethodDescriptionprotected <T> TAbstractPropertyResolver.convertValueIfNecessary(Object value, Class<T> targetType) Convert the given value to the specified target type, if necessary.booleanThisPropertySourceobject is equal to the given object if: they are the same instance thenameproperties for both objects are equalvoidAbstractEnvironment.setEscapeCharacter(Character escapeCharacter) voidAbstractPropertyResolver.setEscapeCharacter(Character escapeCharacter) Set the escape character to use to ignore the placeholder prefix and the value separator, ornullif no escaping should take place.voidConfigurablePropertyResolver.setEscapeCharacter(Character escapeCharacter) Set the escape character to use to ignore the placeholder prefix and the value separator, ornullif no escaping should take place.voidAbstractEnvironment.setValueSeparator(String valueSeparator) voidAbstractPropertyResolver.setValueSeparator(String valueSeparator) Set the separating character to be honored between placeholders replaced by this resolver and their associated default values, ornullif no such special character should be processed as a value separator.voidConfigurablePropertyResolver.setValueSeparator(String valueSeparator) Set the separating character to be honored between placeholders replaced by this resolver and their associated default values, ornullif no such special character should be processed as a value separator.Constructor parameters in org.springframework.core.env with annotations of type NullableModifierConstructorDescriptionPropertySourcesPropertyResolver(PropertySources propertySources) Create a new resolver against the given property sources. -
Uses of Nullable in org.springframework.core.io
Methods in org.springframework.core.io with annotations of type NullableModifier and TypeMethodDescriptionprotected static Stringprotected static ObjectVfsUtils.doGetVisitorAttributes()ResourceEditor.getAsText()final ClassLoaderClassPathResource.getClassLoader()Return theClassLoaderthat this resource will be obtained from.DefaultResourceLoader.getClassLoader()Return the ClassLoader to load class path resources with.ResourceLoader.getClassLoader()Expose theClassLoaderused by thisResourceLoader.AbstractResource.getFilename()This implementation always returnsnull, assuming that this resource type does not have a filename.ClassPathResource.getFilename()This implementation returns the name of the file that this class path resource refers to.ModuleResource.getFilename()Resource.getFilename()Determine the filename for this resource — typically the last part of the path — for example,"myfile.txt".UrlResource.getFilename()This implementation returns the URL-decoded name of the file that this URL refers to.ProtocolResolver.resolve(String location, ResourceLoader resourceLoader) Resolve the given location against the given resource loader if this implementation's protocol matches.protected URLClassPathResource.resolveURL()Resolves aURLfor the underlying class path resource.Method parameters in org.springframework.core.io with annotations of type NullableModifier and TypeMethodDescriptionbooleanThis implementation compares description strings.booleanThis implementation compares the underlying byte array.booleanThis implementation compares the underlying class path locations and associated class loaders.booleanThis implementation compares the underlying description String.booleanThis implementation compares the underlying file paths.booleanThis implementation compares the underlying InputStream.booleanbooleanThis implementation compares the underlyingPathreferences.booleanThis implementation compares the underlying URL references.booleanprotected static ObjectVfsUtils.invokeVfsMethod(Method method, Object target, Object... args) voidDefaultResourceLoader.setClassLoader(ClassLoader classLoader) Specify the ClassLoader to load class path resources with, ornullfor using the thread context class loader at the time of actual resource access.Constructor parameters in org.springframework.core.io with annotations of type NullableModifierConstructorDescriptionByteArrayResource(byte[] byteArray, String description) Create a newByteArrayResourcewith a description.ClassPathContextResource(String path, ClassLoader classLoader) ClassPathResource(String path, Class<?> clazz) Create a newClassPathResourceforClassusage.ClassPathResource(String path, ClassLoader classLoader) Create a newClassPathResourceforClassLoaderusage.DefaultResourceLoader(ClassLoader classLoader) Create a new DefaultResourceLoader.DescriptiveResource(String description) Create a new DescriptiveResource.InputStreamResource(InputStream inputStream, String description) Create a newInputStreamResourcefor an existingInputStream.InputStreamResource(InputStreamSource inputStreamSource, String description) Create a newInputStreamResourcewith a lazyInputStreamfor single use.ResourceEditor(ResourceLoader resourceLoader, PropertyResolver propertyResolver) Create a new instance of theResourceEditorclass using the givenResourceLoaderandPropertyResolver.ResourceEditor(ResourceLoader resourceLoader, PropertyResolver propertyResolver, boolean ignoreUnresolvablePlaceholders) Create a new instance of theResourceEditorclass using the givenResourceLoader.UrlResource(String protocol, String location, String fragment) Create a newUrlResourcebased on a URI specification. -
Uses of Nullable in org.springframework.core.io.buffer
Method parameters in org.springframework.core.io.buffer with annotations of type Nullable -
Uses of Nullable in org.springframework.core.io.support
Fields in org.springframework.core.io.support with annotations of type NullableMethods in org.springframework.core.io.support with annotations of type NullableModifier and TypeMethodDescriptionPropertySourceDescriptor.encoding()Returns the value of theencodingrecord component.final CharsetEncodedResource.getCharset()PathMatchingResourcePatternResolver.getClassLoader()final StringEncodedResource.getEncoding()Return the encoding to use for reading from the resource, ornullif none specified.protected <T> TSpringFactoriesLoader.instantiateFactory(String implementationName, Class<T> type, SpringFactoriesLoader.ArgumentResolver argumentResolver, SpringFactoriesLoader.FailureHandler failureHandler) PropertySourceDescriptor.name()Returns the value of thenamerecord component.Class<? extends PropertySourceFactory>PropertySourceDescriptor.propertySourceFactory()Returns the value of thepropertySourceFactoryrecord component.<T> TResolve the given argument if possible.Method parameters in org.springframework.core.io.support with annotations of type NullableModifier and TypeMethodDescriptionprotected voidPathMatchingResourcePatternResolver.addAllClassLoaderJarRoots(ClassLoader classLoader, Set<Resource> result) Search allURLClassLoaderURLs for jar file references and add each to the given set of resources in the form of a pointer to the root of the jar file content.DefaultPropertySourceFactory.createPropertySource(String name, EncodedResource resource) PropertySourceFactory.createPropertySource(String name, EncodedResource resource) Create aPropertySourcethat wraps the given resource.booleanLocalizedResourceHelper.findLocalizedResource(String name, String extension, Locale locale) Find the most specific localized resource for the given name, extension and locale:static SpringFactoriesLoaderSpringFactoriesLoader.forDefaultResourceLocation(ClassLoader classLoader) Create aSpringFactoriesLoaderinstance that will load and instantiate the factory implementations from "META-INF/spring.factories", using the given class loader.static SpringFactoriesLoaderSpringFactoriesLoader.forResourceLocation(String resourceLocation, ClassLoader classLoader) Create aSpringFactoriesLoaderinstance that will load and instantiate the factory implementations from the given location, using the given class loader.static ResourcePatternResolverResourcePatternUtils.getResourcePatternResolver(ResourceLoader resourceLoader) Return a defaultResourcePatternResolverfor the givenResourceLoader.protected <T> TSpringFactoriesLoader.instantiateFactory(String implementationName, Class<T> type, SpringFactoriesLoader.ArgumentResolver argumentResolver, SpringFactoriesLoader.FailureHandler failureHandler) static booleanReturn whether the given resource location is a URL: either a special "classpath" or "classpath*" pseudo URL or a standard URL.<T> List<T>SpringFactoriesLoader.load(Class<T> factoryType, SpringFactoriesLoader.ArgumentResolver argumentResolver) Load and instantiate the factory implementations of the given type from "META-INF/spring.factories", using the configured class loader and the given argument resolver.<T> List<T>SpringFactoriesLoader.load(Class<T> factoryType, SpringFactoriesLoader.ArgumentResolver argumentResolver, SpringFactoriesLoader.FailureHandler failureHandler) Load and instantiate the factory implementations of the given type from "META-INF/spring.factories", using the configured class loader, the given argument resolver, and custom failure handling provided by the given failure handler.<T> List<T>SpringFactoriesLoader.load(Class<T> factoryType, SpringFactoriesLoader.ArgumentResolver argumentResolver, SpringFactoriesLoader.FailureHandler failureHandler) Load and instantiate the factory implementations of the given type from "META-INF/spring.factories", using the configured class loader, the given argument resolver, and custom failure handling provided by the given failure handler.<T> List<T>SpringFactoriesLoader.load(Class<T> factoryType, SpringFactoriesLoader.FailureHandler failureHandler) Load and instantiate the factory implementations of the given type from "META-INF/spring.factories", using the configured class loader with custom failure handling provided by the given failure handler.static PropertiesPropertiesLoaderUtils.loadAllProperties(String resourceName, ClassLoader classLoader) Load all properties from the specified class path resource (in ISO-8859-1 encoding), using the given class loader.static <T> List<T>SpringFactoriesLoader.loadFactories(Class<T> factoryType, ClassLoader classLoader) Load and instantiate the factory implementations of the given type from "META-INF/spring.factories", using the given class loader.SpringFactoriesLoader.loadFactoryNames(Class<?> factoryType, ClassLoader classLoader) Deprecated.as of 6.0 in favor ofSpringFactoriesLoader.load(Class, ArgumentResolver, FailureHandler)voidPropertiesLoaderSupport.setPropertiesPersister(PropertiesPersister propertiesPersister) Set the PropertiesPersister to use for parsing properties files.voidLocalizedResourceHelper.setSeparator(String separator) Set the separator to use in-between file name parts.Constructor parameters in org.springframework.core.io.support with annotations of type NullableModifierConstructorDescriptionEncodedResource(Resource resource, String encoding) Create a newEncodedResourcefor the givenResource, using the specifiedencoding.EncodedResource(Resource resource, Charset charset) Create a newEncodedResourcefor the givenResource, using the specifiedCharset.PathMatchingResourcePatternResolver(ClassLoader classLoader) Create aPathMatchingResourcePatternResolverwith aDefaultResourceLoaderand the suppliedClassLoader.PropertySourceDescriptor(List<String> locations, boolean ignoreResourceNotFound, String name, Class<? extends PropertySourceFactory> propertySourceFactory, String encoding) Creates an instance of aPropertySourceDescriptorrecord class.PropertySourceDescriptor(List<String> locations, boolean ignoreResourceNotFound, String name, Class<? extends PropertySourceFactory> propertySourceFactory, String encoding) Creates an instance of aPropertySourceDescriptorrecord class.PropertySourceDescriptor(List<String> locations, boolean ignoreResourceNotFound, String name, Class<? extends PropertySourceFactory> propertySourceFactory, String encoding) Creates an instance of aPropertySourceDescriptorrecord class.ResourceArrayPropertyEditor(ResourcePatternResolver resourcePatternResolver, PropertyResolver propertyResolver) Create a new ResourceArrayPropertyEditor with the givenResourcePatternResolverandPropertyResolver(typically anEnvironment).ResourceArrayPropertyEditor(ResourcePatternResolver resourcePatternResolver, PropertyResolver propertyResolver, boolean ignoreUnresolvablePlaceholders) Create a new ResourceArrayPropertyEditor with the givenResourcePatternResolverandPropertyResolver(typically anEnvironment).protectedSpringFactoriesLoader(ClassLoader classLoader, Map<String, List<String>> factories) Create a newSpringFactoriesLoaderinstance. -
Uses of Nullable in org.springframework.core.log
Method parameters in org.springframework.core.log with annotations of type NullableModifier and TypeMethodDescriptionstatic LogMessageBuild a lazily formatted message from the given format string and argument.static LogMessageBuild a lazily formatted message from the given format string and varargs.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static LogMessageBuild a lazily formatted message from the given format string and arguments.static StringLogFormatUtils.formatValue(Object value, boolean limitLength) Convenience variant ofLogFormatUtils.formatValue(Object, int, boolean)that limits the length of a log message to 100 characters and also replaces newline and control characters iflimitLengthis set to "true".static StringLogFormatUtils.formatValue(Object value, int maxLength, boolean replaceNewlinesAndControlCharacters) Format the given value viatoString(), quoting it if it is aCharSequence, truncating at the specifiedmaxLength, and compacting it into a single line whenreplaceNewLinesis set. -
Uses of Nullable in org.springframework.core.metrics
Methods in org.springframework.core.metrics with annotations of type NullableModifier and TypeMethodDescriptionStartupStep.getParentId()Return, if available, the id of the parent step. -
Uses of Nullable in org.springframework.core.serializer
Constructor parameters in org.springframework.core.serializer with annotations of type Nullable -
Uses of Nullable in org.springframework.core.serializer.support
Constructor parameters in org.springframework.core.serializer.support with annotations of type Nullable -
Uses of Nullable in org.springframework.core.style
Method parameters in org.springframework.core.style with annotations of type NullableModifier and TypeMethodDescriptionAppend a field value.Style the given value, returning a String representation.voidDefaultToStringStyler.styleField(StringBuilder buffer, String fieldName, Object value) voidToStringStyler.styleField(StringBuilder buffer, String fieldName, Object value) Style a field value as a string.voidDefaultToStringStyler.styleValue(StringBuilder buffer, Object value) Constructor parameters in org.springframework.core.style with annotations of type NullableModifierConstructorDescriptionToStringCreator(Object obj, ToStringStyler styler) Create a ToStringCreator for the given object, using the provided style.ToStringCreator(Object obj, ValueStyler styler) Create a ToStringCreator for the given object, using the provided style. -
Uses of Nullable in org.springframework.core.task
Methods in org.springframework.core.task with annotations of type NullableModifier and TypeMethodDescriptionfinal ThreadFactorySimpleAsyncTaskExecutor.getThreadFactory()Return the external factory to use for creating new Threads, if any.Method parameters in org.springframework.core.task with annotations of type NullableModifier and TypeMethodDescriptionvoidSimpleAsyncTaskExecutor.setThreadFactory(ThreadFactory threadFactory) Specify an external factory to use for creating new Threads, instead of relying on the local properties of this executor. -
Uses of Nullable in org.springframework.core.task.support
Method parameters in org.springframework.core.task.support with annotations of type NullableModifier and TypeMethodDescriptionprotected voidTaskExecutorAdapter.doExecute(Executor concurrentExecutor, TaskDecorator taskDecorator, Runnable runnable) Actually execute the givenRunnable(which may be a user-supplied task or a wrapper around a user-supplied task) with the given executor. -
Uses of Nullable in org.springframework.core.test.io.support
Methods in org.springframework.core.test.io.support with annotations of type NullableModifier and TypeMethodDescriptionprotected <T> TMockSpringFactoriesLoader.instantiateFactory(String implementationName, Class<T> type, SpringFactoriesLoader.ArgumentResolver argumentResolver, SpringFactoriesLoader.FailureHandler failureHandler) Method parameters in org.springframework.core.test.io.support with annotations of type NullableModifier and TypeMethodDescriptionprotected <T> TMockSpringFactoriesLoader.instantiateFactory(String implementationName, Class<T> type, SpringFactoriesLoader.ArgumentResolver argumentResolver, SpringFactoriesLoader.FailureHandler failureHandler) Constructor parameters in org.springframework.core.test.io.support with annotations of type NullableModifierConstructorDescriptionMockSpringFactoriesLoader(ClassLoader classLoader) Create a newMockSpringFactoriesLoaderinstance with the given classloader.protectedMockSpringFactoriesLoader(ClassLoader classLoader, Map<String, List<String>> factories) -
Uses of Nullable in org.springframework.core.test.tools
Methods in org.springframework.core.test.tools with annotations of type NullableModifier and TypeMethodDescriptionprotected URLDynamicClassLoader.findResource(String name) Get theClassFilewith the given class name.Get theResourceFilewith the given path.Get theSourceFilewith the given path.Method parameters in org.springframework.core.test.tools with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanDynamicFileAssert.hasContent(CharSequence content) Verify that the actual content is equal to the given one.static SourceFileSourceFile.of(String path, CharSequence charSequence) Factory method to create a newSourceFilefrom the givenCharSequence.static SourceFileSourceFile.of(String path, InputStreamSource inputStreamSource) Factory method to create a newSourceFilefrom the givenInputStreamSource.static SourceFileSourceFile.of(String path, WritableContent writableContent) Factory method to create a newSourceFilefrom the givenWritableContent. -
Uses of Nullable in org.springframework.core.type
Methods in org.springframework.core.type with annotations of type NullableModifier and TypeMethodDescriptiondefault MultiValueMap<String,Object> AnnotatedTypeMetadata.getAllAnnotationAttributes(String annotationName) Retrieve all attributes of all annotations of the given type, if any (i.e.default MultiValueMap<String,Object> AnnotatedTypeMetadata.getAllAnnotationAttributes(String annotationName, boolean classValuesAsString) Retrieve all attributes of all annotations of the given type, if any (i.e.StandardAnnotationMetadata.getAllAnnotationAttributes(String annotationName, boolean classValuesAsString) StandardMethodMetadata.getAllAnnotationAttributes(String annotationName, boolean classValuesAsString) AnnotatedTypeMetadata.getAnnotationAttributes(String annotationName) Retrieve the attributes of the annotation of the given type, if any (i.e.AnnotatedTypeMetadata.getAnnotationAttributes(String annotationName, boolean classValuesAsString) Retrieve the attributes of the annotation of the given type, if any (i.e.StandardAnnotationMetadata.getAnnotationAttributes(String annotationName, boolean classValuesAsString) StandardMethodMetadata.getAnnotationAttributes(String annotationName, boolean classValuesAsString) ClassMetadata.getEnclosingClassName()Return the name of the enclosing class of the underlying class, ornullif the underlying class is a top-level class.StandardClassMetadata.getEnclosingClassName()ClassMetadata.getSuperClassName()Return the name of the superclass of the underlying class, ornullif there is no superclass defined.StandardClassMetadata.getSuperClassName()Method parameters in org.springframework.core.type with annotations of type Nullable -
Uses of Nullable in org.springframework.core.type.classreading
Constructor parameters in org.springframework.core.type.classreading with annotations of type NullableModifierConstructorDescriptionCachingMetadataReaderFactory(ClassLoader classLoader) Create a new CachingMetadataReaderFactory for the givenClassLoader, using a local resource cache.CachingMetadataReaderFactory(ResourceLoader resourceLoader) Create a new CachingMetadataReaderFactory for the givenResourceLoader, using a shared resource cache if supported or a local resource cache otherwise.SimpleMetadataReaderFactory(ClassLoader classLoader) Create a new SimpleMetadataReaderFactory for the given class loader.SimpleMetadataReaderFactory(ResourceLoader resourceLoader) Create a new SimpleMetadataReaderFactory for the given resource loader. -
Uses of Nullable in org.springframework.core.type.filter
Methods in org.springframework.core.type.filter with annotations of type NullableModifier and TypeMethodDescriptionprotected BooleanAnnotationTypeFilter.hasAnnotation(String typeName) protected BooleanAbstractTypeHierarchyTraversingFilter.matchInterface(String interfaceName) Override this to match on interface type name.protected BooleanAnnotationTypeFilter.matchInterface(String interfaceName) protected BooleanAssignableTypeFilter.matchInterface(String interfaceName) protected BooleanAbstractTypeHierarchyTraversingFilter.matchSuperClass(String superClassName) Override this to match on supertype name.protected BooleanAnnotationTypeFilter.matchSuperClass(String superClassName) protected BooleanAssignableTypeFilter.matchSuperClass(String superClassName) protected BooleanAssignableTypeFilter.matchTargetType(String typeName) Constructor parameters in org.springframework.core.type.filter with annotations of type NullableModifierConstructorDescriptionAspectJTypeFilter(String typePatternExpression, ClassLoader classLoader) -
Uses of Nullable in org.springframework.dao
Constructor parameters in org.springframework.dao with annotations of type NullableModifierConstructorDescriptionConstructor for CannotAcquireLockException.CannotAcquireLockException(String msg, Throwable cause) Constructor for CannotAcquireLockException.CannotAcquireLockException(String msg, Throwable cause) Constructor for CannotAcquireLockException.Constructor for ConcurrencyFailureException.ConcurrencyFailureException(String msg, Throwable cause) Constructor for ConcurrencyFailureException.ConcurrencyFailureException(String msg, Throwable cause) Constructor for ConcurrencyFailureException.Constructor for DataAccessException.DataAccessException(String msg, Throwable cause) Constructor for DataAccessException.DataAccessException(String msg, Throwable cause) Constructor for DataAccessException.Constructor for DataAccessResourceFailureException.DataAccessResourceFailureException(String msg, Throwable cause) Constructor for DataAccessResourceFailureException.DataAccessResourceFailureException(String msg, Throwable cause) Constructor for DataAccessResourceFailureException.Constructor for DataIntegrityViolationException.DataIntegrityViolationException(String msg, Throwable cause) Constructor for DataIntegrityViolationException.DataIntegrityViolationException(String msg, Throwable cause) Constructor for DataIntegrityViolationException.Constructor for DataRetrievalFailureException.DataRetrievalFailureException(String msg, Throwable cause) Constructor for DataRetrievalFailureException.DataRetrievalFailureException(String msg, Throwable cause) Constructor for DataRetrievalFailureException.Constructor for DuplicateKeyException.DuplicateKeyException(String msg, Throwable cause) Constructor for DuplicateKeyException.DuplicateKeyException(String msg, Throwable cause) Constructor for DuplicateKeyException.EmptyResultDataAccessException(String msg, int expectedSize) Constructor for EmptyResultDataAccessException.EmptyResultDataAccessException(String msg, int expectedSize, Throwable ex) Constructor for EmptyResultDataAccessException.IncorrectResultSizeDataAccessException(String msg, int expectedSize, int actualSize) Constructor for IncorrectResultSizeDataAccessException.IncorrectResultSizeDataAccessException(String msg, int expectedSize, int actualSize, Throwable ex) Constructor for IncorrectResultSizeDataAccessException.IncorrectResultSizeDataAccessException(String msg, int expectedSize, int actualSize, Throwable ex) Constructor for IncorrectResultSizeDataAccessException.IncorrectResultSizeDataAccessException(String msg, int expectedSize, Throwable ex) Constructor for IncorrectResultSizeDataAccessException.IncorrectResultSizeDataAccessException(String msg, int expectedSize, Throwable ex) Constructor for IncorrectResultSizeDataAccessException.Constructor for InvalidDataAccessApiUsageException.InvalidDataAccessApiUsageException(String msg, Throwable cause) Constructor for InvalidDataAccessApiUsageException.InvalidDataAccessApiUsageException(String msg, Throwable cause) Constructor for InvalidDataAccessApiUsageException.Constructor for InvalidDataAccessResourceUsageException.InvalidDataAccessResourceUsageException(String msg, Throwable cause) Constructor for InvalidDataAccessResourceUsageException.InvalidDataAccessResourceUsageException(String msg, Throwable cause) Constructor for InvalidDataAccessResourceUsageException.Constructor for NonTransientDataAccessException.NonTransientDataAccessException(String msg, Throwable cause) Constructor for NonTransientDataAccessException.NonTransientDataAccessException(String msg, Throwable cause) Constructor for NonTransientDataAccessException.Constructor for NonTransientDataAccessResourceException.NonTransientDataAccessResourceException(String msg, Throwable cause) Constructor for NonTransientDataAccessResourceException.NonTransientDataAccessResourceException(String msg, Throwable cause) Constructor for NonTransientDataAccessResourceException.Constructor for OptimisticLockingFailureException.OptimisticLockingFailureException(String msg, Throwable cause) Constructor for OptimisticLockingFailureException.OptimisticLockingFailureException(String msg, Throwable cause) Constructor for OptimisticLockingFailureException.Constructor for PessimisticLockingFailureException.PessimisticLockingFailureException(String msg, Throwable cause) Constructor for PessimisticLockingFailureException.PessimisticLockingFailureException(String msg, Throwable cause) Constructor for PessimisticLockingFailureException.Constructor for QueryTimeoutException.QueryTimeoutException(String msg, Throwable cause) Constructor for QueryTimeoutException.QueryTimeoutException(String msg, Throwable cause) Constructor for QueryTimeoutException.Constructor for TransientDataAccessException.TransientDataAccessException(String msg, Throwable cause) Constructor for TransientDataAccessException.TransientDataAccessException(String msg, Throwable cause) Constructor for TransientDataAccessException.Constructor for TypeMismatchDataAccessException.TypeMismatchDataAccessException(String msg, Throwable cause) Constructor for TypeMismatchDataAccessException.TypeMismatchDataAccessException(String msg, Throwable cause) Constructor for TypeMismatchDataAccessException.UncategorizedDataAccessException(String msg, Throwable cause) Constructor for UncategorizedDataAccessException.UncategorizedDataAccessException(String msg, Throwable cause) Constructor for UncategorizedDataAccessException. -
Uses of Nullable in org.springframework.dao.support
Methods in org.springframework.dao.support with annotations of type NullableModifier and TypeMethodDescriptionPersistenceExceptionTranslationInterceptor.invoke(MethodInvocation mi) static <T> TDataAccessUtils.nullableSingleResult(Collection<T> results) Return a single result object from the given Collection.static <T> TDataAccessUtils.singleResult(Collection<T> results) Return a single result object from the given Collection.static <T> TDataAccessUtils.singleResult(Iterator<T> results) Return a single result object from the given Iterator.static <T> TDataAccessUtils.singleResult(Stream<T> results) Return a single result object from the given Stream.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(RuntimeException ex) PersistenceExceptionTranslator.translateExceptionIfPossible(RuntimeException ex) Translate the given runtime exception thrown by a persistence framework to a corresponding exception from Spring's genericDataAccessExceptionhierarchy, if possible.static <T> TDataAccessUtils.uniqueResult(Collection<T> results) Return a unique result object from the given Collection.Method parameters in org.springframework.dao.support with annotations of type NullableModifier and TypeMethodDescriptionstatic intDataAccessUtils.intResult(Collection<?> results) Return a unique int result from the given Collection.static longDataAccessUtils.longResult(Collection<?> results) Return a unique long result from the given Collection.static <T> TDataAccessUtils.nullableSingleResult(Collection<T> results) Return a single result object from the given Collection.static <T> TDataAccessUtils.objectResult(Collection<?> results, Class<T> requiredType) Return a unique result object from the given Collection.static <T> TDataAccessUtils.objectResult(Collection<?> results, Class<T> requiredType) Return a unique result object from the given Collection.static <T> Optional<T>DataAccessUtils.optionalResult(Collection<T> results) Return a single result object from the given Collection.static <T> Optional<T>DataAccessUtils.optionalResult(Iterator<T> results) Return a single result object from the given Iterator.static <T> Optional<T>DataAccessUtils.optionalResult(Stream<T> results) Return a single result object from the given Stream.static <T> TDataAccessUtils.requiredSingleResult(Collection<T> results) Return a single result object from the given Collection.static <T> TDataAccessUtils.requiredUniqueResult(Collection<T> results) Return a unique result object from the given Collection.static <T> TDataAccessUtils.singleResult(Collection<T> results) Return a single result object from the given Collection.static <T> TDataAccessUtils.singleResult(Iterator<T> results) Return a single result object from the given Iterator.static <T> TDataAccessUtils.singleResult(Stream<T> results) Return a single result object from the given Stream.static <T> TDataAccessUtils.uniqueResult(Collection<T> results) Return a unique result object from the given Collection. -
Uses of Nullable in org.springframework.expression
Fields in org.springframework.expression with annotations of type NullableMethods in org.springframework.expression with annotations of type NullableModifier and TypeMethodDescriptionTypeConverter.convertValue(Object value, TypeDescriptor sourceType, TypeDescriptor targetType) Convert (or coerce) a value from one type to another, for example from abooleanto aString.EvaluationContext.getBeanResolver()Return a bean resolver that can look up beans by name.final StringExpressionException.getExpressionString()Return the expression string.Class<?>[]TargetedAccessor.getSpecificTargetClasses()Get the set of classes for which this accessor should be called.TypedValue.getTypeDescriptor()Expression.getValue()Evaluate this expression in the default context and return the result of evaluation.<T> TEvaluate this expression in the default context and return the result of evaluation.Evaluate this expression in the default context against the specified root object and return the result of evaluation.<T> TEvaluate this expression in the default context against the specified root object and return the result of evaluation.Expression.getValue(EvaluationContext context) Evaluate this expression in the provided context and return the result of evaluation.<T> TExpression.getValue(EvaluationContext context, Class<T> desiredResultType) Evaluate this expression in the provided context and return the result of evaluation.Expression.getValue(EvaluationContext context, Object rootObject) Evaluate this expression in the provided context against the specified root object and return the result of evaluation.<T> TExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) Evaluate this expression in the provided context against the specified root object and return the result of evaluation.TypedValue.getValue()Class<?>Expression.getValueType()Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object)method using the default context.Class<?>Expression.getValueType(Object rootObject) Return the most general type that can be passed to theExpression.setValue(Object, Object)method using the default context.Class<?>Expression.getValueType(EvaluationContext context) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object)method for the given context.Class<?>Expression.getValueType(EvaluationContext context, Object rootObject) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object, Object)method for the given context.Expression.getValueTypeDescriptor()Return a descriptor for the most general type that can be passed to one of thesetValue(...)methods using the default context.Expression.getValueTypeDescriptor(Object rootObject) Return a descriptor for the most general type that can be passed to theExpression.setValue(Object, Object)method using the default context.Expression.getValueTypeDescriptor(EvaluationContext context) Return a descriptor for the most general type that can be passed to theExpression.setValue(EvaluationContext, Object)method for the given context.Expression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) Return a descriptor for the most general type that can be passed to theExpression.setValue(EvaluationContext, Object, Object)method for the given context.EvaluationContext.lookupVariable(String name) Look up a named variable within this evaluation context.ConstructorResolver.resolve(EvaluationContext context, String typeName, List<TypeDescriptor> argumentTypes) Within the supplied context, resolve a suitable constructor on the supplied type that can handle the specified arguments.MethodResolver.resolve(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes) Within the supplied context, resolve a suitable method on the supplied object that can handle the specified arguments.Method parameters in org.springframework.expression with annotations of type NullableModifier and TypeMethodDescriptionbooleanTypeComparator.canCompare(Object firstObject, Object secondObject) Returntrueif the comparator can compare these two objects.booleanTypeComparator.canCompare(Object firstObject, Object secondObject) Returntrueif the comparator can compare these two objects.booleanTypeConverter.canConvert(TypeDescriptor sourceType, TypeDescriptor targetType) Returntrueif the type converter can convert the specified type to the desired target type.booleanPropertyAccessor.canRead(EvaluationContext context, Object target, String name) Called to determine if this property accessor is able to read a specified property on a specified target object.booleanPropertyAccessor.canWrite(EvaluationContext context, Object target, String name) Called to determine if this property accessor is able to write to a specified property on a specified target object.intCompare two given objects.intCompare two given objects.TypeConverter.convertValue(Object value, TypeDescriptor sourceType, TypeDescriptor targetType) Convert (or coerce) a value from one type to another, for example from abooleanto aString.TypeConverter.convertValue(Object value, TypeDescriptor sourceType, TypeDescriptor targetType) Convert (or coerce) a value from one type to another, for example from abooleanto aString.boolean<T> TEvaluate this expression in the default context and return the result of evaluation.Evaluate this expression in the default context against the specified root object and return the result of evaluation.<T> TEvaluate this expression in the default context against the specified root object and return the result of evaluation.<T> TEvaluate this expression in the default context against the specified root object and return the result of evaluation.<T> TExpression.getValue(EvaluationContext context, Class<T> desiredResultType) Evaluate this expression in the provided context and return the result of evaluation.Expression.getValue(EvaluationContext context, Object rootObject) Evaluate this expression in the provided context against the specified root object and return the result of evaluation.<T> TExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) Evaluate this expression in the provided context against the specified root object and return the result of evaluation.<T> TExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) Evaluate this expression in the provided context against the specified root object and return the result of evaluation.Class<?>Expression.getValueType(Object rootObject) Return the most general type that can be passed to theExpression.setValue(Object, Object)method using the default context.Class<?>Expression.getValueType(EvaluationContext context, Object rootObject) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object, Object)method for the given context.Expression.getValueTypeDescriptor(Object rootObject) Return a descriptor for the most general type that can be passed to theExpression.setValue(Object, Object)method using the default context.Expression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) Return a descriptor for the most general type that can be passed to theExpression.setValue(EvaluationContext, Object, Object)method for the given context.booleanExpression.isWritable(Object rootObject) Determine if this expression can be written to, i.e.booleanExpression.isWritable(EvaluationContext context, Object rootObject) Determine if this expression can be written to, i.e.Perform the specified operation on the two operands, returning a result.Perform the specified operation on the two operands, returning a result.booleanOperatorOverloader.overridesOperation(Operation operation, Object leftOperand, Object rightOperand) Returntrueif this operator overloader supports the specified operation on the two operands and should be invoked to handle it.booleanOperatorOverloader.overridesOperation(Operation operation, Object leftOperand, Object rightOperand) Returntrueif this operator overloader supports the specified operation on the two operands and should be invoked to handle it.PropertyAccessor.read(EvaluationContext context, Object target, String name) Called to read a property from a specified target object.voidSet this expression in the default context to the value provided.voidSet this expression in the default context to the value provided.voidExpression.setValue(EvaluationContext context, Object value) Set this expression in the provided context to the value provided.voidExpression.setValue(EvaluationContext context, Object rootObject, Object value) Set this expression in the provided context to the value provided.voidExpression.setValue(EvaluationContext context, Object rootObject, Object value) Set this expression in the provided context to the value provided.voidEvaluationContext.setVariable(String name, Object value) Set a named variable in this evaluation context to a specified value.voidIndexAccessor.write(EvaluationContext context, Object target, Object index, Object newValue) Write to an index on a specified target object.voidPropertyAccessor.write(EvaluationContext context, Object target, String name, Object newValue) Called to write to a property on a specified target object.voidPropertyAccessor.write(EvaluationContext context, Object target, String name, Object newValue) Called to write to a property on a specified target object.Constructor parameters in org.springframework.expression with annotations of type NullableModifierConstructorDescriptionEvaluationException(int position, String message, Throwable cause) Create a new expression evaluation exception.EvaluationException(String message, Throwable cause) Create a new expression evaluation exception.ExpressionException(int position, String message, Throwable cause) Construct a new expression exception.ExpressionException(String expressionString, int position, String message) Construct a new expression exception.ExpressionException(String expressionString, String message) Construct a new expression exception.ExpressionException(String message, Throwable cause) Construct a new expression exception.ExpressionInvocationTargetException(int position, String message, Throwable cause) ExpressionInvocationTargetException(String message, Throwable cause) ParseException(String expressionString, int position, String message) Create a new expression parsing exception.TypedValue(Object value) Create aTypedValuefor a simple object.TypedValue(Object value, TypeDescriptor typeDescriptor) Create aTypedValuefor a particular value with a particularTypeDescriptorwhich may contain additional generic declarations.TypedValue(Object value, TypeDescriptor typeDescriptor) Create aTypedValuefor a particular value with a particularTypeDescriptorwhich may contain additional generic declarations. -
Uses of Nullable in org.springframework.expression.common
Methods in org.springframework.expression.common with annotations of type NullableModifier and TypeMethodDescriptionstatic <T> TExpressionUtils.convertTypedValue(EvaluationContext context, TypedValue typedValue, Class<T> targetType) Determines if there is a type converter available in the specified context and attempts to use it to convert the supplied value to the specified type.<T> T<T> T<T> TCompositeStringExpression.getValue(EvaluationContext context, Class<T> expectedResultType) <T> TCompositeStringExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) <T> T<T> T<T> TLiteralExpression.getValue(EvaluationContext context, Class<T> expectedResultType) <T> TLiteralExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) Method parameters in org.springframework.expression.common with annotations of type NullableModifier and TypeMethodDescriptionstatic <T> TExpressionUtils.convertTypedValue(EvaluationContext context, TypedValue typedValue, Class<T> targetType) Determines if there is a type converter available in the specified context and attempts to use it to convert the supplied value to the specified type.static <T> TExpressionUtils.convertTypedValue(EvaluationContext context, TypedValue typedValue, Class<T> targetType) Determines if there is a type converter available in the specified context and attempts to use it to convert the supplied value to the specified type.protected abstract ExpressionTemplateAwareExpressionParser.doParseExpression(String expressionString, ParserContext context) Actually parse the expression string and return an Expression object.<T> T<T> T<T> T<T> TCompositeStringExpression.getValue(EvaluationContext context, Class<T> expectedResultType) CompositeStringExpression.getValue(EvaluationContext context, Object rootObject) <T> TCompositeStringExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) <T> TCompositeStringExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) <T> T<T> T<T> T<T> TLiteralExpression.getValue(EvaluationContext context, Class<T> expectedResultType) LiteralExpression.getValue(EvaluationContext context, Object rootObject) <T> TLiteralExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) <T> TLiteralExpression.getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType) Class<?>CompositeStringExpression.getValueType(Object rootObject) Class<?>CompositeStringExpression.getValueType(EvaluationContext context, Object rootObject) Class<?>LiteralExpression.getValueType(Object rootObject) Class<?>LiteralExpression.getValueType(EvaluationContext context, Object rootObject) CompositeStringExpression.getValueTypeDescriptor(Object rootObject) CompositeStringExpression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) LiteralExpression.getValueTypeDescriptor(Object rootObject) LiteralExpression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) booleanCompositeStringExpression.isWritable(Object rootObject) booleanCompositeStringExpression.isWritable(EvaluationContext context, Object rootObject) booleanLiteralExpression.isWritable(Object rootObject) booleanLiteralExpression.isWritable(EvaluationContext context, Object rootObject) TemplateAwareExpressionParser.parseExpression(String expressionString, ParserContext context) voidvoidvoidCompositeStringExpression.setValue(EvaluationContext context, Object value) voidCompositeStringExpression.setValue(EvaluationContext context, Object rootObject, Object value) voidCompositeStringExpression.setValue(EvaluationContext context, Object rootObject, Object value) voidvoidvoidLiteralExpression.setValue(EvaluationContext context, Object value) voidLiteralExpression.setValue(EvaluationContext context, Object rootObject, Object value) voidLiteralExpression.setValue(EvaluationContext context, Object rootObject, Object value) -
Uses of Nullable in org.springframework.expression.spel
Methods in org.springframework.expression.spel with annotations of type NullableModifier and TypeMethodDescriptionExpressionState.convertValue(TypedValue value, TypeDescriptor targetTypeDescriptor) InternalParseException.getCause()SpelParserConfiguration.getCompilerClassLoader()Return the ClassLoader to use as the basis for expression compilation.Object[]SpelEvaluationException.getInserts()Return the message inserts.Class<?>SpelNode.getObjectClass(Object obj) Determine the class of the object passed in, unless it is already a class object.SpelNode.getValue(ExpressionState expressionState) Evaluate the expression node in the context of the supplied expression state and return the value.CodeFlow.lastDescriptor()Return the descriptor for the item currently on top of the stack (in the current scope).ExpressionState.lookupLocalVariable(String name) Deprecated, for removal: This API element is subject to removal in a future version.as of 6.2 with no replacement; to be removed in 7.0Method parameters in org.springframework.expression.spel with annotations of type NullableModifier and TypeMethodDescriptionvoidExpressionState.enterScope(Map<String, Object> variables) Deprecated, for removal: This API element is subject to removal in a future version.as of 6.2 with no replacement; to be removed in 7.0SpelMessage.formatMessage(Object... inserts) Produce a complete message including the prefix and with the inserts applied to the message.Class<?>SpelNode.getObjectClass(Object obj) Determine the class of the object passed in, unless it is already a class object.abstract ObjectCompiledExpression.getValue(Object target, EvaluationContext context) Subclasses of CompiledExpression generated by SpelCompiler will provide an implementation of this method.abstract ObjectCompiledExpression.getValue(Object target, EvaluationContext context) Subclasses of CompiledExpression generated by SpelCompiler will provide an implementation of this method.static voidCodeFlow.insertBoxIfNecessary(MethodVisitor mv, String descriptor) Determine the appropriate boxing instruction for a specific type (if it needs boxing) and insert the instruction into the supplied visitor.static voidCodeFlow.insertCheckCast(MethodVisitor mv, String descriptor) Insert the appropriate CHECKCAST instruction for the supplied descriptor.static voidCodeFlow.insertNumericUnboxOrPrimitiveTypeCoercion(MethodVisitor mv, String stackDescriptor, char targetDescriptor) For use in mathematical operators, handles converting from a (possibly boxed) number on the stack to a primitive numeric type.static voidCodeFlow.insertUnboxInsns(MethodVisitor mv, char ch, String stackDescriptor) Insert any necessary cast and value call to convert from a boxed type to a primitive value.static voidCodeFlow.insertUnboxNumberInsns(MethodVisitor mv, char targetDescriptor, String stackDescriptor) For numbers, use the appropriate method on the number to convert it to the primitive type requested.static booleanCodeFlow.isBooleanCompatible(String descriptor) Determine whether the descriptor is for a boolean primitive or boolean reference type.static booleanCodeFlow.isPrimitive(String descriptor) Determine whether the descriptor is for a primitive type orvoid.static booleanCodeFlow.isPrimitiveArray(String descriptor) Determine whether the descriptor is for a primitive array (for example, "[[I").static booleanCodeFlow.isPrimitiveOrUnboxableSupportedNumber(String descriptor) Determine if the supplied descriptor is for a supported number.static booleanCodeFlow.isPrimitiveOrUnboxableSupportedNumberOrBoolean(String descriptor) Determine if the supplied descriptor is for a supported number type or boolean.voidCodeFlow.pushDescriptor(String descriptor) Record the descriptor for the most recently evaluated expression element.voidSpelNode.setValue(ExpressionState expressionState, Object newValue) Evaluate the expression to a node and then set the new value on that node.voidExpressionState.setVariable(String name, Object value) Set a named variable in the evaluation context to a specified value.static StringCodeFlow.toDescriptorFromObject(Object value) Determine the descriptor for an object instance (ornull).Constructor parameters in org.springframework.expression.spel with annotations of type NullableModifierConstructorDescriptionSpelEvaluationException(int position, Throwable cause, SpelMessage message, Object... inserts) SpelEvaluationException(int position, Throwable cause, SpelMessage message, Object... inserts) SpelEvaluationException(int position, SpelMessage message, Object... inserts) SpelEvaluationException(Throwable cause, SpelMessage message, Object... inserts) SpelEvaluationException(Throwable cause, SpelMessage message, Object... inserts) SpelEvaluationException(SpelMessage message, Object... inserts) SpelParseException(String expressionString, int position, SpelMessage message, Object... inserts) SpelParserConfiguration(SpelCompilerMode compilerMode, ClassLoader compilerClassLoader) Create a newSpelParserConfigurationinstance.SpelParserConfiguration(SpelCompilerMode compilerMode, ClassLoader compilerClassLoader) Create a newSpelParserConfigurationinstance.SpelParserConfiguration(SpelCompilerMode compilerMode, ClassLoader compilerClassLoader, boolean autoGrowNullReferences, boolean autoGrowCollections, int maximumAutoGrowSize) Create a newSpelParserConfigurationinstance.SpelParserConfiguration(SpelCompilerMode compilerMode, ClassLoader compilerClassLoader, boolean autoGrowNullReferences, boolean autoGrowCollections, int maximumAutoGrowSize) Create a newSpelParserConfigurationinstance.SpelParserConfiguration(SpelCompilerMode compilerMode, ClassLoader compilerClassLoader, boolean autoGrowNullReferences, boolean autoGrowCollections, int maximumAutoGrowSize, int maximumExpressionLength) Create a newSpelParserConfigurationinstance.SpelParserConfiguration(SpelCompilerMode compilerMode, ClassLoader compilerClassLoader, boolean autoGrowNullReferences, boolean autoGrowCollections, int maximumAutoGrowSize, int maximumExpressionLength) Create a newSpelParserConfigurationinstance. -
Uses of Nullable in org.springframework.expression.spel.ast
Fields in org.springframework.expression.spel.ast with annotations of type NullableModifier and TypeFieldDescriptionprotected StringSpelNodeImpl.exitTypeDescriptorIndicates the type descriptor for the result of this expression node.protected StringOperator.leftActualDescriptorprotected StringOperator.rightActualDescriptorMethods in org.springframework.expression.spel.ast with annotations of type NullableModifier and TypeMethodDescriptionInlineList.getConstantValue()InlineMap.getConstantValue()SpelNodeImpl.getExitDescriptor()Class<?>SpelNodeImpl.getObjectClass(Object obj) final StringLiteral.getOriginalValue()final ObjectSpelNodeImpl.getValue(ExpressionState expressionState) protected final <T> TSpelNodeImpl.getValue(ExpressionState state, Class<T> desiredReturnType) Method parameters in org.springframework.expression.spel.ast with annotations of type NullableModifier and TypeMethodDescriptionOperator.DescriptorComparison.checkNumericCompatibility(String leftDeclaredDescriptor, String rightDeclaredDescriptor, String leftActualDescriptor, String rightActualDescriptor) Return an object that indicates whether the input descriptors are compatible.Operator.DescriptorComparison.checkNumericCompatibility(String leftDeclaredDescriptor, String rightDeclaredDescriptor, String leftActualDescriptor, String rightActualDescriptor) Return an object that indicates whether the input descriptors are compatible.Operator.DescriptorComparison.checkNumericCompatibility(String leftDeclaredDescriptor, String rightDeclaredDescriptor, String leftActualDescriptor, String rightActualDescriptor) Return an object that indicates whether the input descriptors are compatible.Operator.DescriptorComparison.checkNumericCompatibility(String leftDeclaredDescriptor, String rightDeclaredDescriptor, String leftActualDescriptor, String rightActualDescriptor) Return an object that indicates whether the input descriptors are compatible.static booleanOperator.equalityCheck(EvaluationContext context, Object left, Object right) Perform an equality check for the given operand values.static booleanOperator.equalityCheck(EvaluationContext context, Object left, Object right) Perform an equality check for the given operand values.Class<?>SpelNodeImpl.getObjectClass(Object obj) voidSpelNodeImpl.setValue(ExpressionState expressionState, Object newValue) voidvoidSets the value this ValueRef points to, it should not require expression component re-evaluation.voidConstructor parameters in org.springframework.expression.spel.ast with annotations of type Nullable -
Uses of Nullable in org.springframework.expression.spel.standard
Methods in org.springframework.expression.spel.standard with annotations of type NullableModifier and TypeMethodDescriptionSpelCompiler.compile(SpelNodeImpl expression) Attempt compilation of the supplied expression.SpelExpression.getValue()<T> T<T> TSpelExpression.getValue(EvaluationContext context) <T> TSpelExpression.getValue(EvaluationContext context, Class<T> expectedResultType) SpelExpression.getValue(EvaluationContext context, Object rootObject) <T> TSpelExpression.getValue(EvaluationContext context, Object rootObject, Class<T> expectedResultType) Class<?>SpelExpression.getValueType()Class<?>SpelExpression.getValueType(Object rootObject) Class<?>SpelExpression.getValueType(EvaluationContext context) Class<?>SpelExpression.getValueType(EvaluationContext context, Object rootObject) SpelExpression.getValueTypeDescriptor()SpelExpression.getValueTypeDescriptor(Object rootObject) SpelExpression.getValueTypeDescriptor(EvaluationContext context) SpelExpression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) Method parameters in org.springframework.expression.spel.standard with annotations of type NullableModifier and TypeMethodDescriptionprotected SpelExpressionSpelExpressionParser.doParseExpression(String expressionString, ParserContext context) static SpelCompilerSpelCompiler.getCompiler(ClassLoader classLoader) Factory method for compiler instances.<T> T<T> T<T> T<T> TSpelExpression.getValue(EvaluationContext context, Class<T> expectedResultType) SpelExpression.getValue(EvaluationContext context, Object rootObject) <T> TSpelExpression.getValue(EvaluationContext context, Object rootObject, Class<T> expectedResultType) <T> TSpelExpression.getValue(EvaluationContext context, Object rootObject, Class<T> expectedResultType) Class<?>SpelExpression.getValueType(Object rootObject) Class<?>SpelExpression.getValueType(EvaluationContext context, Object rootObject) SpelExpression.getValueTypeDescriptor(Object rootObject) SpelExpression.getValueTypeDescriptor(EvaluationContext context, Object rootObject) booleanSpelExpression.isWritable(Object rootObject) booleanSpelExpression.isWritable(EvaluationContext context, Object rootObject) voidvoidvoidSpelExpression.setValue(EvaluationContext context, Object value) voidSpelExpression.setValue(EvaluationContext context, Object rootObject, Object value) voidSpelExpression.setValue(EvaluationContext context, Object rootObject, Object value) -
Uses of Nullable in org.springframework.expression.spel.support
Methods in org.springframework.expression.spel.support with annotations of type NullableModifier and TypeMethodDescriptionStandardTypeConverter.convertValue(Object value, TypeDescriptor sourceType, TypeDescriptor targetType) protected FieldFind a field of a certain name on a specified class.protected MethodReflectivePropertyAccessor.findGetterForProperty(String propertyName, Class<?> clazz, boolean mustBeStatic) Find a getter method for the specified property.protected MethodReflectivePropertyAccessor.findSetterForProperty(String propertyName, Class<?> clazz, boolean mustBeStatic) Find a setter method for the specified property.SimpleEvaluationContext.getBeanResolver()SimpleEvaluationContextdoes not support the use of bean references.StandardEvaluationContext.getBeanResolver()Get the configuredBeanResolverfor looking up beans, if any.Class<?>ReflectiveMethodExecutor.getPublicDeclaringClass()Get the public class or interface in the method's type hierarchy that declares the original method.Class<?>[]ReflectivePropertyAccessor.getSpecificTargetClasses()Returnsnullwhich means this is a general purpose accessor.SimpleEvaluationContext.lookupVariable(String name) Look up a named variable or function within this evaluation context.StandardEvaluationContext.lookupVariable(String name) Look up a named variable or function within this evaluation context.DataBindingMethodResolver.resolve(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes) ReflectiveConstructorResolver.resolve(EvaluationContext context, String typeName, List<TypeDescriptor> argumentTypes) Locate a constructor on the type.ReflectiveMethodResolver.resolve(EvaluationContext context, Object targetObject, String name, List<TypeDescriptor> argumentTypes) Locate a method on the type.Method parameters in org.springframework.expression.spel.support with annotations of type NullableModifier and TypeMethodDescriptionbooleanStandardTypeComparator.canCompare(Object left, Object right) booleanStandardTypeComparator.canCompare(Object left, Object right) booleanStandardTypeConverter.canConvert(TypeDescriptor sourceType, TypeDescriptor targetType) booleanReflectivePropertyAccessor.canRead(EvaluationContext context, Object target, String name) booleanReflectivePropertyAccessor.canWrite(EvaluationContext context, Object target, String name) intintstatic booleanReflectionHelper.convertAllMethodHandleArguments(TypeConverter converter, Object[] arguments, MethodHandle methodHandle, Integer varargsPosition) Convert the supplied set of arguments into the parameter types of the suppliedMethodHandle, taking the varargs position into account.StandardTypeConverter.convertValue(Object value, TypeDescriptor sourceType, TypeDescriptor targetType) StandardTypeConverter.convertValue(Object value, TypeDescriptor sourceType, TypeDescriptor targetType) ReflectivePropertyAccessor.createOptimalAccessor(EvaluationContext context, Object target, String name) Attempt to create an optimized property accessor tailored for a property of a particular name on a particular class.booleanStandardOperatorOverloader.overridesOperation(Operation operation, Object leftOperand, Object rightOperand) booleanStandardOperatorOverloader.overridesOperation(Operation operation, Object leftOperand, Object rightOperand) ReflectivePropertyAccessor.read(EvaluationContext context, Object target, String name) voidReflectiveMethodResolver.registerMethodFilter(Class<?> type, MethodFilter filter) Register a filter for methods on the given type.voidStandardEvaluationContext.setBeanResolver(BeanResolver beanResolver) Set theBeanResolverto use for looking up beans, if any.voidStandardEvaluationContext.setRootObject(Object rootObject) Specify the default root context object against which unqualified properties, methods, etc.voidStandardEvaluationContext.setRootObject(Object rootObject, TypeDescriptor typeDescriptor) Specify the default root context object (including a type descriptor) against which unqualified properties, methods, etc.voidSimpleEvaluationContext.setVariable(String name, Object value) Set a named variable or function in this evaluation context to the specified value.voidStandardEvaluationContext.setVariable(String name, Object value) Set a named variable in this evaluation context to a specified value.voidStandardEvaluationContext.setVariable(String name, Object value) Set a named variable in this evaluation context to a specified value.voidReflectiveIndexAccessor.write(EvaluationContext context, Object target, Object index, Object newValue) Invoke the configured write-method via reflection.voidReflectivePropertyAccessor.write(EvaluationContext context, Object target, String name, Object newValue) voidReflectivePropertyAccessor.write(EvaluationContext context, Object target, String name, Object newValue) Constructor parameters in org.springframework.expression.spel.support with annotations of type NullableModifierConstructorDescriptionReflectiveIndexAccessor(Class<?> targetType, Class<?> indexType, String readMethodName, String writeMethodName) Construct a newReflectiveIndexAccessorfor read-write access.ReflectiveMethodExecutor(Method method, Class<?> targetClass) Create a new executor for the given method.StandardEvaluationContext(Object rootObject) Create aStandardEvaluationContextwith the given root object.StandardTypeLocator(ClassLoader classLoader) Create aStandardTypeLocatorfor the givenClassLoader. -
Uses of Nullable in org.springframework.format.annotation
Method parameters in org.springframework.format.annotation with annotations of type NullableModifier and TypeMethodDescriptionstatic DurationFormat.UnitDurationFormat.Unit.fromChronoUnit(ChronoUnit chronoUnit) Get theDurationFormat.Unitcorresponding to the givenChronoUnit. -
Uses of Nullable in org.springframework.format.datetime.standard
Methods in org.springframework.format.datetime.standard with annotations of type NullableModifier and TypeMethodDescriptionDateTimeContext.getChronology()Return the user's chronology (calendar system), if any.static DateTimeContextDateTimeContextHolder.getDateTimeContext()Return the DateTimeContext associated with the current thread, if any.DateTimeFormatterFactoryBean.getObject()DateTimeContext.getTimeZone()Return the user's time zone, if any.Method parameters in org.springframework.format.datetime.standard with annotations of type NullableModifier and TypeMethodDescriptionstatic DurationDurationFormatterUtils.detectAndParse(String value, DurationFormat.Unit unit) Detect the style then parse the value to return a duration.static DateTimeFormatterDateTimeContextHolder.getFormatter(DateTimeFormatter formatter, Locale locale) Obtain a DateTimeFormatter with user-specific settings applied to the given base formatter.static DurationDurationFormatterUtils.parse(String value, DurationFormat.Style style, DurationFormat.Unit unit) Parse the given value to a duration.static StringDurationFormatterUtils.print(Duration value, DurationFormat.Style style, DurationFormat.Unit unit) Print the specified duration in the specified style using the given unit.voidDateTimeContext.setChronology(Chronology chronology) Set the user's chronology (calendar system).static voidDateTimeContextHolder.setDateTimeContext(DateTimeContext dateTimeContext) Associate the given DateTimeContext with the current thread.voidDateTimeContext.setTimeZone(ZoneId timeZone) Set the user's time zone.Constructor parameters in org.springframework.format.datetime.standard with annotations of type NullableModifierConstructorDescriptionDurationFormatter(DurationFormat.Style style, DurationFormat.Unit defaultUnit) -
Uses of Nullable in org.springframework.format.support
Methods in org.springframework.format.support with annotations of type NullableConstructor parameters in org.springframework.format.support with annotations of type NullableModifierConstructorDescriptionDefaultFormattingConversionService(StringValueResolver embeddedValueResolver, boolean registerDefaultFormatters) Create a newDefaultFormattingConversionServicewith the set of default converters and, based on the value ofregisterDefaultFormatters, the set of default formatters. -
Uses of Nullable in org.springframework.http
Methods in org.springframework.http with annotations of type NullableModifier and TypeMethodDescriptionHttpHeaders.getAccessControlAllowOrigin()Return the value of theAccess-Control-Allow-Originresponse header.HttpHeaders.getAccessControlRequestMethod()Return the value of theAccess-Control-Request-Methodrequest header.HttpEntity.getBody()Returns the body of this entity.HttpHeaders.getCacheControl()Return the value of theCache-Controlheader.ContentDisposition.getCharset()Return the charset defined in filename* parameter, ornullif not defined.HttpHeaders.getContentLanguage()Get the firstLocaleof the content languages, as specified by theContent-Languageheader.HttpHeaders.getContentType()Return the media type of the body, as specified by theContent-Typeheader.ContentDisposition.getCreationDate()Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.ProblemDetail.getDetail()Return the configuredproblem detail.ResponseCookie.getDomain()Return the cookie "Domain" attribute, ornullif not set.HttpHeaders.getETag()Return the entity tag of the body, as specified by theETagheader.protected StringHttpHeaders.getFieldValues(String headerName) Retrieve a combined result from the field values of multivalued headers.ContentDisposition.getFilename()Return the value of the filename parameter, possibly decoded from BASE64 encoding based on RFC 2047, or of the filename* parameter, possibly decoded as defined in the RFC 5987.Return the first header value for the given header name, if any.HttpHeaders.getFirstZonedDateTime(String headerName) Parse the first header value for the given header name as a date, returnnullif there is no value, or raiseIllegalArgumentExceptionif the value cannot be parsed as a date.CacheControl.getHeaderValue()Return the "Cache-Control" header value, if any.HttpHeaders.getHost()Return the value of theHostheader, if available.ProblemDetail.getInstance()Return the configuredproblem instance.HttpHeaders.getLocation()Return the (new) location of a resource as specified by theLocationheader.RequestEntity.getMethod()Return the HTTP method of the request.ContentDisposition.getModificationDate()Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.ContentDisposition.getName()Return the value of the name parameter, ornullif not defined.HttpHeaders.getOrigin()Return the value of theOriginheader.ResponseCookie.getPath()Return the cookie "Path" attribute, ornullif not set.HttpHeaders.getPragma()Return the value of thePragmaheader.ProblemDetail.getProperties()Return a generic map of properties that are not known ahead of time, possiblynullif no properties have been added.ContentDisposition.getReadDate()Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.ResponseCookie.getSameSite()Return the cookie "SameSite" attribute, ornullif not set.ContentDisposition.getSize()Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.ProblemDetail.getTitle()Return the configuredproblem title.ContentDisposition.getType()Return the disposition type.RequestEntity.getType()Return the type of the request's body.HttpHeaders.getUpgrade()Return the value of theUpgradeheader.Object[]RequestEntity.UriTemplateRequestEntity.getVars()RequestEntity.UriTemplateRequestEntity.getVarsMap()static HttpStatusHttpStatus.resolve(int statusCode) Resolve the given status code to anHttpStatus, if possible.static HttpStatus.SeriesHttpStatus.Series.resolve(int statusCode) Resolve the given status code to anHttpStatus.Series, if possible.Method parameters in org.springframework.http with annotations of type NullableModifier and TypeMethodDescriptionvoidAdd the given, single header value under the given name.<T> ResponseEntity<T>ResponseEntity.BodyBuilder.body(T body) Set the body of the response entity and returns it.ContentDisposition.Builder.creationDate(ZonedDateTime creationDate) Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.Set the cookie "Domain" attribute.static StringHttpHeaders.encodeBasicAuth(String username, String password, Charset charset) Encode the given username and password into Basic Authentication credentials.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanSet the entity tag of the body, as specified by theETagheader.Set the value of the filename parameter.Set the value of thefilenamethat will be encoded as defined in RFC 5987.Set the value of thefilenamethat will be encoded as defined in RFC 5987.static ProblemDetailProblemDetail.forStatusAndDetail(HttpStatusCode status, String detail) Create aProblemDetailinstance with the given status and detail.Factory method to obtain a builder for a server-defined cookie that starts with a name-value pair and may also include attributes.ResponseCookie.fromClientResponse(String name, String value) Factory method to obtain a builder for a server-defined cookie.MediaTypeFactory.getMediaType(String filename) Determine a media type for the given file name, if possible.MediaTypeFactory.getMediaType(Resource resource) Determine a media type for the given resource, if possible.MediaTypeFactory.getMediaTypes(String filename) Determine the media types for the given file name, if possible.RequestEntity.HeadersBuilder.headers(HttpHeaders headers) Copy the given headers into the entity's headers map.ResponseEntity.HeadersBuilder.headers(HttpHeaders headers) Copy the given headers into the entity's headers map.booleanIndicate whether thisMediaTypeincludes the given media type.booleanMediaType.isCompatibleWith(MediaType other) Indicate whether thisMediaTypeis compatible with the given media type.ContentDisposition.Builder.modificationDate(ZonedDateTime modificationDate) Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.Set the value of the name parameter.static <T> ResponseEntity<T>ResponseEntity.ofNullable(T body) static <T> ResponseEntity<T>ResponseEntity.ok(T body) A shortcut for creating aResponseEntitywith the given body and the status set to OK.MediaType.parseMediaTypes(String mediaTypes) Parse the comma-separated string into a list ofMediaTypeobjects.MediaType.parseMediaTypes(List<String> mediaTypes) Parse the given list of (potentially) comma-separated strings into a list ofMediaTypeobjects.HttpRange.parseRanges(String ranges) Parse the given, comma-separated string into a list ofHttpRangeobjects.Set the cookie "Path" attribute.ContentDisposition.Builder.readDate(ZonedDateTime readDate) Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.Add the "SameSite" attribute to the cookie.voidSet the given, single header value under the given name.voidHttpHeaders.setAccessControlAllowOrigin(String allowedOrigin) Set the (new) value of theAccess-Control-Allow-Originresponse header.voidHttpHeaders.setAccessControlRequestMethod(HttpMethod requestMethod) Set the (new) value of theAccess-Control-Request-Methodrequest header.voidHttpHeaders.setBasicAuth(String username, String password, Charset charset) Set the value of the Authorization header to Basic Authentication based on the given username and password.voidHttpHeaders.setCacheControl(String cacheControl) Set the (new) value of theCache-Controlheader.voidHttpHeaders.setContentDispositionFormData(String name, String filename) Set theContent-Dispositionheader when creating a"multipart/form-data"request.voidHttpHeaders.setContentLanguage(Locale locale) Set theLocaleof the content language, as specified by the Content-Language header.voidHttpHeaders.setContentType(MediaType mediaType) Set the media type of the body, as specified by theContent-Typeheader.voidSetter for theproblem detail.voidSet the (new) entity tag of the body, as specified by theETagheader.voidHttpHeaders.setHost(InetSocketAddress host) Set the (new) value of theHostheader.voidProblemDetail.setInstance(URI instance) Setter for theproblem instance.voidHttpHeaders.setLocation(URI location) Set the (new) location of a resource, as specified by theLocationheader.voidSet the (new) value of theOriginheader.voidSet the (new) value of thePragmaheader.voidProblemDetail.setProperties(Map<String, Object> properties) Setter for theproperties map.voidProblemDetail.setProperty(String name, Object value) Set a "dynamic" property to be added to a genericproperties map.voidSetter for theproblem title.voidHttpHeaders.setUpgrade(String upgrade) Set the (new) value of theUpgradeheader.Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.Set the cookie value.Constructor parameters in org.springframework.http with annotations of type NullableModifierConstructorDescriptionHttpCookie(String name, String value) HttpEntity(T body, MultiValueMap<String, String> headers) Create a newHttpEntitywith the given body and headers.HttpEntity(T body, MultiValueMap<String, String> headers) Create a newHttpEntitywith the given body and headers.InvalidMediaTypeException(String mediaType, String message) Create a new InvalidMediaTypeException for the given media type.Create a newMediaTypefor the given type, subtype, and parameters.Copy-constructor that copies the type and subtype of the givenMediaType, and allows for different parameters.RequestEntity(T body, HttpMethod method, URI url) Constructor with method, URL and body but without headers.RequestEntity(T body, HttpMethod method, URI url, Type type) Constructor with method, URL, body and type but without headers.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url) Constructor with method, URL, headers and body.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url) Constructor with method, URL, headers and body.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url) Constructor with method, URL, headers and body.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url, Type type) Constructor with method, URL, headers, body and type.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url, Type type) Constructor with method, URL, headers, body and type.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url, Type type) Constructor with method, URL, headers, body and type.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url, Type type) Constructor with method, URL, headers, body and type.RequestEntity(T body, MultiValueMap<String, String> headers, HttpMethod method, URI url, Type type) Constructor with method, URL, headers, body and type.ResponseEntity(T body, HttpStatusCode status) Create aResponseEntitywith a body and status code.ResponseEntity(T body, MultiValueMap<String, String> headers, int rawStatus) Create aResponseEntitywith a body, headers, and a raw status code.ResponseEntity(T body, MultiValueMap<String, String> headers, int rawStatus) Create aResponseEntitywith a body, headers, and a raw status code.ResponseEntity(T body, MultiValueMap<String, String> headers, HttpStatusCode statusCode) Create aResponseEntitywith a body, headers, and a status code.ResponseEntity(T body, MultiValueMap<String, String> headers, HttpStatusCode statusCode) Create aResponseEntitywith a body, headers, and a status code. -
Uses of Nullable in org.springframework.http.client
Methods in org.springframework.http.client with annotations of type NullableModifier and TypeMethodDescriptionprotected org.apache.hc.core5.http.protocol.HttpContextHttpComponentsClientHttpRequestFactory.createHttpContext(HttpMethod httpMethod, URI uri) Template method that creates aHttpContextfor the given HTTP method and URI.protected RequestConfigHttpComponentsClientHttpRequestFactory.createRequestConfig(Object client) Create a defaultRequestConfigto use with the given client.Method parameters in org.springframework.http.client with annotations of type NullableModifier and TypeMethodDescriptionprotected HttpURLConnectionSimpleClientHttpRequestFactory.openConnection(URL url, Proxy proxy) Opens and returns a connection to the given URL.Variant ofMultipartBodyBuilder.part(String, Object)that also accepts a MediaType.Constructor parameters in org.springframework.http.client with annotations of type NullableModifierConstructorDescriptionInterceptingClientHttpRequestFactory(ClientHttpRequestFactory requestFactory, List<ClientHttpRequestInterceptor> interceptors) Create a new instance of theInterceptingClientHttpRequestFactorywith the given parameters. -
Uses of Nullable in org.springframework.http.client.observation
Methods in org.springframework.http.client.observation with annotations of type NullableModifier and TypeMethodDescriptionDefaultClientRequestObservationConvention.getContextualName(ClientRequestObservationContext context) ClientRequestObservationContext.getUriTemplate()Return the URI template used for the current client exchange,nullif none was used.Method parameters in org.springframework.http.client.observation with annotations of type NullableModifier and TypeMethodDescriptionvoidClientRequestObservationContext.setUriTemplate(String uriTemplate) Set the URI template used for the current client exchange. -
Uses of Nullable in org.springframework.http.client.reactive
Methods in org.springframework.http.client.reactive with annotations of type NullableModifier and TypeMethodDescriptionorg.eclipse.jetty.io.ByteBufferPoolJettyResourceFactory.getByteBufferPool()Return the configuredByteBufferPool.JdkHttpClientResourceFactory.getExecutor()Return the configuredExecutor.JettyResourceFactory.getExecutor()Return the configuredExecutor.org.eclipse.jetty.util.thread.SchedulerJettyResourceFactory.getScheduler()Return the configuredScheduler.Method parameters in org.springframework.http.client.reactive with annotations of type NullableModifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<Void>ApplybeforeCommitactions, apply the request headers/cookies, and write the request body.voidJettyResourceFactory.setByteBufferPool(org.eclipse.jetty.io.ByteBufferPool byteBufferPool) Configure theByteBufferPoolto use.voidJdkHttpClientResourceFactory.setExecutor(Executor executor) Configure theExecutorto use forHttpClientexchanges.voidJettyResourceFactory.setExecutor(Executor executor) Configure theExecutorto use.voidJettyResourceFactory.setScheduler(org.eclipse.jetty.util.thread.Scheduler scheduler) Configure theSchedulerto use.Constructor parameters in org.springframework.http.client.reactive with annotations of type NullableModifierConstructorDescriptionJdkClientHttpConnector(HttpClient.Builder clientBuilder, JdkHttpClientResourceFactory resourceFactory) Constructor with aJdkHttpClientResourceFactorythat provides shared resources.JettyClientHttpConnector(org.eclipse.jetty.client.HttpClient httpClient, JettyResourceFactory resourceFactory) Constructor with an initializedHttpClientand configures it with the givenJettyResourceFactory.JettyClientHttpConnector(JettyResourceFactory resourceFactory, Consumer<org.eclipse.jetty.client.HttpClient> customizer) Deprecated.as of 5.2, in favor ofJettyClientHttpConnector(HttpClient, JettyResourceFactory) -
Uses of Nullable in org.springframework.http.client.support
Methods in org.springframework.http.client.support with annotations of type NullableConstructor parameters in org.springframework.http.client.support with annotations of type NullableModifierConstructorDescriptionBasicAuthenticationInterceptor(String username, String password, Charset charset) Create a new interceptor which adds Basic Authentication for the given username and password, encoded using the specified charset. -
Uses of Nullable in org.springframework.http.codec
Methods in org.springframework.http.codec with annotations of type NullableModifier and TypeMethodDescriptionServerSentEvent.comment()Return the comment of this event, if available.ServerSentEvent.data()Return thedatafield of this event, if available.ServerSentEvent.event()Return theeventfield of this event, if available.protected MediaTypeDecoderHttpMessageReader.getContentType(HttpMessage inputMessage) Determine the Content-Type of the HTTP message based on the "Content-Type" header or otherwise default toMediaType.APPLICATION_OCTET_STREAM.Decoder<?>ServerSentEventHttpMessageReader.getDecoder()Return the configuredDecoder.Encoder<?>ServerSentEventHttpMessageWriter.getEncoder()Return the configuredEncoder, if any.ServerSentEvent.id()Return theidfield of this event, if available.CodecConfigurer.DefaultCodecConfig.isEnableLoggingRequestDetails()Whether to log form data at DEBUG level, and headers at TRACE level.CodecConfigurer.DefaultCodecConfig.maxInMemorySize()Get the configured limit on the number of bytes that can be buffered whenever the input stream needs to be aggregated.ServerSentEvent.retry()Return theretryfield of this event, if available.protected final kotlinx.serialization.KSerializer<Object>KotlinSerializationSupport.serializer(ResolvableType resolvableType) Returns the serializer that can (de)serialize instances of the given type.Method parameters in org.springframework.http.codec with annotations of type NullableModifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void>ResourceHttpMessageWriter.addDefaultHeaders(ReactiveHttpOutputMessage message, Resource resource, MediaType contentType, Map<String, Object> hints) Adds the default headers for the given resource to the given message.booleanKotlinSerializationBinaryDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanKotlinSerializationStringDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanKotlinSerializationBinaryEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanKotlinSerializationStringEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanDecoderHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) booleanFormHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) booleanHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) Whether the given object type is supported by this reader.booleanServerSentEventHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) protected final booleanKotlinSerializationSupport.canSerialize(ResolvableType type, MimeType mimeType) Indicates whether the given type can be serialized using Kotlin serialization.booleanEncoderHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) booleanFormHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) booleanHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) Whether the given object type is supported by this writer.booleanResourceHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) booleanServerSentEventHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) Set the value of thedatafield.reactor.core.publisher.Flux<Object>KotlinSerializationBinaryDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Object>KotlinSerializationBinaryDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Object>KotlinSerializationStringDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Object>KotlinSerializationStringDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>KotlinSerializationBinaryDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>KotlinSerializationBinaryDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>KotlinSerializationStringDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>KotlinSerializationStringDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>KotlinSerializationBinaryEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>KotlinSerializationBinaryEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>KotlinSerializationStringEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>KotlinSerializationStringEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected reactor.core.publisher.Flux<DataBuffer>KotlinSerializationStringEncoder.encodeNonStream(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected reactor.core.publisher.Flux<DataBuffer>KotlinSerializationStringEncoder.encodeNonStream(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected DataBufferKotlinSerializationStringEncoder.encodeStreamingValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints, byte[] prefix, byte[] suffix) protected DataBufferKotlinSerializationStringEncoder.encodeStreamingValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints, byte[] prefix, byte[] suffix) KotlinSerializationBinaryEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) KotlinSerializationBinaryEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) KotlinSerializationStringEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) KotlinSerializationStringEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) booleanHttpMessageEncoder.getEncodeHints(ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response) Get decoding hints based on the server request or annotations on the target controller method parameter.protected MediaTypeFormHttpMessageWriter.getMediaType(MediaType mediaType) Return the content type used to write forms, either the given media type or otherwiseapplication/x-www-form-urlencoded.EncoderHttpMessageWriter.getWriteHints(ResolvableType streamType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response) Get additional hints for encoding for example based on the server request or annotations from controller method parameters.reactor.core.publisher.Mono<Void>EncoderHttpMessageWriter.write(Publisher<? extends T> inputStream, ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) reactor.core.publisher.Mono<Void>EncoderHttpMessageWriter.write(Publisher<? extends T> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) reactor.core.publisher.Mono<Void>FormHttpMessageWriter.write(Publisher<? extends MultiValueMap<String, String>> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) default reactor.core.publisher.Mono<Void>HttpMessageWriter.write(Publisher<? extends T> inputStream, ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) Server-side only alternative toHttpMessageWriter.write(Publisher, ResolvableType, MediaType, ReactiveHttpOutputMessage, Map)with additional context available.reactor.core.publisher.Mono<Void>HttpMessageWriter.write(Publisher<? extends T> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) Write a given stream of object to the output message.reactor.core.publisher.Mono<Void>ResourceHttpMessageWriter.write(Publisher<? extends Resource> inputStream, ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) reactor.core.publisher.Mono<Void>ResourceHttpMessageWriter.write(Publisher<? extends Resource> inputStream, ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) reactor.core.publisher.Mono<Void>ResourceHttpMessageWriter.write(Publisher<? extends Resource> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) reactor.core.publisher.Mono<Void>ServerSentEventHttpMessageWriter.write(Publisher<?> input, ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response, Map<String, Object> hints) reactor.core.publisher.Mono<Void>ServerSentEventHttpMessageWriter.write(Publisher<?> input, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) Constructor parameters in org.springframework.http.codec with annotations of type NullableModifierConstructorDescriptionServerSentEventHttpMessageReader(Decoder<?> decoder) Constructor with JSONDecoderfor decoding to Objects.ServerSentEventHttpMessageWriter(Encoder<?> encoder) Constructor with JSONEncoderfor encoding objects. -
Uses of Nullable in org.springframework.http.codec.cbor
Method parameters in org.springframework.http.codec.cbor with annotations of type NullableModifier and TypeMethodDescriptionreactor.core.publisher.Flux<Object>Jackson2CborDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Object>Jackson2CborDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>Jackson2CborEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>Jackson2CborEncoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) -
Uses of Nullable in org.springframework.http.codec.json
Methods in org.springframework.http.codec.json with annotations of type NullableModifier and TypeMethodDescriptionprotected <A extends Annotation>
AAbstractJackson2Decoder.getAnnotation(MethodParameter parameter, Class<A> annotType) protected <A extends Annotation>
AAbstractJackson2Encoder.getAnnotation(MethodParameter parameter, Class<A> annotType) protected abstract <A extends Annotation>
AJackson2CodecSupport.getAnnotation(MethodParameter parameter, Class<A> annotType) Jackson2CodecSupport.getObjectMappersForType(Class<?> clazz) Return ObjectMapper registrations for the given class, if any.protected MethodParameterJackson2CodecSupport.getParameter(ResolvableType type) protected byte[]AbstractJackson2Encoder.getStreamingMediaTypeSeparator(MimeType mimeType) Return the separator to use for the given mime type.protected byte[]Jackson2SmileEncoder.getStreamingMediaTypeSeparator(MimeType mimeType) Return the separator to use for the given mime type.protected ObjectMapperJackson2CodecSupport.selectObjectMapper(ResolvableType targetType, MimeType targetMimeType) Select an ObjectMapper to use, either the main ObjectMapper or another if the handling for the given Class has been customized throughJackson2CodecSupport.registerObjectMappersForType(Class, Consumer).Method parameters in org.springframework.http.codec.json with annotations of type NullableModifier and TypeMethodDescriptionbooleanAbstractJackson2Decoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanAbstractJackson2Encoder.canEncode(ResolvableType elementType, MimeType mimeType) protected ObjectReaderAbstractJackson2Decoder.customizeReader(ObjectReader reader, ResolvableType elementType, Map<String, Object> hints) Subclasses can use this method to customizeObjectReaderused for reading values.protected ObjectWriterAbstractJackson2Encoder.customizeWriter(ObjectWriter writer, MimeType mimeType, ResolvableType elementType, Map<String, Object> hints) Subclasses can use this method to customize theObjectWriterused for writing values.protected ObjectWriterAbstractJackson2Encoder.customizeWriter(ObjectWriter writer, MimeType mimeType, ResolvableType elementType, Map<String, Object> hints) Subclasses can use this method to customize theObjectWriterused for writing values.protected ObjectWriterJackson2JsonEncoder.customizeWriter(ObjectWriter writer, MimeType mimeType, ResolvableType elementType, Map<String, Object> hints) protected ObjectWriterJackson2JsonEncoder.customizeWriter(ObjectWriter writer, MimeType mimeType, ResolvableType elementType, Map<String, Object> hints) reactor.core.publisher.Flux<Object>AbstractJackson2Decoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Object>AbstractJackson2Decoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) AbstractJackson2Decoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) AbstractJackson2Decoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>AbstractJackson2Decoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>AbstractJackson2Decoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>AbstractJackson2Encoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>AbstractJackson2Encoder.encode(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>KotlinSerializationJsonEncoder.encodeNonStream(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>KotlinSerializationJsonEncoder.encodeNonStream(Publisher<?> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) AbstractJackson2Encoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) AbstractJackson2Encoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) AbstractJackson2Encoder.getEncodeHints(ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response) AbstractJackson2Encoder.getEncodeHints(ResolvableType actualType, ResolvableType elementType, MediaType mediaType, ServerHttpRequest request, ServerHttpResponse response) protected JavaTypeJackson2CodecSupport.getJavaType(Type type, Class<?> contextClass) protected JsonEncodingAbstractJackson2Encoder.getJsonEncoding(MimeType mimeType) Determine the JSON encoding to use for the given mime type.protected byte[]AbstractJackson2Encoder.getStreamingMediaTypeSeparator(MimeType mimeType) Return the separator to use for the given mime type.protected byte[]Jackson2SmileEncoder.getStreamingMediaTypeSeparator(MimeType mimeType) Return the separator to use for the given mime type.protected voidJackson2CodecSupport.logWarningIfNecessary(Type type, Throwable cause) Determine whether to log the given exception coming from aObjectMapper.canDeserialize(com.fasterxml.jackson.databind.JavaType)/ObjectMapper.canSerialize(java.lang.Class<?>)check.protected reactor.core.publisher.Flux<DataBuffer>AbstractJackson2Decoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Process the input publisher into a flux.protected reactor.core.publisher.Flux<DataBuffer>AbstractJackson2Decoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Process the input publisher into a flux.protected reactor.core.publisher.Flux<DataBuffer>Jackson2JsonDecoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected reactor.core.publisher.Flux<DataBuffer>Jackson2JsonDecoder.processInput(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected ObjectMapperJackson2CodecSupport.selectObjectMapper(ResolvableType targetType, MimeType targetMimeType) Select an ObjectMapper to use, either the main ObjectMapper or another if the handling for the given Class has been customized throughJackson2CodecSupport.registerObjectMappersForType(Class, Consumer).protected booleanJackson2CodecSupport.supportsMimeType(MimeType mimeType) -
Uses of Nullable in org.springframework.http.codec.multipart
Methods in org.springframework.http.codec.multipart with annotations of type NullableModifier and TypeMethodDescriptionMultipartHttpMessageWriter.getFormWriter()Return the configured form writer.Method parameters in org.springframework.http.codec.multipart with annotations of type NullableModifier and TypeMethodDescriptionbooleanDefaultPartHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) booleanMultipartHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) booleanPartEventHttpMessageReader.canRead(ResolvableType elementType, MediaType mediaType) booleanMultipartHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) booleanPartEventHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) booleanPartHttpMessageWriter.canWrite(ResolvableType elementType, MediaType mediaType) static reactor.core.publisher.Flux<FilePartEvent>FilePartEvent.create(String partName, String filename, MediaType contentType, reactor.core.publisher.Flux<DataBuffer> contents, Consumer<HttpHeaders> headersConsumer) Creates a stream ofFilePartEventobjects based on the given name, FilePartEvent.filename(), content-type, and contents.static reactor.core.publisher.Flux<FilePartEvent>FilePartEvent.create(String name, Path path, Consumer<HttpHeaders> headersConsumer) Creates a stream ofFilePartEventobjects based on the given name and file path.static reactor.core.publisher.Flux<FilePartEvent>FilePartEvent.create(String name, Resource resource, Consumer<HttpHeaders> headersConsumer) Creates a stream ofFilePartEventobjects based on the given name and resource.static reactor.core.publisher.Mono<FormPartEvent>FormPartEvent.create(String name, String value, Consumer<HttpHeaders> headersConsumer) protected MediaTypeMultipartWriterSupport.getMultipartMediaType(MediaType mediaType, byte[] boundary) Prepare theMediaTypeto use by adding "boundary" and "charset" parameters to the givenmediaTypeor "multipart/form-data" otherwise by default.reactor.core.publisher.Mono<Void>MultipartHttpMessageWriter.write(Publisher<? extends MultiValueMap<String, ?>> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String, Object> hints) reactor.core.publisher.Mono<Void>PartEventHttpMessageWriter.write(Publisher<? extends PartEvent> partDataStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String, Object> hints) reactor.core.publisher.Mono<Void>PartHttpMessageWriter.write(Publisher<? extends Part> parts, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage outputMessage, Map<String, Object> hints) Constructor parameters in org.springframework.http.codec.multipart with annotations of type NullableModifierConstructorDescriptionMultipartHttpMessageWriter(Supplier<List<HttpMessageWriter<?>>> partWritersSupplier, HttpMessageWriter<MultiValueMap<String, String>> formWriter) Constructor with a supplier for an explicit list of writers for serializing parts and a writer for plain form data to fall back when no media type is specified and the actual map consists of String values only.MultipartHttpMessageWriter(List<HttpMessageWriter<?>> partWriters, HttpMessageWriter<MultiValueMap<String, String>> formWriter) Constructor with explicit list of writers for serializing parts and a writer for plain form data to fall back when no media type is specified and the actual map consists of String values only. -
Uses of Nullable in org.springframework.http.codec.protobuf
Method parameters in org.springframework.http.codec.protobuf with annotations of type NullableModifier and TypeMethodDescriptionbooleanProtobufDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanProtobufJsonDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanProtobufEncoder.canEncode(ResolvableType elementType, MimeType mimeType) booleanProtobufJsonEncoder.canEncode(ResolvableType elementType, MimeType mimeType) reactor.core.publisher.Flux<com.google.protobuf.Message>ProtobufDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<com.google.protobuf.Message>ProtobufDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) com.google.protobuf.MessageProtobufDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) com.google.protobuf.MessageProtobufDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<com.google.protobuf.Message>ProtobufJsonDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<com.google.protobuf.Message>ProtobufJsonDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) com.google.protobuf.MessageProtobufJsonDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) com.google.protobuf.MessageProtobufJsonDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<com.google.protobuf.Message>ProtobufDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<com.google.protobuf.Message>ProtobufDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<com.google.protobuf.Message>ProtobufJsonDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<com.google.protobuf.Message>ProtobufJsonDecoder.decodeToMono(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ProtobufEncoder.encode(Publisher<? extends com.google.protobuf.Message> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ProtobufEncoder.encode(Publisher<? extends com.google.protobuf.Message> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ProtobufJsonEncoder.encode(Publisher<? extends com.google.protobuf.Message> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<DataBuffer>ProtobufJsonEncoder.encode(Publisher<? extends com.google.protobuf.Message> inputStream, DataBufferFactory bufferFactory, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) ProtobufEncoder.encodeValue(com.google.protobuf.Message message, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) ProtobufEncoder.encodeValue(com.google.protobuf.Message message, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) ProtobufJsonEncoder.encodeValue(com.google.protobuf.Message message, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) ProtobufJsonEncoder.encodeValue(com.google.protobuf.Message message, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) protected booleanProtobufCodecSupport.supportsMimeType(MimeType mimeType) reactor.core.publisher.Mono<Void>ProtobufHttpMessageWriter.write(Publisher<? extends com.google.protobuf.Message> inputStream, ResolvableType elementType, MediaType mediaType, ReactiveHttpOutputMessage message, Map<String, Object> hints) -
Uses of Nullable in org.springframework.http.codec.xml
Method parameters in org.springframework.http.codec.xml with annotations of type NullableModifier and TypeMethodDescriptionbooleanJaxb2XmlDecoder.canDecode(ResolvableType elementType, MimeType mimeType) booleanJaxb2XmlEncoder.canEncode(ResolvableType elementType, MimeType mimeType) reactor.core.publisher.Flux<Object>Jaxb2XmlDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<Object>Jaxb2XmlDecoder.decode(Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) Jaxb2XmlDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) Jaxb2XmlDecoder.decode(DataBuffer dataBuffer, ResolvableType targetType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<XMLEvent>XmlEventDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Flux<XMLEvent>XmlEventDecoder.decode(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>Jaxb2XmlDecoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) reactor.core.publisher.Mono<Object>Jaxb2XmlDecoder.decodeToMono(Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String, Object> hints) protected reactor.core.publisher.Flux<DataBuffer>Jaxb2XmlEncoder.encode(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) protected reactor.core.publisher.Flux<DataBuffer>Jaxb2XmlEncoder.encode(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) Jaxb2XmlEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) Jaxb2XmlEncoder.encodeValue(Object value, DataBufferFactory bufferFactory, ResolvableType valueType, MimeType mimeType, Map<String, Object> hints) -
Uses of Nullable in org.springframework.http.converter
Methods in org.springframework.http.converter with annotations of type NullableModifier and TypeMethodDescriptionprotected LongAbstractHttpMessageConverter.getContentLength(T t, MediaType contentType) Returns the content length for the given type.protected LongResourceHttpMessageConverter.getContentLength(Resource resource, MediaType contentType) AbstractHttpMessageConverter.getDefaultCharset()Return the default character set, if any.protected MediaTypeAbstractHttpMessageConverter.getDefaultContentType(T t) Returns the default content type for the given type.BufferedImageHttpMessageConverter.getDefaultContentType()Returns the defaultContent-Typeto be used for writing.protected StringFormHttpMessageConverter.getFilename(Object part) Return the filename of the given multipart part.Method parameters in org.springframework.http.converter with annotations of type NullableModifier and TypeMethodDescriptionprotected voidAbstractHttpMessageConverter.addDefaultHeaders(HttpHeaders headers, T t, MediaType contentType) Add default headers to the output message.voidResourceHttpMessageConverter.addDefaultHeaders(HttpOutputMessage message, Resource resource, MediaType contentType) Add the default headers for the given resource to the given message.protected voidStringHttpMessageConverter.addDefaultHeaders(HttpHeaders headers, String s, MediaType type) booleanbooleanbooleanThis implementation checks if the given class is supported, and if the supported media types include the given media type.protected booleanbooleanAbstractKotlinSerializationHttpMessageConverter.canRead(ResolvableType type, MediaType mediaType) booleanAbstractSmartHttpMessageConverter.canRead(ResolvableType type, MediaType mediaType) booleanbooleanbooleanIndicates whether the given type can be read by this converter.booleanIndicates whether the given type can be read by this converter.booleanIndicates whether the given class can be read by this converter.booleanbooleanbooleanbooleandefault booleanbooleanSmartHttpMessageConverter.canRead(ResolvableType type, MediaType mediaType) Indicates whether the given type can be read by this converter.booleanbooleanbooleanprotected booleanReturnstrueif the given media type includes any of the supported media types.booleanAbstractKotlinSerializationHttpMessageConverter.canWrite(ResolvableType type, Class<?> clazz, MediaType mediaType) booleanAbstractSmartHttpMessageConverter.canWrite(ResolvableType type, Class<?> clazz, MediaType mediaType) booleanbooleanbooleanIndicates whether the given class can be written by this converter.booleanIndicates whether the given class can be written by this converter.booleanIndicates whether the given class can be written by this converter.booleanbooleanbooleanbooleanbooleandefault booleanbooleanSmartHttpMessageConverter.canWrite(ResolvableType targetType, Class<?> valueClass, MediaType mediaType) Indicates whether the given class can be written by this converter.protected LongAbstractHttpMessageConverter.getContentLength(T t, MediaType contentType) Returns the content length for the given type.protected LongByteArrayHttpMessageConverter.getContentLength(byte[] bytes, MediaType contentType) protected LongObjectToStringHttpMessageConverter.getContentLength(Object obj, MediaType contentType) protected LongResourceHttpMessageConverter.getContentLength(Resource resource, MediaType contentType) protected LongStringHttpMessageConverter.getContentLength(String str, MediaType contentType) protected MediaTypeFormHttpMessageConverter.getFormContentType(MediaType contentType) Return the content type used to write forms, either the given content type or otherwiseapplication/x-www-form-urlencoded.final ObjectAbstractKotlinSerializationHttpMessageConverter.read(ResolvableType type, HttpInputMessage inputMessage, Map<String, Object> hints) BufferedImageHttpMessageConverter.read(Class<? extends BufferedImage> clazz, HttpInputMessage inputMessage) FormHttpMessageConverter.read(Class<? extends MultiValueMap<String, ?>> clazz, HttpInputMessage inputMessage) GenericHttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) Read an object of the given type from the given input message, and returns it.ResourceRegionHttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) SmartHttpMessageConverter.read(ResolvableType type, HttpInputMessage inputMessage, Map<String, Object> hints) Read an object of the given type from the given input message, and returns it.voidFormHttpMessageConverter.setCharset(Charset charset) Set the default character set to use for reading and writing form data when the request or responseContent-Typeheader does not explicitly specify it.voidAbstractHttpMessageConverter.setDefaultCharset(Charset defaultCharset) Set the default character set, if any.voidBufferedImageHttpMessageConverter.setDefaultContentType(MediaType defaultContentType) Sets the defaultContent-Typeto be used for writing.final voidAbstractGenericHttpMessageConverter.write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage) This implementation sets the default headers by callingAbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType), and then callsAbstractGenericHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage).final voidAbstractGenericHttpMessageConverter.write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage) This implementation sets the default headers by callingAbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType), and then callsAbstractGenericHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage).final voidAbstractHttpMessageConverter.write(T t, MediaType contentType, HttpOutputMessage outputMessage) This implementation sets the default headers by callingAbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType), and then callsAbstractHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage).final voidAbstractSmartHttpMessageConverter.write(T t, ResolvableType type, MediaType contentType, HttpOutputMessage outputMessage, Map<String, Object> hints) This implementation sets the default headers by callingAbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType), and then callsAbstractSmartHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage).final voidAbstractSmartHttpMessageConverter.write(T t, ResolvableType type, MediaType contentType, HttpOutputMessage outputMessage, Map<String, Object> hints) This implementation sets the default headers by callingAbstractHttpMessageConverter.addDefaultHeaders(org.springframework.http.HttpHeaders, T, org.springframework.http.MediaType), and then callsAbstractSmartHttpMessageConverter.writeInternal(T, org.springframework.http.HttpOutputMessage).voidBufferedImageHttpMessageConverter.write(BufferedImage image, MediaType contentType, HttpOutputMessage outputMessage) voidFormHttpMessageConverter.write(MultiValueMap<String, ?> map, MediaType contentType, HttpOutputMessage outputMessage) voidGenericHttpMessageConverter.write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage) Write a given object to the given output message.voidGenericHttpMessageConverter.write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage) Write a given object to the given output message.voidHttpMessageConverter.write(T t, MediaType contentType, HttpOutputMessage outputMessage) Write a given object to the given output message.voidSmartHttpMessageConverter.write(T t, ResolvableType type, MediaType contentType, HttpOutputMessage outputMessage, Map<String, Object> hints) Write a given object to the given output message.voidSmartHttpMessageConverter.write(T t, ResolvableType type, MediaType contentType, HttpOutputMessage outputMessage, Map<String, Object> hints) Write a given object to the given output message.default voidSmartHttpMessageConverter.write(T t, MediaType contentType, HttpOutputMessage outputMessage) protected abstract voidAbstractGenericHttpMessageConverter.writeInternal(T t, Type type, HttpOutputMessage outputMessage) Abstract template method that writes the actual body.protected final voidAbstractKotlinSerializationHttpMessageConverter.writeInternal(Object object, ResolvableType type, HttpOutputMessage outputMessage, Map<String, Object> hints) protected abstract voidAbstractSmartHttpMessageConverter.writeInternal(T t, ResolvableType type, HttpOutputMessage outputMessage, Map<String, Object> hints) Abstract template method that writes the actual body.protected voidResourceRegionHttpMessageConverter.writeInternal(Object object, Type type, HttpOutputMessage outputMessage) Constructor parameters in org.springframework.http.converter with annotations of type NullableModifierConstructorDescriptionHttpMessageConversionException(String msg, Throwable cause) Create a new HttpMessageConversionException.HttpMessageNotReadableException(String msg, Throwable cause) Deprecated.as of 5.1, in favor ofHttpMessageNotReadableException(String, Throwable, HttpInputMessage)HttpMessageNotReadableException(String msg, Throwable cause, HttpInputMessage httpInputMessage) Create a new HttpMessageNotReadableException.HttpMessageNotWritableException(String msg, Throwable cause) Create a new HttpMessageNotWritableException. -
Uses of Nullable in org.springframework.http.converter.json
Methods in org.springframework.http.converter.json with annotations of type NullableModifier and TypeMethodDescriptionprotected LongAbstractJackson2HttpMessageConverter.getContentLength(Object object, MediaType contentType) protected MediaTypeAbstractJackson2HttpMessageConverter.getDefaultContentType(Object object) Class<?>MappingJacksonInputMessage.getDeserializationView()MappingJacksonValue.getFilters()Return the Jackson filter provider to use.com.google.gson.GsonGsonFactoryBean.getObject()Return the created Gson instance.Jackson2ObjectMapperFactoryBean.getObject()Return the singleton ObjectMapper.Class<?>Jackson2ObjectMapperFactoryBean.getObjectType()Class<?>MappingJacksonValue.getSerializationView()Return the serialization view to use.Method parameters in org.springframework.http.converter.json with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanprotected ObjectWriterAbstractJackson2HttpMessageConverter.customizeWriter(ObjectWriter writer, JavaType javaType, MediaType contentType) Subclasses can use this method to customizeObjectWriterused for writing values.protected ObjectWriterAbstractJackson2HttpMessageConverter.customizeWriter(ObjectWriter writer, JavaType javaType, MediaType contentType) Subclasses can use this method to customizeObjectWriterused for writing values.protected CharsetAbstractJackson2HttpMessageConverter.getCharset(MediaType contentType) Determine the charset to use for JSON input.protected LongAbstractJackson2HttpMessageConverter.getContentLength(Object object, MediaType contentType) protected JavaTypeAbstractJackson2HttpMessageConverter.getJavaType(Type type, Class<?> contextClass) Return the JacksonJavaTypefor the specified type and context class.protected JsonEncodingAbstractJackson2HttpMessageConverter.getJsonEncoding(MediaType contentType) Determine the JSON encoding to use for the given content type.protected voidAbstractJackson2HttpMessageConverter.logWarningIfNecessary(Type type, Throwable cause) Determine whether to log the given exception coming from aObjectMapper.canDeserialize(com.fasterxml.jackson.databind.JavaType)/ObjectMapper.canSerialize(java.lang.Class<?>)check.AbstractJackson2HttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) final ObjectAbstractJsonHttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) voidMappingJacksonInputMessage.setDeserializationView(Class<?> deserializationView) voidMappingJacksonValue.setFilters(FilterProvider filters) Set the Jackson filter provider to serialize the POJO with.voidProblemDetailJacksonMixin.setProperty(String name, Object value) voidProblemDetailJacksonXmlMixin.setProperty(String name, Object value) voidMappingJacksonValue.setSerializationView(Class<?> serializationView) Set the serialization view to serialize the POJO with.protected voidAbstractJackson2HttpMessageConverter.writeInternal(Object object, Type type, HttpOutputMessage outputMessage) protected abstract voidAbstractJsonHttpMessageConverter.writeInternal(Object object, Type type, Writer writer) Template method that writes the JSON-bound object to the givenWriter.protected final voidAbstractJsonHttpMessageConverter.writeInternal(Object object, Type type, HttpOutputMessage outputMessage) protected voidGsonHttpMessageConverter.writeInternal(Object object, Type type, Writer writer) protected voidJsonbHttpMessageConverter.writeInternal(Object object, Type type, Writer writer) -
Uses of Nullable in org.springframework.http.converter.protobuf
Method parameters in org.springframework.http.converter.protobuf with annotations of type NullableModifier and TypeMethodDescriptionprotected booleanConstructor parameters in org.springframework.http.converter.protobuf with annotations of type NullableModifierConstructorDescriptionProtobufJsonFormatHttpMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, and a default instance ofExtensionRegistry.ProtobufJsonFormatHttpMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, and a default instance ofExtensionRegistry.ProtobufJsonFormatHttpMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer, com.google.protobuf.ExtensionRegistry extensionRegistry) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, andExtensionRegistry.ProtobufJsonFormatHttpMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer, com.google.protobuf.ExtensionRegistry extensionRegistry) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, andExtensionRegistry.ProtobufJsonFormatHttpMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer, com.google.protobuf.ExtensionRegistry extensionRegistry) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, andExtensionRegistry. -
Uses of Nullable in org.springframework.http.converter.xml
Methods in org.springframework.http.converter.xml with annotations of type NullableModifier and TypeMethodDescriptionprotected CharsetAbstractJaxb2HttpMessageConverter.detectCharset(HttpHeaders httpHeaders) Detect the charset from the givenHttpHeaders.getContentType().protected LongSourceHttpMessageConverter.getContentLength(T t, MediaType contentType) Method parameters in org.springframework.http.converter.xml with annotations of type NullableModifier and TypeMethodDescriptionbooleanAlways returnsfalsesince Jaxb2CollectionHttpMessageConverter required generic type information in order to read a Collection.booleanIndicates whether the given type can be read by this converter.booleanIndicates whether the given type can be read by this converter.booleanbooleanbooleanAlways returnsfalsesince Jaxb2CollectionHttpMessageConverter does not convert collections to XML.booleanAlways returnsfalsesince Jaxb2CollectionHttpMessageConverter does not convert collections to XML.booleanAlways returnsfalsesince Jaxb2CollectionHttpMessageConverter does not convert collections to XML.booleanAlways returnsfalsesince Jaxb2CollectionHttpMessageConverter does not convert collections to XML.booleanbooleanprotected LongSourceHttpMessageConverter.getContentLength(T t, MediaType contentType) protected SourceJaxb2RootElementHttpMessageConverter.processSource(Source source, Charset charset) Processsourcewithcharset.Jaxb2CollectionHttpMessageConverter.read(Type type, Class<?> contextClass, HttpInputMessage inputMessage) voidJaxb2CollectionHttpMessageConverter.write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage) voidJaxb2CollectionHttpMessageConverter.write(T t, Type type, MediaType contentType, HttpOutputMessage outputMessage) -
Uses of Nullable in org.springframework.http.server
Methods in org.springframework.http.server with annotations of type NullableModifier and TypeMethodDescriptionServerHttpRequest.getPrincipal()Return aPrincipalinstance containing the name of the authenticated user.Method parameters in org.springframework.http.server with annotations of type NullableModifier and TypeMethodDescriptionstatic RequestPathVariant ofRequestPath.parse(URI, String)with the encodedraw path.static RequestPathParse the URI for a request into aRequestPath. -
Uses of Nullable in org.springframework.http.server.observation
Methods in org.springframework.http.server.observation with annotations of type NullableModifier and TypeMethodDescriptionDefaultServerRequestObservationConvention.getContextualName(ServerRequestObservationContext context) ServerRequestObservationContext.getPathPattern()Method parameters in org.springframework.http.server.observation with annotations of type NullableModifier and TypeMethodDescriptionvoidServerRequestObservationContext.setPathPattern(String pathPattern) -
Uses of Nullable in org.springframework.http.server.reactive
Methods in org.springframework.http.server.reactive with annotations of type NullableModifier and TypeMethodDescriptiondefault InetSocketAddressServerHttpRequest.getLocalAddress()Return the local address the request was accepted on, if available.ServerHttpRequestDecorator.getLocalAddress()SslInfo.getPeerCertificates()Return SSL certificates associated with the request, if any.default IntegerServerHttpResponse.getRawStatusCode()Deprecated, for removal: This API element is subject to removal in a future version.in favor ofServerHttpResponse.getStatusCode(), for removal in 7.0ServerHttpResponseDecorator.getRawStatusCode()Deprecated.default InetSocketAddressServerHttpRequest.getRemoteAddress()Return the remote address where this request is connected to, if available.ServerHttpRequestDecorator.getRemoteAddress()ServletHttpHandlerAdapter.getServletConfig()ServletHttpHandlerAdapter.getServletPath()Return the Servlet path under which the Servlet is deployed by checking the Servlet registration fromServletHttpHandlerAdapter.init(ServletConfig).SslInfo.getSessionId()Return the SSL session id, if any.AbstractServerHttpRequest.getSslInfo()default SslInfoServerHttpRequest.getSslInfo()Return the SSL session information if the request has been transmitted over a secure protocol including SSL certificates, if available.ServerHttpRequestDecorator.getSslInfo()AbstractServerHttpResponse.getStatusCode()ServerHttpResponse.getStatusCode()Return the status code that has been set, or otherwise fall back on the status of the response from the underlying server.ServerHttpResponseDecorator.getStatusCode()protected StringAbstractServerHttpRequest.initId()Obtain the request id to use, ornullin which case the Object identity of this request instance is used.protected abstract SslInfoAbstractServerHttpRequest.initSslInfo()Obtain SSL session information from the underlying "native" request.protected abstract TAbstractListenerReadPublisher.read()Read once from the input, if possible.ChannelSendOperator.scanUnsafe(reactor.core.Scannable.Attr key) Method parameters in org.springframework.http.server.reactive with annotations of type NullableModifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<Void>AbstractServerHttpResponse.doCommit(Supplier<? extends reactor.core.publisher.Mono<Void>> writeAction) ApplybeforeCommitactions, apply the response status and headers/cookies, and write the response body.booleanAbstractServerHttpResponse.setRawStatusCode(Integer statusCode) default booleanServerHttpResponse.setRawStatusCode(Integer value) Set the HTTP status code to the given value as an integer.booleanServerHttpResponseDecorator.setRawStatusCode(Integer value) booleanAbstractServerHttpResponse.setStatusCode(HttpStatusCode status) booleanServerHttpResponse.setStatusCode(HttpStatusCode status) Set the HTTP status code of the response.booleanServerHttpResponseDecorator.setStatusCode(HttpStatusCode status) Constructor parameters in org.springframework.http.server.reactive with annotations of type NullableModifierConstructorDescriptionAbstractServerHttpRequest(HttpMethod method, URI uri, String contextPath, MultiValueMap<String, String> headers) Constructor with the method, URI and headers for the request. -
Uses of Nullable in org.springframework.http.server.reactive.observation
Methods in org.springframework.http.server.reactive.observation with annotations of type NullableModifier and TypeMethodDescriptionDefaultServerRequestObservationConvention.getContextualName(ServerRequestObservationContext context) ServerRequestObservationContext.getPathPattern()Return the path pattern for the handler that matches the current request.Method parameters in org.springframework.http.server.reactive.observation with annotations of type NullableModifier and TypeMethodDescriptionvoidServerRequestObservationContext.setPathPattern(String pathPattern) Set the path pattern for the handler that matches the current request. -
Uses of Nullable in org.springframework.http.support
Methods in org.springframework.http.support with annotations of type NullableModifier and TypeMethodDescriptionMethod parameters in org.springframework.http.support with annotations of type NullableModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoid -
Uses of Nullable in org.springframework.instrument.classloading
Methods in org.springframework.instrument.classloading with annotations of type NullableModifier and TypeMethodDescriptionResourceOverridingShadowingClassLoader.getResourceAsStream(String requestedPath) ShadowingClassLoader.getResourceAsStream(String name) Method parameters in org.springframework.instrument.classloading with annotations of type NullableModifier and TypeMethodDescriptionbyte[]WeavingTransformer.transformIfNecessary(String className, String internalName, byte[] bytes, ProtectionDomain pd) Apply transformation on a given class byte definition.Constructor parameters in org.springframework.instrument.classloading with annotations of type NullableModifierConstructorDescriptionInstrumentationLoadTimeWeaver(ClassLoader classLoader) Create a new InstrumentationLoadTimeWeaver for the given ClassLoader.ReflectiveLoadTimeWeaver(ClassLoader classLoader) Create a new SimpleLoadTimeWeaver for the given class loader.Create a new SimpleInstrumentableClassLoader for the given ClassLoader.Create a new SimpleThrowawayClassLoader for the given ClassLoader.WeavingTransformer(ClassLoader classLoader) Create a new WeavingTransformer for the given class loader. -
Uses of Nullable in org.springframework.instrument.classloading.glassfish
Constructor parameters in org.springframework.instrument.classloading.glassfish with annotations of type NullableModifierConstructorDescriptionGlassFishLoadTimeWeaver(ClassLoader classLoader) Create a new instance of theGlassFishLoadTimeWeaverclass using the suppliedClassLoader. -
Uses of Nullable in org.springframework.instrument.classloading.jboss
Constructor parameters in org.springframework.instrument.classloading.jboss with annotations of type NullableModifierConstructorDescriptionJBossLoadTimeWeaver(ClassLoader classLoader) Create a new instance of theJBossLoadTimeWeaverclass using the suppliedClassLoader. -
Uses of Nullable in org.springframework.instrument.classloading.tomcat
Constructor parameters in org.springframework.instrument.classloading.tomcat with annotations of type NullableModifierConstructorDescriptionTomcatLoadTimeWeaver(ClassLoader classLoader) Create a new instance of theTomcatLoadTimeWeaverclass using the suppliedClassLoader. -
Uses of Nullable in org.springframework.jca.endpoint
Methods in org.springframework.jca.endpoint with annotations of type NullableModifier and TypeMethodDescriptionAbstractMessageEndpointFactory.getActivationName()Implementation of the JCA 1.7#getActivationName()method, returning the bean name as set on this MessageEndpointFactory.GenericMessageEndpointManager.getActivationSpec()Return the JCA ActivationSpec to use for activating the endpoint.Class<?>AbstractMessageEndpointFactory.getEndpointClass()Implementation of the JCA 1.7#getEndpointClass()method, returning null in order to indicate a synthetic endpoint type.GenericMessageEndpointManager.getMessageEndpointFactory()Return the JCA MessageEndpointFactory to activate.GenericMessageEndpointManager.getResourceAdapter()Return the JCA ResourceAdapter to manage endpoints for.Method parameters in org.springframework.jca.endpoint with annotations of type NullableModifier and TypeMethodDescriptionvoidAbstractMessageEndpointFactory.AbstractMessageEndpoint.beforeDelivery(Method method) ThisbeforeDeliveryimplementation starts a transaction, if necessary, and exposes the endpoint ClassLoader as current thread context ClassLoader.voidGenericMessageEndpointManager.setActivationSpec(ActivationSpec activationSpec) Set the JCA ActivationSpec to use for activating the endpoint.voidGenericMessageEndpointManager.setMessageEndpointFactory(MessageEndpointFactory messageEndpointFactory) Set the JCA MessageEndpointFactory to activate, pointing to a MessageListener object that the endpoints will delegate to.voidGenericMessageEndpointManager.setResourceAdapter(ResourceAdapter resourceAdapter) Set the JCA ResourceAdapter to manage endpoints for. -
Uses of Nullable in org.springframework.jca.support
Methods in org.springframework.jca.support with annotations of type NullableModifier and TypeMethodDescriptionLocalConnectionFactoryBean.getObject()ResourceAdapterFactoryBean.getObject()Class<?>LocalConnectionFactoryBean.getObjectType()SimpleBootstrapContext.getTransactionSynchronizationRegistry()SimpleBootstrapContext.getXATerminator()Constructor parameters in org.springframework.jca.support with annotations of type NullableModifierConstructorDescriptionSimpleBootstrapContext(WorkManager workManager) Create a new SimpleBootstrapContext for the given WorkManager, with no XATerminator available.SimpleBootstrapContext(WorkManager workManager, XATerminator xaTerminator) Create a new SimpleBootstrapContext for the given WorkManager and XATerminator.SimpleBootstrapContext(WorkManager workManager, XATerminator xaTerminator) Create a new SimpleBootstrapContext for the given WorkManager and XATerminator.SimpleBootstrapContext(WorkManager workManager, XATerminator xaTerminator, TransactionSynchronizationRegistry transactionSynchronizationRegistry) Create a new SimpleBootstrapContext for the given WorkManager, XATerminator and TransactionSynchronizationRegistry.SimpleBootstrapContext(WorkManager workManager, XATerminator xaTerminator, TransactionSynchronizationRegistry transactionSynchronizationRegistry) Create a new SimpleBootstrapContext for the given WorkManager, XATerminator and TransactionSynchronizationRegistry.SimpleBootstrapContext(WorkManager workManager, XATerminator xaTerminator, TransactionSynchronizationRegistry transactionSynchronizationRegistry) Create a new SimpleBootstrapContext for the given WorkManager, XATerminator and TransactionSynchronizationRegistry. -
Uses of Nullable in org.springframework.jdbc
Methods in org.springframework.jdbc with annotations of type NullableModifier and TypeMethodDescriptionInvalidResultSetAccessException.getSql()Return the SQL that caused the problem.UncategorizedSQLException.getSql()Return the SQL that led to the problem (if known).BadSqlGrammarException.getSQLException()Return the wrapped SQLException.InvalidResultSetAccessException.getSQLException()Return the wrapped SQLException.UncategorizedSQLException.getSQLException()Return the underlying SQLException.SQLWarningException.getSQLWarning()Return the underlyingSQLWarning.SQLWarningException.SQLWarning()Deprecated.as of 5.3.29, in favor ofSQLWarningException.getSQLWarning()Constructor parameters in org.springframework.jdbc with annotations of type NullableModifierConstructorDescriptionConstructor forCannotGetJdbcConnectionException.UncategorizedSQLException(String task, String sql, SQLException ex) Constructor for UncategorizedSQLException. -
Uses of Nullable in org.springframework.jdbc.core
Methods in org.springframework.jdbc.core with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectSingleColumnRowMapper.convertValueToRequiredType(Object value, Class<?> requiredType) Convert the given column value to the specified required type.CallableStatementCallback.doInCallableStatement(CallableStatement cs) Gets called byJdbcTemplate.executewith an active JDBC CallableStatement.ConnectionCallback.doInConnection(Connection con) Gets called byJdbcTemplate.executewith an active JDBC Connection.PreparedStatementCallback.doInPreparedStatement(PreparedStatement ps) Gets called byJdbcTemplate.executewith an active JDBC PreparedStatement.StatementCallback.doInStatement(Statement stmt) Gets called byJdbcTemplate.executewith an active JDBC Statement.<T> TJdbcOperations.execute(String callString, CallableStatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC CallableStatement.<T> TJdbcOperations.execute(String sql, PreparedStatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> TJdbcOperations.execute(CallableStatementCreator csc, CallableStatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC CallableStatement.<T> TJdbcOperations.execute(ConnectionCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC Connection.<T> TJdbcOperations.execute(PreparedStatementCreator psc, PreparedStatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> TJdbcOperations.execute(StatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC Statement.<T> TJdbcTemplate.execute(String callString, CallableStatementCallback<T> action) <T> TJdbcTemplate.execute(String sql, PreparedStatementCallback<T> action) <T> TJdbcTemplate.execute(CallableStatementCreator csc, CallableStatementCallback<T> action) <T> TJdbcTemplate.execute(ConnectionCallback<T> action) <T> TJdbcTemplate.execute(PreparedStatementCreator psc, PreparedStatementCallback<T> action) <T> TJdbcTemplate.execute(StatementCallback<T> action) ResultSetExtractor.extractData(ResultSet rs) Implementations must implement this method to process the entire ResultSet.final String[]RowCountCallbackHandler.getColumnNames()Return the names of the columns.final int[]RowCountCallbackHandler.getColumnTypes()Return the types of the columns as java.sql.Types constants Valid after processRow is invoked the first time.protected ObjectBeanPropertyRowMapper.getColumnValue(ResultSet rs, int index, PropertyDescriptor pd) Retrieve a JDBC object value for the specified column.protected ObjectBeanPropertyRowMapper.getColumnValue(ResultSet rs, int index, Class<?> paramType) Retrieve a JDBC object value for the specified column.protected ObjectColumnMapRowMapper.getColumnValue(ResultSet rs, int index) Retrieve a JDBC object value for the specified column.protected ObjectSingleColumnRowMapper.getColumnValue(ResultSet rs, int index) Retrieve a JDBC object value for the specified column, using the most appropriate value type.protected ObjectSingleColumnRowMapper.getColumnValue(ResultSet rs, int index, Class<?> requiredType) Retrieve a JDBC object value for the specified column.BeanPropertyRowMapper.getConversionService()Return aConversionServicefor binding JDBC values to bean properties, ornullif none.BeanPropertyRowMapper.getMappedClass()Get the class that we are mapping to.SqlParameter.getName()Return the name of the parameter, ornullif anonymous.ResultSetSupportingSqlParameter.getResultSetExtractor()Return the ResultSetExtractor held by this parameter, if any.ResultSetSupportingSqlParameter.getRowCallbackHandler()Return the RowCallbackHandler held by this parameter, if any.RowMapper<?>ResultSetSupportingSqlParameter.getRowMapper()Return the RowMapper held by this parameter, if any.SqlParameter.getScale()Return the scale of the parameter, if any.SqlProvider.getSql()Return the SQL string for this object, i.e.SqlOutParameter.getSqlReturnType()Return the custom return type, if any.SqlParameter.getTypeName()Return the type name of the parameter, if any.SqlParameterValue.getValue()Return the value object that this parameter value holds.Implementations must implement this method to map each row of data in theResultSet.Extract a value for the single column in the current row.<T> TJdbcOperations.query(String sql, Object[] args, int[] argTypes, ResultSetExtractor<T> rse) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet with a ResultSetExtractor.<T> TJdbcOperations.query(String sql, Object[] args, ResultSetExtractor<T> rse) Deprecated.as of 5.3, in favor ofJdbcOperations.query(String, ResultSetExtractor, Object...)<T> TJdbcOperations.query(String sql, PreparedStatementSetter pss, ResultSetExtractor<T> rse) Query using a prepared statement, reading the ResultSet with a ResultSetExtractor.<T> TJdbcOperations.query(String sql, ResultSetExtractor<T> rse) Execute a query given static SQL, reading the ResultSet with a ResultSetExtractor.<T> TJdbcOperations.query(String sql, ResultSetExtractor<T> rse, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet with a ResultSetExtractor.<T> TJdbcOperations.query(PreparedStatementCreator psc, ResultSetExtractor<T> rse) Query using a prepared statement, reading the ResultSet with a ResultSetExtractor.<T> TJdbcTemplate.query(String sql, Object[] args, int[] argTypes, ResultSetExtractor<T> rse) <T> TJdbcTemplate.query(String sql, Object[] args, ResultSetExtractor<T> rse) Deprecated.<T> TJdbcTemplate.query(String sql, PreparedStatementSetter pss, ResultSetExtractor<T> rse) <T> TJdbcTemplate.query(String sql, ResultSetExtractor<T> rse) <T> TJdbcTemplate.query(String sql, ResultSetExtractor<T> rse, Object... args) <T> TJdbcTemplate.query(PreparedStatementCreator psc, PreparedStatementSetter pss, ResultSetExtractor<T> rse) Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter.<T> TJdbcTemplate.query(PreparedStatementCreator psc, ResultSetExtractor<T> rse) <T> TJdbcOperations.queryForObject(String sql, Class<T> requiredType) Execute a query for a result object, given static SQL.<T> TJdbcOperations.queryForObject(String sql, Class<T> requiredType, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result object.<T> TJdbcOperations.queryForObject(String sql, Object[] args, int[] argTypes, Class<T> requiredType) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result object.<T> TJdbcOperations.queryForObject(String sql, Object[] args, int[] argTypes, RowMapper<T> rowMapper) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a result object via a RowMapper.<T> TJdbcOperations.queryForObject(String sql, Object[] args, Class<T> requiredType) Deprecated.as of 5.3, in favor ofJdbcOperations.queryForObject(String, Class, Object...)<T> TJdbcOperations.queryForObject(String sql, Object[] args, RowMapper<T> rowMapper) Deprecated.as of 5.3, in favor ofJdbcOperations.queryForObject(String, RowMapper, Object...)<T> TJdbcOperations.queryForObject(String sql, RowMapper<T> rowMapper) Execute a query given static SQL, mapping a single result row to a result object via a RowMapper.<T> TJdbcOperations.queryForObject(String sql, RowMapper<T> rowMapper, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a result object via a RowMapper.<T> TJdbcTemplate.queryForObject(String sql, Class<T> requiredType) <T> TJdbcTemplate.queryForObject(String sql, Class<T> requiredType, Object... args) <T> TJdbcTemplate.queryForObject(String sql, Object[] args, int[] argTypes, Class<T> requiredType) <T> TJdbcTemplate.queryForObject(String sql, Object[] args, int[] argTypes, RowMapper<T> rowMapper) <T> TJdbcTemplate.queryForObject(String sql, Object[] args, Class<T> requiredType) Deprecated.<T> TJdbcTemplate.queryForObject(String sql, Object[] args, RowMapper<T> rowMapper) Deprecated.<T> TJdbcTemplate.queryForObject(String sql, RowMapper<T> rowMapper) <T> TJdbcTemplate.queryForObject(String sql, RowMapper<T> rowMapper, Object... args) Method parameters in org.springframework.jdbc.core with annotations of type NullableModifier and TypeMethodDescriptionstatic voidStatementCreatorUtils.cleanupParameters(Object... paramValues) Clean up all resources held by parameter values which were passed to an execute method.static voidStatementCreatorUtils.cleanupParameters(Collection<?> paramValues) Clean up all resources held by parameter values which were passed to an execute method.protected voidArgumentPreparedStatementSetter.doSetValue(PreparedStatement ps, int parameterPosition, Object argValue) Set the value for the prepared statement's specified parameter position using the supplied value.protected voidArgumentTypePreparedStatementSetter.doSetValue(PreparedStatement ps, int parameterPosition, int argType, Object argValue) Set the value for the prepared statement's specified parameter position using the supplied value and type.JdbcTemplate.extractReturnedResults(CallableStatement cs, List<SqlParameter> updateCountParameters, List<SqlParameter> resultSetParameters, int updateCount) Extract returned ResultSets from the completed stored procedure.JdbcTemplate.extractReturnedResults(CallableStatement cs, List<SqlParameter> updateCountParameters, List<SqlParameter> resultSetParameters, int updateCount) Extract returned ResultSets from the completed stored procedure.protected ObjectSingleColumnRowMapper.getColumnValue(ResultSet rs, int index, Class<?> requiredType) Retrieve a JDBC object value for the specified column.SqlReturnType.getTypeValue(CallableStatement cs, int paramIndex, int sqlType, String typeName) Get the type value from the specific object.protected voidJdbcTemplate.handleWarnings(SQLWarning warning) Throw aSQLWarningExceptionif encountering an actual warning.static intStatementCreatorUtils.javaTypeToSqlParameterType(Class<?> javaType) Derive a default SQL type from the given Java type.protected PreparedStatementSetterJdbcTemplate.newArgPreparedStatementSetter(Object[] args) Create a new arg-based PreparedStatementSetter using the args passed in.CallableStatementCreatorFactory.newCallableStatementCreator(Map<String, ?> params) Return a new CallableStatementCreator instance given these parameters.static <T> BeanPropertyRowMapper<T>BeanPropertyRowMapper.newInstance(Class<T> mappedClass, ConversionService conversionService) Static factory method to create a newBeanPropertyRowMapper.static <T> DataClassRowMapper<T>DataClassRowMapper.newInstance(Class<T> mappedClass, ConversionService conversionService) Static factory method to create a newDataClassRowMapper.static <T> SingleColumnRowMapper<T>SingleColumnRowMapper.newInstance(Class<T> requiredType, ConversionService conversionService) Static factory method to create a newSingleColumnRowMapper.PreparedStatementCreatorFactory.newPreparedStatementCreator(Object[] params) Return a new PreparedStatementCreator for the given parameters.PreparedStatementCreatorFactory.newPreparedStatementCreator(String sqlToUse, Object[] params) Return a new PreparedStatementCreator for the given parameters.PreparedStatementCreatorFactory.newPreparedStatementCreator(List<?> params) Return a new PreparedStatementCreator for the given parameters.PreparedStatementCreatorFactory.newPreparedStatementSetter(Object[] params) Return a new PreparedStatementSetter for the given parameters.PreparedStatementCreatorFactory.newPreparedStatementSetter(List<?> params) Return a new PreparedStatementSetter for the given parameters.JdbcTemplate.processResultSet(ResultSet rs, ResultSetSupportingSqlParameter param) Process the given ResultSet from a stored procedure.<T> TJdbcOperations.query(String sql, Object[] args, ResultSetExtractor<T> rse) Deprecated.as of 5.3, in favor ofJdbcOperations.query(String, ResultSetExtractor, Object...)voidJdbcOperations.query(String sql, Object[] args, RowCallbackHandler rch) Deprecated.as of 5.3, in favor ofJdbcOperations.query(String, RowCallbackHandler, Object...)<T> List<T>Deprecated.as of 5.3, in favor ofJdbcOperations.query(String, RowMapper, Object...)<T> TJdbcOperations.query(String sql, PreparedStatementSetter pss, ResultSetExtractor<T> rse) Query using a prepared statement, reading the ResultSet with a ResultSetExtractor.voidJdbcOperations.query(String sql, PreparedStatementSetter pss, RowCallbackHandler rch) Query given SQL to create a prepared statement from SQL and a PreparedStatementSetter implementation that knows how to bind values to the query, reading the ResultSet on a per-row basis with a RowCallbackHandler.<T> List<T>JdbcOperations.query(String sql, PreparedStatementSetter pss, RowMapper<T> rowMapper) Query given SQL to create a prepared statement from SQL and a PreparedStatementSetter implementation that knows how to bind values to the query, mapping each row to a result object via a RowMapper.<T> TJdbcOperations.query(String sql, ResultSetExtractor<T> rse, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet with a ResultSetExtractor.voidJdbcOperations.query(String sql, RowCallbackHandler rch, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet on a per-row basis with a RowCallbackHandler.<T> List<T>Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a result object via a RowMapper.<T> TJdbcTemplate.query(String sql, Object[] args, ResultSetExtractor<T> rse) Deprecated.voidJdbcTemplate.query(String sql, Object[] args, RowCallbackHandler rch) Deprecated.<T> List<T>Deprecated.<T> TJdbcTemplate.query(String sql, PreparedStatementSetter pss, ResultSetExtractor<T> rse) voidJdbcTemplate.query(String sql, PreparedStatementSetter pss, RowCallbackHandler rch) <T> List<T>JdbcTemplate.query(String sql, PreparedStatementSetter pss, RowMapper<T> rowMapper) <T> TJdbcTemplate.query(String sql, ResultSetExtractor<T> rse, Object... args) voidJdbcTemplate.query(String sql, RowCallbackHandler rch, Object... args) <T> List<T><T> TJdbcTemplate.query(PreparedStatementCreator psc, PreparedStatementSetter pss, ResultSetExtractor<T> rse) Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter.<T> List<T>JdbcOperations.queryForList(String sql, Class<T> elementType, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.JdbcOperations.queryForList(String sql, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list.<T> List<T>JdbcOperations.queryForList(String sql, Object[] args, Class<T> elementType) Deprecated.as of 5.3, in favor ofJdbcOperations.queryForList(String, Class, Object...)<T> List<T>JdbcTemplate.queryForList(String sql, Class<T> elementType, Object... args) JdbcTemplate.queryForList(String sql, Object... args) <T> List<T>JdbcTemplate.queryForList(String sql, Object[] args, Class<T> elementType) Deprecated.JdbcOperations.queryForMap(String sql, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result map.JdbcTemplate.queryForMap(String sql, Object... args) <T> TJdbcOperations.queryForObject(String sql, Class<T> requiredType, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result object.<T> TJdbcOperations.queryForObject(String sql, Object[] args, Class<T> requiredType) Deprecated.as of 5.3, in favor ofJdbcOperations.queryForObject(String, Class, Object...)<T> TJdbcOperations.queryForObject(String sql, Object[] args, RowMapper<T> rowMapper) Deprecated.as of 5.3, in favor ofJdbcOperations.queryForObject(String, RowMapper, Object...)<T> TJdbcOperations.queryForObject(String sql, RowMapper<T> rowMapper, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a result object via a RowMapper.<T> TJdbcTemplate.queryForObject(String sql, Class<T> requiredType, Object... args) <T> TJdbcTemplate.queryForObject(String sql, Object[] args, Class<T> requiredType) Deprecated.<T> TJdbcTemplate.queryForObject(String sql, Object[] args, RowMapper<T> rowMapper) Deprecated.<T> TJdbcTemplate.queryForObject(String sql, RowMapper<T> rowMapper, Object... args) JdbcOperations.queryForRowSet(String sql, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting an SqlRowSet.JdbcTemplate.queryForRowSet(String sql, Object... args) <T> Stream<T>JdbcOperations.queryForStream(String sql, PreparedStatementSetter pss, RowMapper<T> rowMapper) Query given SQL to create a prepared statement from SQL and a PreparedStatementSetter implementation that knows how to bind values to the query, mapping each row to a result object via a RowMapper, and turning it into an iterable and closeable Stream.<T> Stream<T>JdbcOperations.queryForStream(String sql, RowMapper<T> rowMapper, Object... args) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a result object via a RowMapper, and turning it into an iterable and closeable Stream.<T> Stream<T>JdbcTemplate.queryForStream(String sql, PreparedStatementSetter pss, RowMapper<T> rowMapper) <T> Stream<T>JdbcTemplate.queryForStream(String sql, RowMapper<T> rowMapper, Object... args) <T> Stream<T>JdbcTemplate.queryForStream(PreparedStatementCreator psc, PreparedStatementSetter pss, RowMapper<T> rowMapper) Query using a prepared statement, allowing for a PreparedStatementCreator and a PreparedStatementSetter.voidBeanPropertyRowMapper.setConversionService(ConversionService conversionService) Set aConversionServicefor binding JDBC values to bean properties, ornullfor none.voidSingleColumnRowMapper.setConversionService(ConversionService conversionService) Set aConversionServicefor converting a fetched value.static voidStatementCreatorUtils.setParameterValue(PreparedStatement ps, int paramIndex, int sqlType, Object inValue) Set the value for a parameter.static voidStatementCreatorUtils.setParameterValue(PreparedStatement ps, int paramIndex, int sqlType, String typeName, Object inValue) Set the value for a parameter.static voidStatementCreatorUtils.setParameterValue(PreparedStatement ps, int paramIndex, SqlParameter param, Object inValue) Set the value for a parameter.voidSqlTypeValue.setTypeValue(PreparedStatement ps, int paramIndex, int sqlType, String typeName) Set the type value on the given PreparedStatement.static List<SqlParameter>SqlParameter.sqlTypesToAnonymousParameterList(int... types) Convert a list of JDBC types, as defined injava.sql.Types, to a List of SqlParameter objects as used in this package.protected DataAccessExceptionJdbcTemplate.translateException(String task, String sql, SQLException ex) Translate the givenSQLExceptioninto a genericDataAccessException.intIssue a single SQL update operation (such as an insert, update or delete statement) via a prepared statement, binding the given arguments.intJdbcOperations.update(String sql, PreparedStatementSetter pss) Issue an update statement using a PreparedStatementSetter to set bind parameters, with given SQL.intintJdbcTemplate.update(String sql, PreparedStatementSetter pss) protected intJdbcTemplate.update(PreparedStatementCreator psc, PreparedStatementSetter pss) Constructor parameters in org.springframework.jdbc.core with annotations of type NullableModifierConstructorDescriptionCreate a newArgumentPreparedStatementSetterfor the given arguments.ArgumentTypePreparedStatementSetter(Object[] args, int[] argTypes) Create a newArgumentTypePreparedStatementSetterfor the given arguments and types.ArgumentTypePreparedStatementSetter(Object[] args, int[] argTypes) Create a newArgumentTypePreparedStatementSetterfor the given arguments and types.ResultSetSupportingSqlParameter(String name, int sqlType, String typeName) Create a new ResultSetSupportingSqlParameter.SqlOutParameter(String name, int sqlType, String typeName) Create a new SqlOutParameter.SqlOutParameter(String name, int sqlType, String typeName, SqlReturnType sqlReturnType) Create a new SqlOutParameter.SqlOutParameter(String name, int sqlType, String typeName, SqlReturnType sqlReturnType) Create a new SqlOutParameter.SqlParameter(int sqlType, String typeName) Create a new anonymous SqlParameter, supplying the SQL type.SqlParameter(String name, int sqlType, String typeName) Create a new SqlParameter, supplying name and SQL type.SqlParameterValue(int sqlType, int scale, Object value) Create a new SqlParameterValue, supplying the SQL type.SqlParameterValue(int sqlType, Object value) Create a new SqlParameterValue, supplying the SQL type.SqlParameterValue(int sqlType, String typeName, Object value) Create a new SqlParameterValue, supplying the SQL type.SqlParameterValue(int sqlType, String typeName, Object value) Create a new SqlParameterValue, supplying the SQL type.SqlParameterValue(SqlParameter declaredParam, Object value) Create a new SqlParameterValue based on the given SqlParameter declaration. -
Uses of Nullable in org.springframework.jdbc.core.metadata
Methods in org.springframework.jdbc.core.metadata with annotations of type NullableModifier and TypeMethodDescriptionCallMetaDataProvider.catalogNameToUse(String catalogName) Provide any modification of the catalog name passed in to match the meta-data currently used.GenericCallMetaDataProvider.catalogNameToUse(String catalogName) GenericTableMetaDataProvider.catalogNameToUse(String catalogName) TableMetaDataProvider.catalogNameToUse(String catalogName) Get the catalog name formatted based on meta-data information.GenericTableMetaDataProvider.columnNameToUse(String columnName) TableMetaDataProvider.columnNameToUse(String columnName) Get the column name formatted based on meta-data information.CallMetaDataContext.getCatalogName()Get the name of the catalog.TableMetaDataContext.getCatalogName()Get the name of the catalog for this context.protected StringGenericTableMetaDataProvider.getDatabaseVersion()Provide access to the version info for subclasses.protected StringGenericTableMetaDataProvider.getDefaultSchema()Provide access to the default schema for subclasses.protected StringOracleTableMetaDataProvider.getDefaultSchema()CallParameterMetaData.getParameterName()Return the parameter name.CallMetaDataContext.getProcedureName()Get the name of the procedure.CallMetaDataContext.getScalarOutParameterName()Get the name of the single out parameter for this call.CallMetaDataContext.getSchemaName()Get the name of the schema.TableMetaDataContext.getSchemaName()Get the name of the schema for this context.GenericTableMetaDataProvider.getSimpleQueryForGetGeneratedKey(String tableName, String keyColumnName) TableMetaDataContext.getSimpleQueryForGetGeneratedKey(String tableName, String keyColumnName) Get the simple query to retrieve generated keys when the JDBC feature for retrieving generated keys is not supported.TableMetaDataProvider.getSimpleQueryForGetGeneratedKey(String tableName, String keyColumnName) Get the simple query to retrieve generated keys when the JDBC feature for retrieving generated keys is not supported.TableMetaDataContext.getTableName()Get the name of the table for this context.CallParameterMetaData.getTypeName()Return the parameter type name.CallMetaDataProvider.getUserName()Get the name of the current user.CallMetaDataProvider.metaDataCatalogNameToUse(String catalogName) Provide any modification of the catalog name passed in to match the meta-data currently used.GenericCallMetaDataProvider.metaDataCatalogNameToUse(String catalogName) GenericTableMetaDataProvider.metaDataCatalogNameToUse(String catalogName) This implementation delegates toGenericTableMetaDataProvider.catalogNameToUse(java.lang.String).OracleCallMetaDataProvider.metaDataCatalogNameToUse(String catalogName) PostgresTableMetaDataProvider.metaDataCatalogNameToUse(String catalogName) TableMetaDataProvider.metaDataCatalogNameToUse(String catalogName) Provide any modification of the catalog name passed in to match the meta-data currently used.CallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) Provide any modification of the schema name passed in to match the meta-data currently used.Db2CallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) DerbyCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) GenericCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) GenericTableMetaDataProvider.metaDataSchemaNameToUse(String schemaName) This implementation delegates toGenericTableMetaDataProvider.schemaNameToUse(java.lang.String).OracleCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) PostgresCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) PostgresTableMetaDataProvider.metaDataSchemaNameToUse(String schemaName) TableMetaDataProvider.metaDataSchemaNameToUse(String schemaName) Provide any modification of the schema name passed in to match the meta-data currently used.CallMetaDataProvider.parameterNameToUse(String parameterName) Provide any modification of the column name passed in to match the meta-data currently used.GenericCallMetaDataProvider.parameterNameToUse(String parameterName) SqlServerCallMetaDataProvider.parameterNameToUse(String parameterName) SybaseCallMetaDataProvider.parameterNameToUse(String parameterName) CallMetaDataProvider.procedureNameToUse(String procedureName) Provide any modification of the procedure name passed in to match the meta-data currently used.GenericCallMetaDataProvider.procedureNameToUse(String procedureName) CallMetaDataProvider.schemaNameToUse(String schemaName) Provide any modification of the schema name passed in to match the meta-data currently used.GenericCallMetaDataProvider.schemaNameToUse(String schemaName) GenericTableMetaDataProvider.schemaNameToUse(String schemaName) TableMetaDataProvider.schemaNameToUse(String schemaName) Get the schema name formatted based on meta-data information.GenericTableMetaDataProvider.tableNameToUse(String tableName) TableMetaDataProvider.tableNameToUse(String tableName) Get the table name formatted based on meta-data information.Method parameters in org.springframework.jdbc.core.metadata with annotations of type NullableModifier and TypeMethodDescriptionCallMetaDataProvider.catalogNameToUse(String catalogName) Provide any modification of the catalog name passed in to match the meta-data currently used.GenericCallMetaDataProvider.catalogNameToUse(String catalogName) GenericTableMetaDataProvider.catalogNameToUse(String catalogName) TableMetaDataProvider.catalogNameToUse(String catalogName) Get the catalog name formatted based on meta-data information.GenericTableMetaDataProvider.columnNameToUse(String columnName) TableMetaDataProvider.columnNameToUse(String columnName) Get the column name formatted based on meta-data information.voidCallMetaDataProvider.initializeWithProcedureColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String procedureName) Initialize the database specific management of procedure column meta-data.voidCallMetaDataProvider.initializeWithProcedureColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String procedureName) Initialize the database specific management of procedure column meta-data.voidCallMetaDataProvider.initializeWithProcedureColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String procedureName) Initialize the database specific management of procedure column meta-data.voidGenericCallMetaDataProvider.initializeWithProcedureColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String procedureName) voidGenericCallMetaDataProvider.initializeWithProcedureColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String procedureName) voidGenericCallMetaDataProvider.initializeWithProcedureColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String procedureName) voidGenericTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) voidGenericTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) voidGenericTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) voidOracleTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) voidOracleTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) voidOracleTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) voidTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) Initialize using provided database meta-data, table and column information.voidTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) Initialize using provided database meta-data, table and column information.voidTableMetaDataProvider.initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, String catalogName, String schemaName, String tableName) Initialize using provided database meta-data, table and column information.CallMetaDataProvider.metaDataCatalogNameToUse(String catalogName) Provide any modification of the catalog name passed in to match the meta-data currently used.GenericCallMetaDataProvider.metaDataCatalogNameToUse(String catalogName) GenericTableMetaDataProvider.metaDataCatalogNameToUse(String catalogName) This implementation delegates toGenericTableMetaDataProvider.catalogNameToUse(java.lang.String).OracleCallMetaDataProvider.metaDataCatalogNameToUse(String catalogName) PostgresTableMetaDataProvider.metaDataCatalogNameToUse(String catalogName) TableMetaDataProvider.metaDataCatalogNameToUse(String catalogName) Provide any modification of the catalog name passed in to match the meta-data currently used.CallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) Provide any modification of the schema name passed in to match the meta-data currently used.Db2CallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) DerbyCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) GenericCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) GenericTableMetaDataProvider.metaDataSchemaNameToUse(String schemaName) This implementation delegates toGenericTableMetaDataProvider.schemaNameToUse(java.lang.String).OracleCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) PostgresCallMetaDataProvider.metaDataSchemaNameToUse(String schemaName) PostgresTableMetaDataProvider.metaDataSchemaNameToUse(String schemaName) TableMetaDataProvider.metaDataSchemaNameToUse(String schemaName) Provide any modification of the schema name passed in to match the meta-data currently used.CallMetaDataProvider.namedParameterBindingToUse(String parameterName) Return the name of the named parameter to use for binding the given parameter name.GenericCallMetaDataProvider.namedParameterBindingToUse(String parameterName) SqlServerCallMetaDataProvider.namedParameterBindingToUse(String parameterName) SybaseCallMetaDataProvider.namedParameterBindingToUse(String parameterName) CallMetaDataProvider.parameterNameToUse(String parameterName) Provide any modification of the column name passed in to match the meta-data currently used.GenericCallMetaDataProvider.parameterNameToUse(String parameterName) SqlServerCallMetaDataProvider.parameterNameToUse(String parameterName) SybaseCallMetaDataProvider.parameterNameToUse(String parameterName) CallMetaDataProvider.procedureNameToUse(String procedureName) Provide any modification of the procedure name passed in to match the meta-data currently used.GenericCallMetaDataProvider.procedureNameToUse(String procedureName) CallMetaDataProvider.schemaNameToUse(String schemaName) Provide any modification of the schema name passed in to match the meta-data currently used.GenericCallMetaDataProvider.schemaNameToUse(String schemaName) GenericTableMetaDataProvider.schemaNameToUse(String schemaName) TableMetaDataProvider.schemaNameToUse(String schemaName) Get the schema name formatted based on meta-data information.voidCallMetaDataContext.setCatalogName(String catalogName) Specify the name of the catalog.voidTableMetaDataContext.setCatalogName(String catalogName) Set the name of the catalog for this context.voidCallMetaDataContext.setProcedureName(String procedureName) Specify the name of the procedure.voidCallMetaDataContext.setSchemaName(String schemaName) Specify the name of the schema.voidTableMetaDataContext.setSchemaName(String schemaName) Set the name of the schema for this context.voidTableMetaDataContext.setTableName(String tableName) Set the name of the table for this context.GenericTableMetaDataProvider.tableNameToUse(String tableName) TableMetaDataProvider.tableNameToUse(String tableName) Get the table name formatted based on meta-data information.Constructor parameters in org.springframework.jdbc.core.metadata with annotations of type NullableModifierConstructorDescriptionCallParameterMetaData(boolean function, String columnName, int columnType, int sqlType, String typeName, boolean nullable) Constructor taking all the properties including the function marker.CallParameterMetaData(boolean function, String columnName, int columnType, int sqlType, String typeName, boolean nullable) Constructor taking all the properties including the function marker. -
Uses of Nullable in org.springframework.jdbc.core.namedparam
Methods in org.springframework.jdbc.core.namedparam with annotations of type NullableModifier and TypeMethodDescription<T> TNamedParameterJdbcOperations.execute(String sql, Map<String, ?> paramMap, PreparedStatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> TNamedParameterJdbcOperations.execute(String sql, SqlParameterSource paramSource, PreparedStatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> TNamedParameterJdbcOperations.execute(String sql, PreparedStatementCallback<T> action) Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> TNamedParameterJdbcTemplate.execute(String sql, Map<String, ?> paramMap, PreparedStatementCallback<T> action) <T> TNamedParameterJdbcTemplate.execute(String sql, SqlParameterSource paramSource, PreparedStatementCallback<T> action) <T> TNamedParameterJdbcTemplate.execute(String sql, PreparedStatementCallback<T> action) NamedParameterJdbcDaoSupport.getNamedParameterJdbcTemplate()Return a NamedParameterJdbcTemplate wrapping the configured JdbcTemplate.String[]EmptySqlParameterSource.getParameterNames()default String[]SqlParameterSource.getParameterNames()Enumerate all available parameter names if possible.static ObjectSqlParameterSourceUtils.getTypedValue(SqlParameterSource source, String parameterName) Create a wrapped value if parameter has type information, plain object if not.AbstractSqlParameterSource.getTypeName(String paramName) Return the type name for the given parameter, if registered.EmptySqlParameterSource.getTypeName(String paramName) default StringSqlParameterSource.getTypeName(String paramName) Determine the type name for the specified named parameter.Return the parameter value for the requested named parameter.<T> TNamedParameterJdbcOperations.query(String sql, Map<String, ?> paramMap, ResultSetExtractor<T> rse) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet with a ResultSetExtractor.<T> TNamedParameterJdbcOperations.query(String sql, SqlParameterSource paramSource, ResultSetExtractor<T> rse) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet with a ResultSetExtractor.<T> TNamedParameterJdbcOperations.query(String sql, ResultSetExtractor<T> rse) Query given SQL to create a prepared statement from SQL, reading the ResultSet with a ResultSetExtractor.<T> TNamedParameterJdbcTemplate.query(String sql, Map<String, ?> paramMap, ResultSetExtractor<T> rse) <T> TNamedParameterJdbcTemplate.query(String sql, SqlParameterSource paramSource, ResultSetExtractor<T> rse) <T> TNamedParameterJdbcTemplate.query(String sql, ResultSetExtractor<T> rse) <T> TNamedParameterJdbcOperations.queryForObject(String sql, Map<String, ?> paramMap, Class<T> requiredType) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result object.<T> TNamedParameterJdbcOperations.queryForObject(String sql, Map<String, ?> paramMap, RowMapper<T> rowMapper) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a Java object via a RowMapper.<T> TNamedParameterJdbcOperations.queryForObject(String sql, SqlParameterSource paramSource, Class<T> requiredType) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result object.<T> TNamedParameterJdbcOperations.queryForObject(String sql, SqlParameterSource paramSource, RowMapper<T> rowMapper) Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a Java object via a RowMapper.<T> TNamedParameterJdbcTemplate.queryForObject(String sql, Map<String, ?> paramMap, Class<T> requiredType) <T> TNamedParameterJdbcTemplate.queryForObject(String sql, Map<String, ?> paramMap, RowMapper<T> rowMapper) <T> TNamedParameterJdbcTemplate.queryForObject(String sql, SqlParameterSource paramSource, Class<T> requiredType) <T> TNamedParameterJdbcTemplate.queryForObject(String sql, SqlParameterSource paramSource, RowMapper<T> rowMapper) Method parameters in org.springframework.jdbc.core.namedparam with annotations of type NullableModifier and TypeMethodDescriptionAdd a parameter to this parameter source.Add a parameter to this parameter source.Add a parameter to this parameter source.Add a Map of parameters to this parameter source.int[]NamedParameterJdbcTemplate.batchUpdate(String sql, SqlParameterSource[] batchArgs, KeyHolder generatedKeyHolder, String[] keyColumnNames) static Object[]NamedParameterUtils.buildValueArray(ParsedSql parsedSql, SqlParameterSource paramSource, List<SqlParameter> declaredParams) Convert a Map of named parameter values to a corresponding array.protected PreparedStatementCreatorNamedParameterJdbcTemplate.getPreparedStatementCreator(String sql, SqlParameterSource paramSource, Consumer<PreparedStatementCreatorFactory> customizer) Build aPreparedStatementCreatorbased on the given SQL and named parameters.static StringNamedParameterUtils.substituteNamedParameters(ParsedSql parsedSql, SqlParameterSource paramSource) Parse the SQL statement and locate any placeholders or named parameters.intNamedParameterJdbcTemplate.update(String sql, SqlParameterSource paramSource, KeyHolder generatedKeyHolder, String[] keyColumnNames) Constructor parameters in org.springframework.jdbc.core.namedparam with annotations of type NullableModifierConstructorDescriptionMapSqlParameterSource(String paramName, Object value) Create a new MapSqlParameterSource, with one value comprised of the supplied arguments.MapSqlParameterSource(Map<String, ?> values) Create a new MapSqlParameterSource based on a Map. -
Uses of Nullable in org.springframework.jdbc.core.simple
Methods in org.springframework.jdbc.core.simple with annotations of type NullableModifier and TypeMethodDescription<T> TSimpleJdbcCall.executeFunction(Class<T> returnType, Object... args) <T> TSimpleJdbcCall.executeFunction(Class<T> returnType, Map<String, ?> args) <T> TSimpleJdbcCall.executeFunction(Class<T> returnType, SqlParameterSource args) <T> TSimpleJdbcCallOperations.executeFunction(Class<T> returnType, Object... args) Execute the stored function and return the results obtained as an Object of the specified return type.<T> TSimpleJdbcCallOperations.executeFunction(Class<T> returnType, Map<String, ?> args) Execute the stored function and return the results obtained as an Object of the specified return type.<T> TSimpleJdbcCallOperations.executeFunction(Class<T> returnType, SqlParameterSource args) Execute the stored function and return the results obtained as an Object of the specified return type.<T> TSimpleJdbcCall.executeObject(Class<T> returnType, Object... args) <T> TSimpleJdbcCall.executeObject(Class<T> returnType, Map<String, ?> args) <T> TSimpleJdbcCall.executeObject(Class<T> returnType, SqlParameterSource args) <T> TSimpleJdbcCallOperations.executeObject(Class<T> returnType, Object... args) Execute the stored procedure and return the single out parameter as an Object of the specified return type.<T> TSimpleJdbcCallOperations.executeObject(Class<T> returnType, Map<String, ?> args) Execute the stored procedure and return the single out parameter as an Object of the specified return type.<T> TSimpleJdbcCallOperations.executeObject(Class<T> returnType, SqlParameterSource args) Execute the stored procedure and return the single out parameter as an Object of the specified return type.AbstractJdbcCall.getCallString()Get the call string that should be used based on parameters and meta-data.AbstractJdbcCall.getCatalogName()Get the catalog name used.AbstractJdbcInsert.getCatalogName()Get the name of the catalog for this insert.AbstractJdbcCall.getProcedureName()Get the name of the stored procedure.protected StringAbstractJdbcCall.getScalarOutParameterName()Get the name of a single out parameter or return value.AbstractJdbcCall.getSchemaName()Get the schema name used.AbstractJdbcInsert.getSchemaName()Get the name of the schema for this insert.AbstractJdbcInsert.getTableName()Get the name of the table for this insert.Method parameters in org.springframework.jdbc.core.simple with annotations of type NullableModifier and TypeMethodDescriptionBind a positional JDBC statement parameter for "?" placeholder resolution by explicit JDBC statement parameter index.Bind a positional JDBC statement parameter for "?" placeholder resolution by explicit JDBC statement parameter index.Bind a positional JDBC statement parameter for "?" placeholder resolution by implicit order of parameter value registration.Bind a named statement parameter for ":x" placeholder resolution, with each "x" name matching a ":x" placeholder in the SQL statement.Bind a named statement parameter for ":x" placeholder resolution, with each "x" name matching a ":x" placeholder in the SQL statement.voidAbstractJdbcCall.setCatalogName(String catalogName) Set the catalog name to use.voidAbstractJdbcInsert.setCatalogName(String catalogName) Set the name of the catalog for this insert.voidAbstractJdbcCall.setProcedureName(String procedureName) Set the name of the stored procedure.voidAbstractJdbcCall.setSchemaName(String schemaName) Set the schema name to use.voidAbstractJdbcInsert.setSchemaName(String schemaName) Set the name of the schema for this insert.voidAbstractJdbcInsert.setTableName(String tableName) Set the name of the table for this insert. -
Uses of Nullable in org.springframework.jdbc.core.support
Methods in org.springframework.jdbc.core.support with annotations of type NullableModifier and TypeMethodDescriptionfinal TAbstractLobStreamingResultSetExtractor.extractData(ResultSet rs) Deprecated.Delegates to handleNoRowFound, handleMultipleRowsFound and streamData, according to the ResultSet state.final DataSourceJdbcDaoSupport.getDataSource()Return the JDBC DataSource used by this DAO.final JdbcTemplateJdbcDaoSupport.getJdbcTemplate()Return the JdbcTemplate for this DAO, pre-initialized with the DataSource or set explicitly.Method parameters in org.springframework.jdbc.core.support with annotations of type NullableModifier and TypeMethodDescriptionprotected abstract ObjectAbstractSqlTypeValue.createTypeValue(Connection con, int sqlType, String typeName) Create the type value to be passed intoPreparedStatement.setObject.final voidJdbcDaoSupport.setJdbcTemplate(JdbcTemplate jdbcTemplate) Set the JdbcTemplate for this DAO explicitly, as an alternative to specifying a DataSource.final voidAbstractSqlTypeValue.setTypeValue(PreparedStatement ps, int paramIndex, int sqlType, String typeName) voidSqlBinaryValue.setTypeValue(PreparedStatement ps, int paramIndex, int sqlType, String typeName) voidSqlCharacterValue.setTypeValue(PreparedStatement ps, int paramIndex, int sqlType, String typeName) voidSqlLobValue.setTypeValue(PreparedStatement ps, int paramIndex, int sqlType, String typeName) Deprecated.Set the specified content via the LobCreator.Constructor parameters in org.springframework.jdbc.core.support with annotations of type NullableModifierConstructorDescriptionSqlLobValue(byte[] bytes) Deprecated.Create a new BLOB value with the given byte array, using a DefaultLobHandler.SqlLobValue(byte[] bytes, LobHandler lobHandler) Deprecated.Create a new BLOB value with the given byte array.SqlLobValue(String content) Deprecated.Create a new CLOB value with the given content string, using a DefaultLobHandler.SqlLobValue(String content, LobHandler lobHandler) Deprecated.Create a new CLOB value with the given content string. -
Uses of Nullable in org.springframework.jdbc.datasource
Methods in org.springframework.jdbc.datasource with annotations of type NullableModifier and TypeMethodDescriptionprotected BooleanLazyConnectionDataSourceProxy.defaultAutoCommit()Expose the default auto-commit value.protected IntegerLazyConnectionDataSourceProxy.defaultTransactionIsolation()Expose the default transaction isolation value.protected BooleanSingleConnectionDataSource.getAutoCommitValue()Return whether the returned Connection's "autoCommit" setting should be overridden.AbstractDriverBasedDataSource.getCatalog()Return the database catalog to be applied to each Connection, if any.ConnectionHolder.getConnectionHandle()Return the ConnectionHandle held by this ConnectionHolder.AbstractDriverBasedDataSource.getConnectionProperties()Return the connection properties to be passed to the Driver, if any.protected IntegerIsolationLevelDataSourceAdapter.getCurrentIsolationLevel()Determine the current isolation level: either the transaction's isolation level or a statically defined isolation level.protected BooleanIsolationLevelDataSourceAdapter.getCurrentReadOnlyFlag()Determine the current read-only flag: by default, the transaction's read-only hint.DataSourceTransactionManager.getDataSource()Return the JDBCDataSourcethat this instance manages transactions for.SimpleDriverDataSource.getDriver()Return the JDBC Driver instance to use.protected IntegerIsolationLevelDataSourceAdapter.getIsolationLevel()Return the statically specified isolation level, ornullif none.AbstractDriverBasedDataSource.getPassword()Return the JDBC password to use for connecting through the Driver.JdbcTransactionObjectSupport.getPreviousIsolationLevel()Return the retained previous isolation level, if any.AbstractDriverBasedDataSource.getSchema()Return the database schema to be applied to each Connection, if any.ShardingKeyProvider.getShardingKey()Determine the sharding key.default ShardingKeyShardingKeyProvider.getSuperShardingKey()Determine the super sharding key, if any.DelegatingDataSource.getTargetDataSource()Return the target DataSource that this DataSource should delegate to.AbstractDriverBasedDataSource.getUrl()Return the JDBC URL to use for connecting through the Driver.AbstractDriverBasedDataSource.getUsername()Return the JDBC username to use for connecting through the Driver.static IntegerDataSourceUtils.prepareConnectionForTransaction(Connection con, TransactionDefinition definition) Prepare the given Connection with the given transaction semantics.Method parameters in org.springframework.jdbc.datasource with annotations of type NullableModifier and TypeMethodDescriptionstatic voidDataSourceUtils.applyTimeout(Statement stmt, DataSource dataSource, int timeout) Apply the specified timeout - overridden by the current transaction timeout, if any - to the given JDBC Statement object.static voidDataSourceUtils.applyTransactionTimeout(Statement stmt, DataSource dataSource) Apply the current transaction timeout, if any, to the given JDBC Statement object.static voidDataSourceUtils.doCloseConnection(Connection con, DataSource dataSource) Close the Connection, unless aSmartDataSourcedoesn't want us to.protected ConnectionIsolationLevelDataSourceAdapter.doGetConnection(String username, String password) Applies the current isolation level value and read-only flag to the returned Connection.protected ConnectionIsolationLevelDataSourceAdapter.doGetConnection(String username, String password) Applies the current isolation level value and read-only flag to the returned Connection.protected ConnectionUserCredentialsDataSourceAdapter.doGetConnection(String username, String password) This implementation delegates to thegetConnection(username, password)method of the target DataSource, passing in the specified user credentials.protected ConnectionUserCredentialsDataSourceAdapter.doGetConnection(String username, String password) This implementation delegates to thegetConnection(username, password)method of the target DataSource, passing in the specified user credentials.static voidDataSourceUtils.doReleaseConnection(Connection con, DataSource dataSource) Actually close the given Connection, obtained from the given DataSource.static voidDataSourceUtils.doReleaseConnection(Connection con, DataSource dataSource) Actually close the given Connection, obtained from the given DataSource.protected voidprotected ConnectionAbstractDriverBasedDataSource.getConnectionFromDriver(String username, String password) Build properties for the Driver, including the given username and password (if any), and obtain a corresponding Connection.protected ConnectionAbstractDriverBasedDataSource.getConnectionFromDriver(String username, String password) Build properties for the Driver, including the given username and password (if any), and obtain a corresponding Connection.static booleanDataSourceUtils.isConnectionTransactional(Connection con, DataSource dataSource) Determine whether the given JDBC Connection is transactional, that is, bound to the current thread by Spring's transaction facilities.static IntegerDataSourceUtils.prepareConnectionForTransaction(Connection con, TransactionDefinition definition) Prepare the given Connection with the given transaction semantics.static voidDataSourceUtils.releaseConnection(Connection con, DataSource dataSource) Close the given Connection, obtained from the given DataSource, if it is not managed externally (that is, not bound to the thread).static voidDataSourceUtils.releaseConnection(Connection con, DataSource dataSource) Close the given Connection, obtained from the given DataSource, if it is not managed externally (that is, not bound to the thread).static voidDataSourceUtils.resetConnectionAfterTransaction(Connection con, Integer previousIsolationLevel) Deprecated.as of 5.1.11, in favor ofDataSourceUtils.resetConnectionAfterTransaction(Connection, Integer, boolean)static voidDataSourceUtils.resetConnectionAfterTransaction(Connection con, Integer previousIsolationLevel, boolean resetReadOnly) Reset the given Connection after a transaction, regarding read-only flag and isolation level.voidAbstractDriverBasedDataSource.setCatalog(String catalog) Specify a database catalog to be applied to each Connection.protected voidConnectionHolder.setConnection(Connection connection) Override the existing Connection handle with the given Connection.voidJdbcTransactionObjectSupport.setConnectionHolder(ConnectionHolder connectionHolder) Set the ConnectionHolder for this transaction object.voidAbstractDriverBasedDataSource.setConnectionProperties(Properties connectionProperties) Specify arbitrary connection properties as key/value pairs, to be passed to the Driver.voidDataSourceTransactionManager.setDataSource(DataSource dataSource) Set the JDBCDataSourcethat this instance should manage transactions for.voidSpecify the JDBC Driver instance to use.voidAbstractDriverBasedDataSource.setPassword(String password) Set the JDBC password to use for connecting through the Driver.voidJdbcTransactionObjectSupport.setPreviousIsolationLevel(Integer previousIsolationLevel) Set the previous isolation level to retain, if any.voidLazyConnectionDataSourceProxy.setReadOnlyDataSource(DataSource readOnlyDataSource) Specify a variant of the target DataSource to use for read-only transactions.voidSpecify a database schema to be applied to each Connection.voidDelegatingDataSource.setTargetDataSource(DataSource targetDataSource) Set the target DataSource that this DataSource should delegate to.voidSet the JDBC URL to use for connecting through the Driver.voidAbstractDriverBasedDataSource.setUsername(String username) Set the JDBC username to use for connecting through the Driver. -
Uses of Nullable in org.springframework.jdbc.datasource.embedded
Methods in org.springframework.jdbc.datasource.embedded with annotations of type NullableModifier and TypeMethodDescriptionprotected final DataSourceEmbeddedDatabaseFactory.getDataSource()Hook that gets theDataSourcethat provides the connectivity to the embedded database.EmbeddedDatabaseFactoryBean.getObject() -
Uses of Nullable in org.springframework.jdbc.datasource.init
Method parameters in org.springframework.jdbc.datasource.init with annotations of type NullableModifier and TypeMethodDescriptionstatic voidScriptUtils.executeSqlScript(Connection connection, EncodedResource resource, boolean continueOnError, boolean ignoreFailedDrops, String[] commentPrefixes, String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter) Execute the given SQL script.static voidScriptUtils.executeSqlScript(Connection connection, EncodedResource resource, boolean continueOnError, boolean ignoreFailedDrops, String commentPrefix, String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter) Execute the given SQL script.voidDataSourceInitializer.setDatabaseCleaner(DatabasePopulator databaseCleaner) Set theDatabasePopulatorto execute during the bean destruction phase, if any, cleaning up the database and leaving it in a known state for others.voidDataSourceInitializer.setDatabasePopulator(DatabasePopulator databasePopulator) Set theDatabasePopulatorto execute during the bean initialization phase, if any.voidResourceDatabasePopulator.setSqlScriptEncoding(String sqlScriptEncoding) Specify the encoding for the configured SQL scripts, if different from the platform encoding.Constructor parameters in org.springframework.jdbc.datasource.init with annotations of type NullableModifierConstructorDescriptionResourceDatabasePopulator(boolean continueOnError, boolean ignoreFailedDrops, String sqlScriptEncoding, Resource... scripts) Construct a newResourceDatabasePopulatorwith the supplied values.ScriptException(String message, Throwable cause) Create a newScriptException.ScriptParseException(String message, EncodedResource resource) Create a newScriptParseException.ScriptParseException(String message, EncodedResource resource, Throwable cause) Create a newScriptParseException.ScriptParseException(String message, EncodedResource resource, Throwable cause) Create a newScriptParseException. -
Uses of Nullable in org.springframework.jdbc.datasource.lookup
Methods in org.springframework.jdbc.datasource.lookup with annotations of type NullableModifier and TypeMethodDescriptionprotected abstract ObjectAbstractRoutingDataSource.determineCurrentLookupKey()Determine the current lookup key.protected ObjectIsolationLevelDataSourceRouter.determineCurrentLookupKey()AbstractRoutingDataSource.getResolvedDefaultDataSource()Return the resolved default target DataSource, if any.Method parameters in org.springframework.jdbc.datasource.lookup with annotations of type NullableModifier and TypeMethodDescriptionvoidAbstractRoutingDataSource.setDataSourceLookup(DataSourceLookup dataSourceLookup) Set the DataSourceLookup implementation to use for resolving data source name Strings in thetargetDataSourcesmap.voidMapDataSourceLookup.setDataSources(Map<String, DataSource> dataSources) -
Uses of Nullable in org.springframework.jdbc.object
Methods in org.springframework.jdbc.object with annotations of type NullableModifier and TypeMethodDescriptionSqlQuery.findObject(int p1) Convenient method to find a single object given a single int parameter.SqlQuery.findObject(int p1, int p2) Convenient method to find a single object given two int parameters.SqlQuery.findObject(int p1, int p2, Map<?, ?> context) Convenient method to find a single object given two int parameters and a context.SqlQuery.findObject(int p1, Map<?, ?> context) Convenient method to find a single object given a single int parameter and a context.SqlQuery.findObject(long p1) Convenient method to find a single object given a single long parameter.SqlQuery.findObject(long p1, Map<?, ?> context) Convenient method to find a single object given a single long parameter and a context.SqlQuery.findObject(Object... params) Convenient method to find a single object without context.SqlQuery.findObject(Object[] params, Map<?, ?> context) Generic object finder method, used by all otherfindObjectmethods.SqlQuery.findObject(String p1) Convenient method to find a single object given a single String parameter.SqlQuery.findObject(String p1, Map<?, ?> context) Convenient method to find a single object given a single String parameter and a context.SqlQuery.findObjectByNamedParam(Map<String, ?> paramMap) Convenient method to execute without context.SqlQuery.findObjectByNamedParam(Map<String, ?> paramMap, Map<?, ?> context) Generic object finder method for named parameters.SqlCall.getCallString()Get the call string.String[]RdbmsOperation.getGeneratedKeysColumnNames()Return the column names of the auto generated keys.RdbmsOperation.getSql()Subclasses can override this to supply dynamic SQL if they wish, but SQL is normally set by calling theRdbmsOperation.setSql(java.lang.String)method or in a subclass constructor.protected abstract TSubclasses must implement this method to convert each row of the ResultSet into an object of the result type.protected final TThis method is implemented to invoke the simpler mapRow template method, ignoring parameters.protected abstract TMappingSqlQueryWithParameters.mapRow(ResultSet rs, int rowNum, Object[] parameters, Map<?, ?> context) Subclasses must implement this method to convert each row of the ResultSet into an object of the result type.protected TThis implementation of this method extracts a single value from the single row returned by the function.SqlFunction.runGeneric()Convenient method to run the function without arguments, returning the value as an object.SqlFunction.runGeneric(int parameter) Convenient method to run the function with a single int argument.SqlFunction.runGeneric(Object[] parameters) Analogous to theSqlQuery.findObject(Object[])method.Method parameters in org.springframework.jdbc.object with annotations of type NullableModifier and TypeMethodDescriptionConvenient method to execute with two int parameters and context.Convenient method to execute with a single int parameter and context.Convenient method to execute with a single long parameter and context.Central execution method.Central execution method.Convenient method to execute with a single String parameter and context.SqlQuery.executeByNamedParam(Map<String, ?> paramMap, Map<?, ?> context) Central execution method.SqlQuery.findObject(int p1, int p2, Map<?, ?> context) Convenient method to find a single object given two int parameters and a context.SqlQuery.findObject(int p1, Map<?, ?> context) Convenient method to find a single object given a single int parameter and a context.SqlQuery.findObject(long p1, Map<?, ?> context) Convenient method to find a single object given a single long parameter and a context.SqlQuery.findObject(Object[] params, Map<?, ?> context) Generic object finder method, used by all otherfindObjectmethods.SqlQuery.findObject(Object[] params, Map<?, ?> context) Generic object finder method, used by all otherfindObjectmethods.SqlQuery.findObject(String p1, Map<?, ?> context) Convenient method to find a single object given a single String parameter and a context.SqlQuery.findObjectByNamedParam(Map<String, ?> paramMap, Map<?, ?> context) Generic object finder method for named parameters.protected final TThis method is implemented to invoke the simpler mapRow template method, ignoring parameters.protected final TThis method is implemented to invoke the simpler mapRow template method, ignoring parameters.protected abstract TMappingSqlQueryWithParameters.mapRow(ResultSet rs, int rowNum, Object[] parameters, Map<?, ?> context) Subclasses must implement this method to convert each row of the ResultSet into an object of the result type.protected abstract TMappingSqlQueryWithParameters.mapRow(ResultSet rs, int rowNum, Object[] parameters, Map<?, ?> context) Subclasses must implement this method to convert each row of the ResultSet into an object of the result type.protected CallableStatementCreatorSqlCall.newCallableStatementCreator(Map<String, ?> inParams) Return a CallableStatementCreator to perform an operation with these parameters.protected final PreparedStatementCreatorSqlOperation.newPreparedStatementCreator(Object[] params) Return a PreparedStatementCreator to perform an operation with the given parameters.protected final PreparedStatementCreatorSqlOperation.newPreparedStatementCreator(String sqlToUse, Object[] params) Return a PreparedStatementCreator to perform an operation with the given parameters.protected final PreparedStatementSetterSqlOperation.newPreparedStatementSetter(Object[] params) Return a PreparedStatementSetter to perform an operation with the given parameters.GenericSqlQuery.newRowMapper(Object[] parameters, Map<?, ?> context) GenericSqlQuery.newRowMapper(Object[] parameters, Map<?, ?> context) MappingSqlQueryWithParameters.newRowMapper(Object[] parameters, Map<?, ?> context) Implementation of protected abstract method.MappingSqlQueryWithParameters.newRowMapper(Object[] parameters, Map<?, ?> context) Implementation of protected abstract method.SqlQuery.newRowMapper(Object[] parameters, Map<?, ?> context) Subclasses must implement this method to extract an object per row, to be returned by theexecutemethod as an aggregatedList.SqlQuery.newRowMapper(Object[] parameters, Map<?, ?> context) Subclasses must implement this method to extract an object per row, to be returned by theexecutemethod as an aggregatedList.UpdatableSqlQuery.newRowMapper(Object[] parameters, Map<?, ?> context) Implementation of the superclass template method.UpdatableSqlQuery.newRowMapper(Object[] parameters, Map<?, ?> context) Implementation of the superclass template method.voidRdbmsOperation.setGeneratedKeysColumnNames(String... names) Set the column names of the auto-generated keys.voidSet the SQL executed by this operation.voidRdbmsOperation.setTypes(int[] types) Add anonymous parameters, specifying only their SQL types as defined in thejava.sql.Typesclass.protected abstract TSubclasses must implement this method to update each row of the ResultSet and optionally create object of the result type.protected voidRdbmsOperation.validateNamedParameters(Map<String, ?> parameters) Validate the named parameters passed to an execute method based on declared parameters.protected voidRdbmsOperation.validateParameters(Object[] parameters) Validate the parameters passed to an execute method based on declared parameters.Constructor parameters in org.springframework.jdbc.object with annotations of type NullableModifierConstructorDescriptionRowMapperImpl(Object[] parameters, Map<?, ?> context) Use an array results.RowMapperImpl(Object[] parameters, Map<?, ?> context) Use an array results.RowMapperImpl(Map<?, ?> context) -
Uses of Nullable in org.springframework.jdbc.support
Methods in org.springframework.jdbc.support with annotations of type NullableModifier and TypeMethodDescriptionstatic StringJdbcUtils.commonDatabaseName(String source) Extract a common name for the target database in use even if various drivers/platforms provide varying names at runtime.protected DataAccessExceptionSQLErrorCodeSQLExceptionTranslator.createCustomException(String task, String sql, SQLException sqlEx, Class<?> exceptionClass) Create a customDataAccessException, based on a given exception class from aCustomSQLErrorCodesTranslationdefinition.protected DataAccessExceptionSQLErrorCodeSQLExceptionTranslator.customTranslate(String task, String sql, SQLException sqlEx) Deprecated.protected abstract DataAccessExceptionAbstractFallbackSQLExceptionTranslator.doTranslate(String task, String sql, SQLException ex) Template method for actually translating the given exception.protected DataAccessExceptionSQLErrorCodeSQLExceptionTranslator.doTranslate(String task, String sql, SQLException ex) protected DataAccessExceptionSQLExceptionSubclassTranslator.doTranslate(String task, String sql, SQLException ex) protected DataAccessExceptionSQLStateSQLExceptionTranslator.doTranslate(String task, String sql, SQLException ex) CustomSQLExceptionTranslatorRegistry.findTranslatorForDatabase(String dbName) Find a custom translator for the specified database.SQLErrorCodes.getCustomSqlExceptionTranslator()SQLErrorCodes.getCustomTranslations()AbstractFallbackSQLExceptionTranslator.getCustomTranslator()Return a custom exception translator, if any.SQLErrorCodes.getDatabaseProductName()String[]SQLErrorCodes.getDatabaseProductNames()JdbcAccessor.getDataSource()Return the DataSource used by this template.Class<?>CustomSQLErrorCodesTranslation.getExceptionClass()Return the exception class for the specified error codes.AbstractFallbackSQLExceptionTranslator.getFallbackTranslator()Return the fallback exception translator, if any.GeneratedKeyHolder.getKey()KeyHolder.getKey()Retrieve the first item from the first map, assuming that there is just one item and just one map, and that the item is a number.<T> T<T> TRetrieve the first item from the first map, assuming that there is just one item and just one map, and that the item is an instance of specified type.GeneratedKeyHolder.getKeys()KeyHolder.getKeys()Retrieve the first map of keys.static ObjectJdbcUtils.getResultSetValue(ResultSet rs, int index) Retrieve a JDBC column value from a ResultSet, using the most appropriate value type.static ObjectJdbcUtils.getResultSetValue(ResultSet rs, int index, Class<?> requiredType) Retrieve a JDBC column value from a ResultSet, using the specified value type.SQLErrorCodeSQLExceptionTranslator.getSqlErrorCodes()Return the error codes used by this translator.protected ResourceSQLErrorCodesFactory.loadResource(String path) Load the given resource from the class path.SQLErrorCodesFactory.resolveErrorCodes(DataSource dataSource) ReturnSQLErrorCodesfor the givenDataSource, evaluating "databaseProductName" from theDatabaseMetaData, ornullif case of a JDBC meta-data access problem.static StringJdbcUtils.resolveTypeName(int sqlType) Resolve the standard type name for the given SQL type, if possible.AbstractFallbackSQLExceptionTranslator.translate(String task, String sql, SQLException ex) Pre-checks the arguments, callsAbstractFallbackSQLExceptionTranslator.doTranslate(java.lang.String, java.lang.String, java.sql.SQLException), and invokes thefallback translatorif necessary.SQLExceptionTranslator.translate(String task, String sql, SQLException ex) Translate the givenSQLExceptioninto a genericDataAccessException.SQLErrorCodesFactory.unregisterDatabase(DataSource dataSource) Clear the cache for the specifiedDataSource, if registered.Method parameters in org.springframework.jdbc.support with annotations of type NullableModifier and TypeMethodDescriptionprotected StringAbstractFallbackSQLExceptionTranslator.buildMessage(String task, String sql, SQLException ex) Build a messageStringfor the givenSQLException.static voidJdbcUtils.closeConnection(Connection con) Close the given JDBC Connection and ignore any thrown exception.static voidJdbcUtils.closeResultSet(ResultSet rs) Close the given JDBC ResultSet and ignore any thrown exception.static voidJdbcUtils.closeStatement(Statement stmt) Close the given JDBC Statement and ignore any thrown exception.static StringJdbcUtils.commonDatabaseName(String source) Extract a common name for the target database in use even if various drivers/platforms provide varying names at runtime.static StringJdbcUtils.convertPropertyNameToUnderscoreName(String name) Convert a property name using "camelCase" to a corresponding column name with underscores.static StringJdbcUtils.convertUnderscoreNameToPropertyName(String name) Convert a column name with underscores to the corresponding property name using "camelCase".protected DataAccessExceptionSQLErrorCodeSQLExceptionTranslator.createCustomException(String task, String sql, SQLException sqlEx, Class<?> exceptionClass) Create a customDataAccessException, based on a given exception class from aCustomSQLErrorCodesTranslationdefinition.protected DataAccessExceptionSQLErrorCodeSQLExceptionTranslator.customTranslate(String task, String sql, SQLException sqlEx) Deprecated.protected abstract DataAccessExceptionAbstractFallbackSQLExceptionTranslator.doTranslate(String task, String sql, SQLException ex) Template method for actually translating the given exception.protected DataAccessExceptionSQLErrorCodeSQLExceptionTranslator.doTranslate(String task, String sql, SQLException ex) protected DataAccessExceptionSQLExceptionSubclassTranslator.doTranslate(String task, String sql, SQLException ex) protected DataAccessExceptionSQLStateSQLExceptionTranslator.doTranslate(String task, String sql, SQLException ex) static ObjectJdbcUtils.getResultSetValue(ResultSet rs, int index, Class<?> requiredType) Retrieve a JDBC column value from a ResultSet, using the specified value type.voidSQLErrorCodes.setCustomSqlExceptionTranslator(SQLExceptionTranslator customSqlExceptionTranslator) voidSQLErrorCodes.setCustomSqlExceptionTranslatorClass(Class<? extends SQLExceptionTranslator> customTranslatorClass) voidAbstractFallbackSQLExceptionTranslator.setCustomTranslator(SQLExceptionTranslator customTranslator) Set a custom exception translator to override any match that this translator would find.voidSQLErrorCodes.setDatabaseProductName(String databaseProductName) Set this property if the database name contains spaces, in which case we can not use the bean name for lookup.voidSQLErrorCodes.setDatabaseProductNames(String... databaseProductNames) Set this property to specify multiple database names that contains spaces, in which case we can not use bean names for lookup.voidJdbcAccessor.setDataSource(DataSource dataSource) Set the JDBC DataSource to obtain connections from.voidCustomSQLErrorCodesTranslation.setExceptionClass(Class<?> exceptionClass) Set the exception class for the specified error codes.voidAbstractFallbackSQLExceptionTranslator.setFallbackTranslator(SQLExceptionTranslator fallback) Set the fallback translator to use when this translator cannot find a specific match itself.voidSQLErrorCodeSQLExceptionTranslator.setSqlErrorCodes(SQLErrorCodes sec) Set custom error codes to be used for translation.AbstractFallbackSQLExceptionTranslator.translate(String task, String sql, SQLException ex) Pre-checks the arguments, callsAbstractFallbackSQLExceptionTranslator.doTranslate(java.lang.String, java.lang.String, java.sql.SQLException), and invokes thefallback translatorif necessary.SQLExceptionTranslator.translate(String task, String sql, SQLException ex) Translate the givenSQLExceptioninto a genericDataAccessException. -
Uses of Nullable in org.springframework.jdbc.support.lob
Methods in org.springframework.jdbc.support.lob with annotations of type NullableModifier and TypeMethodDescriptionAbstractLobHandler.getBlobAsBinaryStream(ResultSet rs, String columnName) Deprecated.DefaultLobHandler.getBlobAsBinaryStream(ResultSet rs, int columnIndex) Deprecated.LobHandler.getBlobAsBinaryStream(ResultSet rs, int columnIndex) Deprecated.Retrieve the given column as binary stream from the given ResultSet.LobHandler.getBlobAsBinaryStream(ResultSet rs, String columnName) Deprecated.Retrieve the given column as binary stream from the given ResultSet.byte[]AbstractLobHandler.getBlobAsBytes(ResultSet rs, String columnName) Deprecated.byte[]DefaultLobHandler.getBlobAsBytes(ResultSet rs, int columnIndex) Deprecated.byte[]LobHandler.getBlobAsBytes(ResultSet rs, int columnIndex) Deprecated.Retrieve the given column as bytes from the given ResultSet.byte[]LobHandler.getBlobAsBytes(ResultSet rs, String columnName) Deprecated.Retrieve the given column as bytes from the given ResultSet.AbstractLobHandler.getClobAsAsciiStream(ResultSet rs, String columnName) Deprecated.LobHandler.getClobAsAsciiStream(ResultSet rs, int columnIndex) Deprecated.Retrieve the given column as ASCII stream from the given ResultSet.LobHandler.getClobAsAsciiStream(ResultSet rs, String columnName) Deprecated.Retrieve the given column as ASCII stream from the given ResultSet.AbstractLobHandler.getClobAsString(ResultSet rs, String columnName) Deprecated.DefaultLobHandler.getClobAsString(ResultSet rs, int columnIndex) Deprecated.LobHandler.getClobAsString(ResultSet rs, int columnIndex) Deprecated.Retrieve the given column as String from the given ResultSet.LobHandler.getClobAsString(ResultSet rs, String columnName) Deprecated.Retrieve the given column as String from the given ResultSet.Method parameters in org.springframework.jdbc.support.lob with annotations of type NullableModifier and TypeMethodDescriptionvoidDefaultLobHandler.DefaultLobCreator.setBlobAsBinaryStream(PreparedStatement ps, int paramIndex, InputStream binaryStream, int contentLength) voidLobCreator.setBlobAsBinaryStream(PreparedStatement ps, int paramIndex, InputStream contentStream, int contentLength) Deprecated.Set the given content as binary stream on the given statement, using the given parameter index.voidTemporaryLobCreator.setBlobAsBinaryStream(PreparedStatement ps, int paramIndex, InputStream binaryStream, int contentLength) Deprecated.voidDefaultLobHandler.DefaultLobCreator.setBlobAsBytes(PreparedStatement ps, int paramIndex, byte[] content) voidLobCreator.setBlobAsBytes(PreparedStatement ps, int paramIndex, byte[] content) Deprecated.Set the given content as bytes on the given statement, using the given parameter index.voidTemporaryLobCreator.setBlobAsBytes(PreparedStatement ps, int paramIndex, byte[] content) Deprecated.voidDefaultLobHandler.DefaultLobCreator.setClobAsAsciiStream(PreparedStatement ps, int paramIndex, InputStream asciiStream, int contentLength) voidLobCreator.setClobAsAsciiStream(PreparedStatement ps, int paramIndex, InputStream asciiStream, int contentLength) Deprecated.Set the given content as ASCII stream on the given statement, using the given parameter index.voidTemporaryLobCreator.setClobAsAsciiStream(PreparedStatement ps, int paramIndex, InputStream asciiStream, int contentLength) Deprecated.voidDefaultLobHandler.DefaultLobCreator.setClobAsCharacterStream(PreparedStatement ps, int paramIndex, Reader characterStream, int contentLength) voidLobCreator.setClobAsCharacterStream(PreparedStatement ps, int paramIndex, Reader characterStream, int contentLength) Deprecated.Set the given content as character stream on the given statement, using the given parameter index.voidTemporaryLobCreator.setClobAsCharacterStream(PreparedStatement ps, int paramIndex, Reader characterStream, int contentLength) Deprecated.voidDefaultLobHandler.DefaultLobCreator.setClobAsString(PreparedStatement ps, int paramIndex, String content) voidLobCreator.setClobAsString(PreparedStatement ps, int paramIndex, String content) Deprecated.Set the given content as String on the given statement, using the given parameter index.voidTemporaryLobCreator.setClobAsString(PreparedStatement ps, int paramIndex, String content) Deprecated. -
Uses of Nullable in org.springframework.jdbc.support.rowset
Methods in org.springframework.jdbc.support.rowset with annotations of type NullableModifier and TypeMethodDescriptionResultSetWrappingSqlRowSet.getBigDecimal(int columnIndex) ResultSetWrappingSqlRowSet.getBigDecimal(String columnLabel) SqlRowSet.getBigDecimal(int columnIndex) Retrieve the value of the indicated column in the current row as a BigDecimal object.SqlRowSet.getBigDecimal(String columnLabel) Retrieve the value of the indicated column in the current row as a BigDecimal object.ResultSetWrappingSqlRowSet.getDate(int columnIndex) SqlRowSet.getDate(int columnIndex) Retrieve the value of the indicated column in the current row as a Date object.Retrieve the value of the indicated column in the current row as a Date object.Retrieve the value of the indicated column in the current row as a Date object.Retrieve the value of the indicated column in the current row as a Date object.ResultSetWrappingSqlRowSet.getNString(int columnIndex) ResultSetWrappingSqlRowSet.getNString(String columnLabel) SqlRowSet.getNString(int columnIndex) Retrieve the value of the indicated column in the current row as a String (for NCHAR, NVARCHAR, LONGNVARCHAR columns).SqlRowSet.getNString(String columnLabel) Retrieve the value of the indicated column in the current row as a String (for NCHAR, NVARCHAR, LONGNVARCHAR columns).ResultSetWrappingSqlRowSet.getObject(int columnIndex) <T> T<T> TSqlRowSet.getObject(int columnIndex) Retrieve the value of the indicated column in the current row as an Object.<T> TRetrieve the value of the indicated column in the current row as an Object.Retrieve the value of the indicated column in the current row as an Object.Retrieve the value of the indicated column in the current row as an Object.<T> TRetrieve the value of the indicated column in the current row as an Object.Retrieve the value of the indicated column in the current row as an Object.ResultSetWrappingSqlRowSet.getString(int columnIndex) SqlRowSet.getString(int columnIndex) Retrieve the value of the indicated column in the current row as a String.Retrieve the value of the indicated column in the current row as a String.ResultSetWrappingSqlRowSet.getTime(int columnIndex) SqlRowSet.getTime(int columnIndex) Retrieve the value of the indicated column in the current row as a Time object.Retrieve the value of the indicated column in the current row as a Time object.Retrieve the value of the indicated column in the current row as a Time object.Retrieve the value of the indicated column in the current row as a Time object.ResultSetWrappingSqlRowSet.getTimestamp(int columnIndex) ResultSetWrappingSqlRowSet.getTimestamp(int columnIndex, Calendar cal) ResultSetWrappingSqlRowSet.getTimestamp(String columnLabel) ResultSetWrappingSqlRowSet.getTimestamp(String columnLabel, Calendar cal) SqlRowSet.getTimestamp(int columnIndex) Retrieve the value of the indicated column in the current row as a Timestamp object.SqlRowSet.getTimestamp(int columnIndex, Calendar cal) Retrieve the value of the indicated column in the current row as a Timestamp object.SqlRowSet.getTimestamp(String columnLabel) Retrieve the value of the indicated column in the current row as a Timestamp object.SqlRowSet.getTimestamp(String columnLabel, Calendar cal) Retrieve the value of the indicated column in the current row as a Timestamp object. -
Uses of Nullable in org.springframework.jdbc.support.xml
Methods in org.springframework.jdbc.support.xml with annotations of type NullableModifier and TypeMethodDescriptionJdbc4SqlXmlHandler.getXmlAsBinaryStream(ResultSet rs, int columnIndex) Deprecated.Jdbc4SqlXmlHandler.getXmlAsBinaryStream(ResultSet rs, String columnName) Deprecated.SqlXmlHandler.getXmlAsBinaryStream(ResultSet rs, int columnIndex) Deprecated.Retrieve the given column as binary stream from the given ResultSet.SqlXmlHandler.getXmlAsBinaryStream(ResultSet rs, String columnName) Deprecated.Retrieve the given column as binary stream from the given ResultSet.Jdbc4SqlXmlHandler.getXmlAsCharacterStream(ResultSet rs, int columnIndex) Deprecated.Jdbc4SqlXmlHandler.getXmlAsCharacterStream(ResultSet rs, String columnName) Deprecated.SqlXmlHandler.getXmlAsCharacterStream(ResultSet rs, int columnIndex) Deprecated.Retrieve the given column as character stream from the given ResultSet.SqlXmlHandler.getXmlAsCharacterStream(ResultSet rs, String columnName) Deprecated.Retrieve the given column as character stream from the given ResultSet.Jdbc4SqlXmlHandler.getXmlAsSource(ResultSet rs, int columnIndex, Class<? extends Source> sourceClass) Deprecated.Jdbc4SqlXmlHandler.getXmlAsSource(ResultSet rs, String columnName, Class<? extends Source> sourceClass) Deprecated.SqlXmlHandler.getXmlAsSource(ResultSet rs, int columnIndex, Class<? extends Source> sourceClass) Deprecated.Retrieve the given column as Source implemented using the specified source class from the given ResultSet.SqlXmlHandler.getXmlAsSource(ResultSet rs, String columnName, Class<? extends Source> sourceClass) Deprecated.Retrieve the given column as Source implemented using the specified source class from the given ResultSet.Jdbc4SqlXmlHandler.getXmlAsString(ResultSet rs, int columnIndex) Deprecated.Jdbc4SqlXmlHandler.getXmlAsString(ResultSet rs, String columnName) Deprecated.SqlXmlHandler.getXmlAsString(ResultSet rs, int columnIndex) Deprecated.Retrieve the given column as String from the given ResultSet.SqlXmlHandler.getXmlAsString(ResultSet rs, String columnName) Deprecated.Retrieve the given column as String from the given ResultSet.Method parameters in org.springframework.jdbc.support.xml with annotations of type NullableModifier and TypeMethodDescriptionJdbc4SqlXmlHandler.getXmlAsSource(ResultSet rs, int columnIndex, Class<? extends Source> sourceClass) Deprecated.Jdbc4SqlXmlHandler.getXmlAsSource(ResultSet rs, String columnName, Class<? extends Source> sourceClass) Deprecated.SqlXmlHandler.getXmlAsSource(ResultSet rs, int columnIndex, Class<? extends Source> sourceClass) Deprecated.Retrieve the given column as Source implemented using the specified source class from the given ResultSet.SqlXmlHandler.getXmlAsSource(ResultSet rs, String columnName, Class<? extends Source> sourceClass) Deprecated.Retrieve the given column as Source implemented using the specified source class from the given ResultSet. -
Uses of Nullable in org.springframework.jms
Methods in org.springframework.jms with annotations of type NullableModifier and TypeMethodDescriptionJmsException.getErrorCode()Convenience method to get the vendor specific error code if the root cause was an instance of JMSException.JmsException.getMessage()Return the detail message, including the message from the linked exception if there is one.Constructor parameters in org.springframework.jms with annotations of type NullableModifierConstructorDescriptionJmsException(String msg, Throwable cause) Constructor that takes a message and a root cause.JmsException(Throwable cause) Constructor that takes a plain root cause, intended for subclasses mirroring correspondingjakarta.jmsexceptions. -
Uses of Nullable in org.springframework.jms.config
Methods in org.springframework.jms.config with annotations of type NullableModifier and TypeMethodDescriptionMethodJmsListenerEndpoint.getBean()AbstractJmsListenerEndpoint.getConcurrency()Return the concurrency for the listener, if any.protected StringMethodJmsListenerEndpoint.getDefaultResponseDestination()Return the default response destination, if any.AbstractJmsListenerEndpoint.getDestination()Return the name of the destination for this endpoint.JmsListenerEndpointRegistrar.getEndpointRegistry()Return theJmsListenerEndpointRegistryinstance for this registrar, may benull.JmsListenerEndpointRegistry.getListenerContainer(String id) Return theMessageListenerContainerwith the specified id ornullif no such container exists.JmsListenerEndpointRegistrar.getMessageHandlerMethodFactory()Return the customMessageHandlerMethodFactoryto use, if any.SimpleJmsListenerEndpoint.getMessageListener()Return theMessageListenerto invoke when a message matching the endpoint is received.MethodJmsListenerEndpoint.getMethod()MethodJmsListenerEndpoint.getMostSpecificMethod()AbstractJmsListenerEndpoint.getSelector()Return the JMS message selector expression, if any.AbstractJmsListenerEndpoint.getSubscription()Return the name for the durable subscription, if any.Method parameters in org.springframework.jms.config with annotations of type NullableModifier and TypeMethodDescriptionvoidJmsListenerEndpointRegistrar.registerEndpoint(JmsListenerEndpoint endpoint, JmsListenerContainerFactory<?> factory) Register a newJmsListenerEndpointalongside theJmsListenerContainerFactoryto use to create the underlying container.voidDefaultJmsListenerContainerFactory.setBackOff(BackOff backOff) voidSet the actual bean instance to invoke this endpoint method on.voidMethodJmsListenerEndpoint.setBeanFactory(BeanFactory beanFactory) Set theBeanFactoryto use to resolve expressions (may benull).voidDefaultJmsListenerContainerFactory.setCacheLevel(Integer cacheLevel) voidDefaultJmsListenerContainerFactory.setCacheLevelName(String cacheLevelName) voidAbstractJmsListenerEndpoint.setConcurrency(String concurrency) Set a concurrency for the listener, if any.voidDefaultJmsListenerContainerFactory.setConcurrency(String concurrency) voidAbstractJmsListenerEndpoint.setDestination(String destination) Set the name of the destination for this endpoint.voidMethodJmsListenerEndpoint.setEmbeddedValueResolver(StringValueResolver embeddedValueResolver) Set a value resolver for embedded placeholders and expressions.voidJmsListenerEndpointRegistrar.setEndpointRegistry(JmsListenerEndpointRegistry endpointRegistry) Set theJmsListenerEndpointRegistryinstance to use.voidDefaultJmsListenerContainerFactory.setMaxMessagesPerTask(Integer maxMessagesPerTask) voidJmsListenerEndpointRegistrar.setMessageHandlerMethodFactory(MessageHandlerMethodFactory messageHandlerMethodFactory) Set theMessageHandlerMethodFactoryto use to configure the message listener responsible to serve an endpoint detected by this processor.voidSimpleJmsListenerEndpoint.setMessageListener(MessageListener messageListener) Set theMessageListenerto invoke when a message matching the endpoint is received.voidSet the method to invoke for processing a message managed by this endpoint.voidMethodJmsListenerEndpoint.setMostSpecificMethod(Method mostSpecificMethod) Set the most specific method known for this endpoint's declaration.voidDefaultJmsListenerContainerFactory.setReceiveTimeout(Long receiveTimeout) voidDefaultJmsListenerContainerFactory.setRecoveryInterval(Long recoveryInterval) voidAbstractJmsListenerEndpoint.setSelector(String selector) Set the JMS message selector expression.voidAbstractJmsListenerEndpoint.setSubscription(String subscription) Set the name for the durable subscription.voidDefaultJmsListenerContainerFactory.setTaskExecutor(Executor taskExecutor) voidDefaultJmsListenerContainerFactory.setTransactionManager(PlatformTransactionManager transactionManager) -
Uses of Nullable in org.springframework.jms.connection
Methods in org.springframework.jms.connection with annotations of type NullableModifier and TypeMethodDescriptionstatic SessionConnectionFactoryUtils.doGetTransactionalSession(ConnectionFactory connectionFactory, ConnectionFactoryUtils.ResourceFactory resourceFactory) Obtain a JMS Session that is synchronized with the current transaction, if any.static SessionConnectionFactoryUtils.doGetTransactionalSession(ConnectionFactory connectionFactory, ConnectionFactoryUtils.ResourceFactory resourceFactory, boolean startConnection) Obtain a JMS Session that is synchronized with the current transaction, if any.protected StringSingleConnectionFactory.getClientId()Return a JMS client ID for the single Connection created and exposed by this ConnectionFactory, if any.ConnectionFactoryUtils.ResourceFactory.getConnection(JmsResourceHolder holder) Fetch an appropriate Connection from the given JmsResourceHolder.JmsResourceHolder.getConnection()Return this resource holder's default Connection, ornullif none.<C extends Connection>
CJmsResourceHolder.getConnection(Class<C> connectionType) Return this resource holder's Connection of the given type, ornullif none.JmsTransactionManager.getConnectionFactory()Return the JMS ConnectionFactory that this instance should manage transactions for.protected ExceptionListenerSingleConnectionFactory.getExceptionListener()Return the JMS ExceptionListener implementation that should be registered with the single Connection created by this factory, if any.protected SessionCachingConnectionFactory.getSession(Connection con, Integer mode) Checks for a cached Session for the given mode.ConnectionFactoryUtils.ResourceFactory.getSession(JmsResourceHolder holder) Fetch an appropriate Session from the given JmsResourceHolder.JmsResourceHolder.getSession()Return this resource holder's default Session, ornullif none.<S extends Session>
SJmsResourceHolder.getSession(Class<S> sessionType) Return this resource holder's Session of the given type, ornullif none.<S extends Session>
SJmsResourceHolder.getSession(Class<S> sessionType, Connection connection) Return this resource holder's Session of the given type for the given connection, ornullif none.protected SessionSingleConnectionFactory.getSession(Connection con, Integer mode) Template method for obtaining a (potentially cached) Session.DelegatingConnectionFactory.getTargetConnectionFactory()Return the target ConnectionFactory that this ConnectionFactory delegates to.SingleConnectionFactory.getTargetConnectionFactory()Return the target ConnectionFactory which will be used to lazily create a single Connection, if any.static QueueSessionConnectionFactoryUtils.getTransactionalQueueSession(QueueConnectionFactory cf, QueueConnection existingCon, boolean synchedLocalTransactionAllowed) Obtain a JMS QueueSession that is synchronized with the current transaction, if any.static SessionConnectionFactoryUtils.getTransactionalSession(ConnectionFactory cf, Connection existingCon, boolean synchedLocalTransactionAllowed) Obtain a JMS Session that is synchronized with the current transaction, if any.static TopicSessionConnectionFactoryUtils.getTransactionalTopicSession(TopicConnectionFactory cf, TopicConnection existingCon, boolean synchedLocalTransactionAllowed) Obtain a JMS TopicSession that is synchronized with the current transaction, if any.Method parameters in org.springframework.jms.connection with annotations of type NullableModifier and TypeMethodDescriptionfinal voidJmsResourceHolder.addSession(Session session, Connection connection) Add the given Session to this resource holder, registered for a specific Connection.protected ConnectionUserCredentialsConnectionFactoryAdapter.doCreateConnection(String username, String password) This implementation delegates to thecreateConnection(username, password)method of the target ConnectionFactory, passing in the specified user credentials.protected ConnectionUserCredentialsConnectionFactoryAdapter.doCreateConnection(String username, String password) This implementation delegates to thecreateConnection(username, password)method of the target ConnectionFactory, passing in the specified user credentials.protected JMSContextUserCredentialsConnectionFactoryAdapter.doCreateContext(String username, String password) protected JMSContextUserCredentialsConnectionFactoryAdapter.doCreateContext(String username, String password) protected JMSContextUserCredentialsConnectionFactoryAdapter.doCreateContext(String username, String password, int sessionMode) protected JMSContextUserCredentialsConnectionFactoryAdapter.doCreateContext(String username, String password, int sessionMode) protected QueueConnectionUserCredentialsConnectionFactoryAdapter.doCreateQueueConnection(String username, String password) This implementation delegates to thecreateQueueConnection(username, password)method of the target QueueConnectionFactory, passing in the specified user credentials.protected QueueConnectionUserCredentialsConnectionFactoryAdapter.doCreateQueueConnection(String username, String password) This implementation delegates to thecreateQueueConnection(username, password)method of the target QueueConnectionFactory, passing in the specified user credentials.protected TopicConnectionUserCredentialsConnectionFactoryAdapter.doCreateTopicConnection(String username, String password) This implementation delegates to thecreateTopicConnection(username, password)method of the target TopicConnectionFactory, passing in the specified user credentials.protected TopicConnectionUserCredentialsConnectionFactoryAdapter.doCreateTopicConnection(String username, String password) This implementation delegates to thecreateTopicConnection(username, password)method of the target TopicConnectionFactory, passing in the specified user credentials.protected void<S extends Session>
SJmsResourceHolder.getSession(Class<S> sessionType, Connection connection) Return this resource holder's Session of the given type for the given connection, ornullif none.static QueueSessionConnectionFactoryUtils.getTransactionalQueueSession(QueueConnectionFactory cf, QueueConnection existingCon, boolean synchedLocalTransactionAllowed) Obtain a JMS QueueSession that is synchronized with the current transaction, if any.static SessionConnectionFactoryUtils.getTransactionalSession(ConnectionFactory cf, Connection existingCon, boolean synchedLocalTransactionAllowed) Obtain a JMS Session that is synchronized with the current transaction, if any.static TopicSessionConnectionFactoryUtils.getTransactionalTopicSession(TopicConnectionFactory cf, TopicConnection existingCon, boolean synchedLocalTransactionAllowed) Obtain a JMS TopicSession that is synchronized with the current transaction, if any.static booleanConnectionFactoryUtils.isSessionTransactional(Session session, ConnectionFactory cf) Determine whether the given JMS Session is transactional, that is, bound to the current thread by Spring's transaction facilities.static booleanConnectionFactoryUtils.isSessionTransactional(Session session, ConnectionFactory cf) Determine whether the given JMS Session is transactional, that is, bound to the current thread by Spring's transaction facilities.static voidConnectionFactoryUtils.releaseConnection(Connection con, ConnectionFactory cf, boolean started) Release the given Connection, stopping it (if necessary) and eventually closing it.static voidConnectionFactoryUtils.releaseConnection(Connection con, ConnectionFactory cf, boolean started) Release the given Connection, stopping it (if necessary) and eventually closing it.voidSingleConnectionFactory.setClientId(String clientId) Specify a JMS client ID for the single Connection created and exposed by this ConnectionFactory.voidJmsTransactionManager.setConnectionFactory(ConnectionFactory cf) Set the JMS ConnectionFactory that this instance should manage transactions for.voidSingleConnectionFactory.setExceptionListener(ExceptionListener exceptionListener) Specify an JMS ExceptionListener implementation that should be registered with the single Connection created by this factory.voidDelegatingConnectionFactory.setTargetConnectionFactory(ConnectionFactory targetConnectionFactory) Set the target ConnectionFactory that this ConnectionFactory should delegate to.voidSingleConnectionFactory.setTargetConnectionFactory(ConnectionFactory targetConnectionFactory) Set the target ConnectionFactory which will be used to lazily create a single Connection.Constructor parameters in org.springframework.jms.connection with annotations of type NullableModifierConstructorDescriptionJmsResourceHolder(ConnectionFactory connectionFactory) Create a new JmsResourceHolder that is open for resources to be added.JmsResourceHolder(ConnectionFactory connectionFactory, Connection connection, Session session) Create a new JmsResourceHolder for the given JMS resources. -
Uses of Nullable in org.springframework.jms.core
Methods in org.springframework.jms.core with annotations of type NullableModifier and TypeMethodDescription<T> TJmsOperations.browse(Queue queue, BrowserCallback<T> action) Browse messages in a JMS queue.<T> TJmsOperations.browse(String queueName, BrowserCallback<T> action) Browse messages in a JMS queue.<T> TJmsOperations.browse(BrowserCallback<T> action) Browse messages in the default JMS queue.<T> TJmsTemplate.browse(Queue queue, BrowserCallback<T> action) <T> TJmsTemplate.browse(String queueName, BrowserCallback<T> action) <T> TJmsTemplate.browse(BrowserCallback<T> action) <T> TJmsOperations.browseSelected(Queue queue, String messageSelector, BrowserCallback<T> action) Browse selected messages in a JMS queue.<T> TJmsOperations.browseSelected(String queueName, String messageSelector, BrowserCallback<T> action) Browse selected messages in a JMS queue.<T> TJmsOperations.browseSelected(String messageSelector, BrowserCallback<T> action) Browse selected messages in a JMS queue.<T> TJmsTemplate.browseSelected(Queue queue, String messageSelector, BrowserCallback<T> action) <T> TJmsTemplate.browseSelected(String queueName, String messageSelector, BrowserCallback<T> action) <T> TJmsTemplate.browseSelected(String messageSelector, BrowserCallback<T> action) protected Message<?>JmsMessagingTemplate.convertJmsMessage(Message message) <T> TJmsMessageOperations.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessageto the given destination, receive the reply and convert its body of the specified target class.<T> TJmsMessageOperations.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, apply the given post-processor and send the resultingMessageto the given destination, receive the reply and convert its body of the given target class.<T> TJmsMessageOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessagewith the given headers, to the specified destination, receive the reply and convert its body of the specified target class.<T> TJmsMessageOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post-processor and send the resultingMessageto the specified destination, receive the reply and convert its body of the given target class.<T> TJmsMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass) <T> TJmsMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) protected ObjectJmsTemplate.doConvertFromMessage(Message message) Extract the content from the given JMS message.BrowserCallback.doInJms(Session session, QueueBrowser browser) Perform operations on the givenSessionandQueueBrowser.ProducerCallback.doInJms(Session session, MessageProducer producer) Perform operations on the givenSessionandMessageProducer.Execute any number of operations against the supplied JMSSession, possibly returning a result.protected Message<?>JmsMessagingTemplate.doReceive(Destination destination) protected Message<?>protected MessageJmsTemplate.doReceive(Session session, Destination destination, String messageSelector) Receive a JMS message.protected MessageJmsTemplate.doReceive(Session session, MessageConsumer consumer) Actually receive a JMS message.protected Message<?>JmsMessagingTemplate.doSendAndReceive(Destination destination, Message<?> requestMessage) protected Message<?>JmsMessagingTemplate.doSendAndReceive(String destinationName, Message<?> requestMessage) protected MessageJmsTemplate.doSendAndReceive(Session session, Destination destination, MessageCreator messageCreator) Send a request message to the givenDestinationand block until a reply has been received on a temporary queue created on-the-fly.<T> TJmsOperations.execute(Destination destination, ProducerCallback<T> action) Send messages to a JMS destination.<T> TJmsOperations.execute(String destinationName, ProducerCallback<T> action) Send messages to a JMS destination.<T> TJmsOperations.execute(ProducerCallback<T> action) Send messages to the default JMS destination (or one specified for each send operation).<T> TJmsOperations.execute(SessionCallback<T> action) Execute the action specified by the given action object within a JMS Session.<T> TJmsTemplate.execute(Destination destination, ProducerCallback<T> action) <T> TJmsTemplate.execute(String destinationName, ProducerCallback<T> action) <T> TJmsTemplate.execute(ProducerCallback<T> action) <T> TJmsTemplate.execute(SessionCallback<T> action) <T> TJmsTemplate.execute(SessionCallback<T> action, boolean startConnection) Execute the action specified by the given action object within a JMS Session.protected ConnectionJmsTemplate.getConnection(JmsResourceHolder holder) Fetch an appropriate Connection from the given JmsResourceHolder.JmsMessagingTemplate.getConnectionFactory()Return the ConnectionFactory that the underlyingJmsTemplateuses.JmsTemplate.getDefaultDestination()Return the destination to be used on send/receive operations that do not have a destination parameter.JmsMessagingTemplate.getDefaultDestinationName()Return the configured default destination name.JmsTemplate.getDefaultDestinationName()Return the destination name to be used on send/receive operations that do not have a destination parameter.JmsMessagingTemplate.getJmsTemplate()Return the configuredJmsTemplate.JmsTemplate.getMessageConverter()Return the message converter for this template.protected SessionJmsTemplate.getSession(JmsResourceHolder holder) Fetch an appropriate Session from the given JmsResourceHolder.Message<?>Receive a message from the given destination.Message<?>JmsMessagingTemplate.receive()Message<?>JmsOperations.receive()Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.JmsOperations.receive(Destination destination) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsTemplate.receive()JmsTemplate.receive(Destination destination) <T> TJmsMessageOperations.receiveAndConvert(String destinationName, Class<T> targetClass) Receive a message from the given destination and convert its payload to the specified target class.<T> TJmsMessagingTemplate.receiveAndConvert(Class<T> targetClass) <T> TJmsMessagingTemplate.receiveAndConvert(String destinationName, Class<T> targetClass) JmsOperations.receiveAndConvert()Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.JmsOperations.receiveAndConvert(Destination destination) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsOperations.receiveAndConvert(String destinationName) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsTemplate.receiveAndConvert()JmsTemplate.receiveAndConvert(Destination destination) JmsTemplate.receiveAndConvert(String destinationName) JmsOperations.receiveSelected(Destination destination, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelected(String messageSelector) Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelected(String destinationName, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsTemplate.receiveSelected(Destination destination, String messageSelector) JmsTemplate.receiveSelected(String messageSelector) JmsTemplate.receiveSelected(String destinationName, String messageSelector) JmsOperations.receiveSelectedAndConvert(Destination destination, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelectedAndConvert(String messageSelector) Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelectedAndConvert(String destinationName, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsTemplate.receiveSelectedAndConvert(Destination destination, String messageSelector) JmsTemplate.receiveSelectedAndConvert(String messageSelector) JmsTemplate.receiveSelectedAndConvert(String destinationName, String messageSelector) Message<?>JmsMessageOperations.sendAndReceive(String destinationName, Message<?> requestMessage) Send a request message and receive the reply from the given destination.Message<?>JmsMessagingTemplate.sendAndReceive(String destinationName, Message<?> requestMessage) Message<?>JmsMessagingTemplate.sendAndReceive(Message<?> requestMessage) JmsOperations.sendAndReceive(Destination destination, MessageCreator messageCreator) Send a message and receive the reply from the specified destination.JmsOperations.sendAndReceive(String destinationName, MessageCreator messageCreator) Send a message and receive the reply from the specified destination.JmsOperations.sendAndReceive(MessageCreator messageCreator) Send a request message and receive the reply from a default destination.JmsTemplate.sendAndReceive(Destination destination, MessageCreator messageCreator) JmsTemplate.sendAndReceive(String destinationName, MessageCreator messageCreator) JmsTemplate.sendAndReceive(MessageCreator messageCreator) Method parameters in org.springframework.jms.core with annotations of type NullableModifier and TypeMethodDescription<T> TJmsOperations.browseSelected(Queue queue, String messageSelector, BrowserCallback<T> action) Browse selected messages in a JMS queue.<T> TJmsOperations.browseSelected(String queueName, String messageSelector, BrowserCallback<T> action) Browse selected messages in a JMS queue.<T> TJmsOperations.browseSelected(String messageSelector, BrowserCallback<T> action) Browse selected messages in a JMS queue.<T> TJmsTemplate.browseSelected(Queue queue, String messageSelector, BrowserCallback<T> action) <T> TJmsTemplate.browseSelected(String queueName, String messageSelector, BrowserCallback<T> action) <T> TJmsTemplate.browseSelected(String messageSelector, BrowserCallback<T> action) voidJmsMessageOperations.convertAndSend(String destinationName, Object payload, Map<String, Object> headers) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers and send it to the given destination.voidJmsMessageOperations.convertAndSend(String destinationName, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post-processor, and send the resulting message to the given destination.voidJmsMessageOperations.convertAndSend(String destinationName, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post-processor, and send the resulting message to the given destination.voidJmsMessageOperations.convertAndSend(String destinationName, Object payload, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message, apply the given post-processor, and send the resulting message to the given destination.voidJmsMessagingTemplate.convertAndSend(Object payload, MessagePostProcessor postProcessor) voidJmsMessagingTemplate.convertAndSend(String destinationName, Object payload, Map<String, Object> headers) voidJmsMessagingTemplate.convertAndSend(String destinationName, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) voidJmsMessagingTemplate.convertAndSend(String destinationName, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) voidJmsMessagingTemplate.convertAndSend(String destinationName, Object payload, MessagePostProcessor postProcessor) protected Message<?>JmsMessagingTemplate.convertJmsMessage(Message message) <T> TJmsMessageOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessagewith the given headers, to the specified destination, receive the reply and convert its body of the specified target class.<T> TJmsMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TJmsMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) protected QueueBrowserJmsTemplate.createBrowser(Session session, Queue queue, String messageSelector) Create a JMS MessageProducer for the given Session and Destination, configuring it to disable message ids and/or timestamps (if necessary).protected MessageConsumerJmsTemplate.createConsumer(Session session, Destination destination, String messageSelector) Create a JMS MessageConsumer for the given Session and Destination.protected MessageProducerJmsTemplate.createProducer(Session session, Destination destination) Create a JMS MessageProducer for the given Session and Destination, configuring it to disable message ids and/or timestamps (if necessary).protected ObjectJmsTemplate.doConvertFromMessage(Message message) Extract the content from the given JMS message.protected MessageProducerJmsTemplate.doCreateProducer(Session session, Destination destination) Create a raw JMS MessageProducer for the given Session and Destination.protected MessageJmsTemplate.doReceive(Session session, Destination destination, String messageSelector) Receive a JMS message.<T> TJmsTemplate.execute(Destination destination, ProducerCallback<T> action) JmsOperations.receiveSelected(Destination destination, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelected(String messageSelector) Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelected(String destinationName, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsTemplate.receiveSelected(Destination destination, String messageSelector) JmsTemplate.receiveSelected(String messageSelector) JmsTemplate.receiveSelected(String destinationName, String messageSelector) JmsOperations.receiveSelectedAndConvert(Destination destination, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelectedAndConvert(String messageSelector) Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.JmsOperations.receiveSelectedAndConvert(String destinationName, String messageSelector) Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.JmsTemplate.receiveSelectedAndConvert(Destination destination, String messageSelector) JmsTemplate.receiveSelectedAndConvert(String messageSelector) JmsTemplate.receiveSelectedAndConvert(String destinationName, String messageSelector) voidJmsTemplate.setDefaultDestination(Destination destination) Set the destination to be used on send/receive operations that do not have a destination parameter.voidJmsMessagingTemplate.setDefaultDestinationName(String defaultDestinationName) Configure the default destination name to use in send methods that don't have a destination argument.voidJmsTemplate.setDefaultDestinationName(String destinationName) Set the destination name to be used on send/receive operations that do not have a destination parameter.voidJmsMessagingTemplate.setJmsTemplate(JmsTemplate jmsTemplate) Set theJmsTemplateto use.voidJmsTemplate.setMessageConverter(MessageConverter messageConverter) Set the message converter for this template. -
Uses of Nullable in org.springframework.jms.core.support
Methods in org.springframework.jms.core.support with annotations of type NullableModifier and TypeMethodDescriptionfinal ConnectionFactoryJmsGatewaySupport.getConnectionFactory()Return the JMS ConnectionFactory used by the gateway.final JmsTemplateJmsGatewaySupport.getJmsTemplate()Return the JmsTemplate for the gateway.Method parameters in org.springframework.jms.core.support with annotations of type NullableModifier and TypeMethodDescriptionfinal voidJmsGatewaySupport.setJmsTemplate(JmsTemplate jmsTemplate) Set the JmsTemplate for the gateway. -
Uses of Nullable in org.springframework.jms.listener
Methods in org.springframework.jms.listener with annotations of type NullableModifier and TypeMethodDescriptionprotected final StringAbstractJmsListeningContainer.getBeanName()Return the bean name that this listener container has been assigned in its containing bean factory, if any.AbstractJmsListeningContainer.getClientId()Return the JMS client ID for the shared Connection created and used by this container, if any.protected ConnectionAbstractPollingMessageListenerContainer.getConnection(JmsResourceHolder holder) Fetch an appropriate Connection from the given JmsResourceHolder.AbstractMessageListenerContainer.getDestination()Return the destination to receive messages from.AbstractMessageListenerContainer.getDestinationName()Return the name of the destination to receive messages from.MessageListenerContainer.getDestinationResolver()Return theDestinationResolverto use to resolve destinations by names.AbstractMessageListenerContainer.getDurableSubscriptionName()Return the name of a durable subscription to create, if any.AbstractMessageListenerContainer.getErrorHandler()Return theErrorHandlerto be invoked in case of any uncaught exceptions thrown while processing aMessage.AbstractMessageListenerContainer.getExceptionListener()Return the JMS ExceptionListener to notify in case of a JMSException thrown by the registered message listener or the invocation infrastructure, if any.AbstractMessageListenerContainer.getMessageConverter()MessageListenerContainer.getMessageConverter()Return theMessageConverterthat can be used to convertMessage, if any.AbstractMessageListenerContainer.getMessageListener()Return the message listener object to register.AbstractMessageListenerContainer.getMessageSelector()Return the JMS message selector expression (ornullif none).io.micrometer.observation.ObservationRegistryAbstractMessageListenerContainer.getObservationRegistry()Return theObservationRegistryused for recordingJMS message processing observations.AbstractMessageListenerContainer.getReplyQosSettings()MessageListenerContainer.getReplyQosSettings()Return theQosSettingsto use when sending a reply, ornullif the broker's defaults should be used.protected SessionAbstractPollingMessageListenerContainer.getSession(JmsResourceHolder holder) Fetch an appropriate Session from the given JmsResourceHolder.AbstractMessageListenerContainer.getSubscriptionName()Return the name of a subscription to create, if any.protected final PlatformTransactionManagerAbstractPollingMessageListenerContainer.getTransactionManager()Return the Spring PlatformTransactionManager to use for transactional wrapping of message receipt plus listener execution.protected MessageAbstractPollingMessageListenerContainer.receiveMessage(MessageConsumer consumer) Receive a message from the given consumer.Method parameters in org.springframework.jms.listener with annotations of type NullableModifier and TypeMethodDescriptionprotected voidAbstractMessageListenerContainer.checkMessageListener(Object messageListener) Check the given message listener, throwing an exception if it does not correspond to a supported listener type.protected voidAbstractMessageListenerContainer.commitIfNecessary(Session session, Message message) Perform a commit or message acknowledgement, as appropriate.protected booleanAbstractPollingMessageListenerContainer.doReceiveAndExecute(Object invoker, Session session, MessageConsumer consumer, TransactionStatus status) Actually execute the listener for a message received from the given consumer, fetching all requires resources and invoking the listener.protected booleanAbstractPollingMessageListenerContainer.doReceiveAndExecute(Object invoker, Session session, MessageConsumer consumer, TransactionStatus status) Actually execute the listener for a message received from the given consumer, fetching all requires resources and invoking the listener.protected booleanAbstractPollingMessageListenerContainer.doReceiveAndExecute(Object invoker, Session session, MessageConsumer consumer, TransactionStatus status) Actually execute the listener for a message received from the given consumer, fetching all requires resources and invoking the listener.protected booleanAbstractPollingMessageListenerContainer.receiveAndExecute(Object invoker, Session session, MessageConsumer consumer) Execute the listener for a message received from the given consumer, wrapping the entire operation in an external transaction if demanded.protected booleanAbstractPollingMessageListenerContainer.receiveAndExecute(Object invoker, Session session, MessageConsumer consumer) Execute the listener for a message received from the given consumer, wrapping the entire operation in an external transaction if demanded.voidAbstractJmsListeningContainer.setBeanName(String beanName) voidAbstractJmsListeningContainer.setClientId(String clientId) Specify the JMS client ID for a shared Connection created and used by this container.voidAbstractMessageListenerContainer.setDestination(Destination destination) Set the destination to receive messages from.voidAbstractMessageListenerContainer.setDestinationName(String destinationName) Set the name of the destination to receive messages from.voidAbstractMessageListenerContainer.setDurableSubscriptionName(String durableSubscriptionName) Set the name of a durable subscription to create.voidAbstractMessageListenerContainer.setErrorHandler(ErrorHandler errorHandler) Set theErrorHandlerto be invoked in case of any uncaught exceptions thrown while processing aMessage.voidAbstractMessageListenerContainer.setExceptionListener(ExceptionListener exceptionListener) Set the JMS ExceptionListener to notify in case of a JMSException thrown by the registered message listener or the invocation infrastructure.voidAbstractMessageListenerContainer.setMessageConverter(MessageConverter messageConverter) Set theMessageConverterstrategy for converting JMS Messages.voidAbstractMessageListenerContainer.setMessageListener(Object messageListener) Set the message listener implementation to register.voidAbstractMessageListenerContainer.setMessageSelector(String messageSelector) Set the JMS message selector expression (ornullif none).voidAbstractMessageListenerContainer.setObservationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) Set theObservationRegistryto be used for recordingJMS message processing observations.voidAbstractMessageListenerContainer.setReplyQosSettings(QosSettings replyQosSettings) Configure theQosSettingsto use when sending a reply.voidAbstractMessageListenerContainer.setSubscriptionName(String subscriptionName) Set the name of a subscription to create.voidAbstractPollingMessageListenerContainer.setTransactionManager(PlatformTransactionManager transactionManager) Specify the SpringPlatformTransactionManagerto use for transactional wrapping of message receipt plus listener execution. -
Uses of Nullable in org.springframework.jms.listener.adapter
Methods in org.springframework.jms.listener.adapter with annotations of type NullableModifier and TypeMethodDescriptionprotected MessageConverterAbstractAdaptableMessageListener.getMessageConverter()Return the converter that will convert incoming JMS messages to listener method arguments, and objects returned from listener methods back to JMS messages.protected QosSettingsAbstractAdaptableMessageListener.getResponseQosSettings()Return theQosSettingsto use when sending a response, ornullif the defaults should be used.protected ObjectMessageListenerAdapter.invokeListenerMethod(String methodName, Object[] arguments) Invoke the specified listener method.protected DestinationAbstractAdaptableMessageListener.resolveDefaultResponseDestination(Session session) Resolve the default response destination into a JMSDestination, using this accessor'sDestinationResolverin case of a destination name.JmsResponse.resolveDestination(DestinationResolver destinationResolver, Session session) Resolve theDestinationto use for this instance.Method parameters in org.springframework.jms.listener.adapter with annotations of type NullableModifier and TypeMethodDescriptionprotected voidAbstractAdaptableMessageListener.handleResult(Object result, Message request, Session session) Handle the given result object returned from the listener method, sending a response message back.abstract voidvoidSpringSessionAwareMessageListenerentry point.voidvoidAbstractAdaptableMessageListener.setMessageConverter(MessageConverter messageConverter) Set the converter that will convert incoming JMS messages to listener method arguments, and objects returned from listener methods back to JMS messages.voidAbstractAdaptableMessageListener.setResponseQosSettings(QosSettings responseQosSettings) Set theQosSettingsto use when sending a response. -
Uses of Nullable in org.springframework.jms.listener.endpoint
Methods in org.springframework.jms.listener.endpoint with annotations of type NullableModifier and TypeMethodDescriptionprotected Class<?>StandardJmsActivationSpecFactory.determineActivationSpecClass(ResourceAdapter adapter) Determine the ActivationSpec class for the given ResourceAdapter, if possible.JmsMessageEndpointManager.getActivationSpecConfig()Return theJmsActivationSpecConfigobject that this endpoint manager should use for activating its listener.JmsActivationSpecConfig.getClientId()JmsActivationSpecConfig.getDestinationName()JmsMessageEndpointManager.getDestinationResolver()StandardJmsActivationSpecFactory.getDestinationResolver()Return theDestinationResolverto use for resolving destinations names.JmsActivationSpecConfig.getDurableSubscriptionName()JmsActivationSpecConfig.getMessageConverter()Return theMessageConverterto use, if any.JmsMessageEndpointManager.getMessageConverter()JmsActivationSpecConfig.getMessageSelector()JmsActivationSpecConfig.getReplyQosSettings()JmsMessageEndpointManager.getReplyQosSettings()JmsActivationSpecConfig.getSubscriptionName()Method parameters in org.springframework.jms.listener.endpoint with annotations of type NullableModifier and TypeMethodDescriptionvoidJmsMessageEndpointManager.setActivationSpecConfig(JmsActivationSpecConfig activationSpecConfig) Specify theJmsActivationSpecConfigobject that this endpoint manager should use for activating its listener.voidJmsMessageEndpointManager.setActivationSpecFactory(JmsActivationSpecFactory activationSpecFactory) Set the factory for concrete JCA 1.5 ActivationSpec objects, creating JCA ActivationSpecs based onJmsActivationSpecConfigobjects.voidJmsActivationSpecConfig.setClientId(String clientId) voidJmsActivationSpecConfig.setDestinationName(String destinationName) voidStandardJmsActivationSpecFactory.setDestinationResolver(DestinationResolver destinationResolver) Set the DestinationResolver to use for resolving destination names into the JCA 1.5 ActivationSpec "destination" property.voidJmsActivationSpecConfig.setDurableSubscriptionName(String durableSubscriptionName) voidJmsActivationSpecConfig.setMessageConverter(MessageConverter messageConverter) Set theMessageConverterstrategy for converting JMS Messages.voidJmsActivationSpecConfig.setMessageSelector(String messageSelector) voidJmsActivationSpecConfig.setReplyQosSettings(QosSettings replyQosSettings) voidJmsActivationSpecConfig.setSubscriptionName(String subscriptionName) -
Uses of Nullable in org.springframework.jms.support
Methods in org.springframework.jms.support with annotations of type NullableModifier and TypeMethodDescriptionstatic StringJmsUtils.buildExceptionMessage(JMSException ex) Build a descriptive exception message for the given JMSException, incorporating a linked exception's message if appropriate.JmsAccessor.getConnectionFactory()Return the ConnectionFactory that this accessor uses for obtaining JMSConnections.JmsMessageHeaderAccessor.getCorrelationId()Return thecorrelationId.JmsMessageHeaderAccessor.getDeliveryMode()Return thedelivery mode.JmsMessageHeaderAccessor.getDestination()Return thedestination.JmsMessageHeaderAccessor.getExpiration()Return the messageexpiration.JmsMessageHeaderAccessor.getMessageId()Return themessage id.JmsMessageHeaderAccessor.getPriority()Return thepriority.JmsMessageHeaderAccessor.getRedelivered()Return theredeliveredflag.JmsMessageHeaderAccessor.getReplyTo()Return thereply to.JmsMessageHeaderAccessor.getTimestamp()Return thetimestamp.JmsMessageHeaderAccessor.getType()Return thetype.Method parameters in org.springframework.jms.support with annotations of type NullableModifier and TypeMethodDescriptionstatic voidJmsUtils.closeConnection(Connection con) Close the given JMS Connection and ignore any thrown exception.static voidJmsUtils.closeConnection(Connection con, boolean stop) Close the given JMS Connection and ignore any thrown exception.static voidJmsUtils.closeMessageConsumer(MessageConsumer consumer) Close the given JMS MessageConsumer and ignore any thrown exception.static voidJmsUtils.closeMessageProducer(MessageProducer producer) Close the given JMS MessageProducer and ignore any thrown exception.static voidJmsUtils.closeQueueBrowser(QueueBrowser browser) Close the given JMS QueueBrowser and ignore any thrown exception.static voidJmsUtils.closeQueueRequestor(QueueRequestor requestor) Close the given JMS QueueRequestor and ignore any thrown exception.static voidJmsUtils.closeSession(Session session) Close the given JMS Session and ignore any thrown exception.booleanvoidJmsAccessor.setConnectionFactory(ConnectionFactory connectionFactory) Set the ConnectionFactory to use for obtaining JMSConnections. -
Uses of Nullable in org.springframework.jms.support.converter
Methods in org.springframework.jms.support.converter with annotations of type NullableModifier and TypeMethodDescriptionprotected Class<?>MappingJackson2MessageConverter.getSerializationView(Object conversionHint) Determine a Jackson serialization view based on the given conversion hint.Method parameters in org.springframework.jms.support.converter with annotations of type NullableModifier and TypeMethodDescriptionprotected MessageMessagingMessageConverter.createMessageForPayload(Object payload, Session session, Object conversionHint) Create a JMS message for the specified payload and conversionHint.protected Class<?>MappingJackson2MessageConverter.getSerializationView(Object conversionHint) Determine a Jackson serialization view based on the given conversion hint.Convert a Java object to a JMS Message using the specified json view and the supplied session to create the message object.A variant ofMessageConverter.toMessage(Object, Session)which takes an extra conversion context as an argument, allowing to take, for example, annotations on a payload parameter into account.Constructor parameters in org.springframework.jms.support.converter with annotations of type NullableModifierConstructorDescriptionMessageConversionException(String msg, Throwable cause) Create a new MessageConversionException. -
Uses of Nullable in org.springframework.jms.support.destination
Methods in org.springframework.jms.support.destination with annotations of type NullableModifier and TypeMethodDescriptionprotected MessageJmsDestinationAccessor.receiveFromConsumer(MessageConsumer consumer, long timeout) Actually receive a message from the given consumer.Method parameters in org.springframework.jms.support.destination with annotations of type NullableModifier and TypeMethodDescriptionBeanFactoryDestinationResolver.resolveDestinationName(Session session, String destinationName, boolean pubSubDomain) DestinationResolver.resolveDestinationName(Session session, String destinationName, boolean pubSubDomain) Resolve the given destination name, either as located resource or as dynamic destination.DynamicDestinationResolver.resolveDestinationName(Session session, String destinationName, boolean pubSubDomain) Resolve the specified destination name as a dynamic destination.JndiDestinationResolver.resolveDestinationName(Session session, String destinationName, boolean pubSubDomain) Constructor parameters in org.springframework.jms.support.destination with annotations of type NullableModifierConstructorDescriptionDestinationResolutionException(String msg, Throwable cause) Create a new DestinationResolutionException. -
Uses of Nullable in org.springframework.jmx.access
Methods in org.springframework.jmx.access with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectMBeanClientInterceptor.convertResultValueIfNecessary(Object result, MethodParameter parameter) Convert the given result object (from attribute access or operation invocation) to the specified target class for returning from the proxy method.protected ObjectMBeanClientInterceptor.doInvoke(MethodInvocation invocation) Route the invocation to the configured managed resource.MBeanClientInterceptor.getEnvironment()AllowMapaccess to the environment to be set for the connector, with the option to add or override specific entries.NotificationListenerRegistrar.getEnvironment()AllowMapaccess to the environment to be set for the connector, with the option to add or override specific entries.protected final Class<?>MBeanClientInterceptor.getManagementInterface()Return the management interface of the target MBean, ornullif none specified.MBeanProxyFactoryBean.getObject()Class<?>MBeanProxyFactoryBean.getObjectType()protected ObjectMBeanClientInterceptor.handleConnectFailure(MethodInvocation invocation, Exception ex) Refresh the connection and retry the MBean invocation if possible.MBeanClientInterceptor.invoke(MethodInvocation invocation) Route the invocation to the configured managed resource.Method parameters in org.springframework.jmx.access with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectMBeanClientInterceptor.convertResultValueIfNecessary(Object result, MethodParameter parameter) Convert the given result object (from attribute access or operation invocation) to the specified target class for returning from the proxy method.voidMBeanClientInterceptor.setEnvironment(Map<String, ?> environment) Specify the environment for the JMX connector.voidNotificationListenerRegistrar.setEnvironment(Map<String, ?> environment) Specify the environment for the JMX connector.voidMBeanClientInterceptor.setManagementInterface(Class<?> managementInterface) Set the management interface of the target MBean, exposing bean property setters and getters for MBean attributes and conventional Java methods for MBean operations.Constructor parameters in org.springframework.jmx.access with annotations of type NullableModifierConstructorDescriptionCreate a newInvalidInvocationExceptionwith the supplied error message. -
Uses of Nullable in org.springframework.jmx.export
Methods in org.springframework.jmx.export with annotations of type NullableModifier and TypeMethodDescriptionprotected DynamicMBeanMBeanExporter.adaptMBeanIfPossible(Object bean) Build an adapted MBean for the given bean instance, if possible.Method parameters in org.springframework.jmx.export with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectNameMBeanExporter.getObjectName(Object bean, String beanKey) Retrieve theObjectNamefor a bean.protected booleanDetermine whether the given bean class qualifies as an MBean as-is. -
Uses of Nullable in org.springframework.jmx.export.annotation
Methods in org.springframework.jmx.export.annotation with annotations of type NullableModifier and TypeMethodDescriptionAnnotationJmxAttributeSource.getManagedAttribute(Method method) AnnotationJmxAttributeSource.getManagedMetric(Method method) AnnotationJmxAttributeSource.getManagedOperation(Method method) AnnotationJmxAttributeSource.getManagedResource(Class<?> beanClass) -
Uses of Nullable in org.springframework.jmx.export.assembler
Methods in org.springframework.jmx.export.assembler with annotations of type NullableModifier and TypeMethodDescriptionprotected IntegerAbstractReflectiveMBeanInfoAssembler.getDefaultCurrencyTimeLimit()Return default value for the JMX field "currencyTimeLimit", if any.protected ParameterNameDiscovererAbstractReflectiveMBeanInfoAssembler.getParameterNameDiscoverer()Return the ParameterNameDiscoverer to use for resolving method parameter names if needed (may benullin order to skip parameter detection).Method parameters in org.springframework.jmx.export.assembler with annotations of type NullableModifier and TypeMethodDescriptionprotected voidAbstractReflectiveMBeanInfoAssembler.populateAttributeDescriptor(Descriptor desc, Method getter, Method setter, String beanKey) Allows subclasses to add extra fields to theDescriptorfor a particular attribute.protected voidAbstractReflectiveMBeanInfoAssembler.populateAttributeDescriptor(Descriptor desc, Method getter, Method setter, String beanKey) Allows subclasses to add extra fields to theDescriptorfor a particular attribute.protected voidMetadataMBeanInfoAssembler.populateAttributeDescriptor(Descriptor desc, Method getter, Method setter, String beanKey) Adds descriptor fields from theManagedAttributeattribute or theManagedMetricattribute to the attribute descriptor.protected voidMetadataMBeanInfoAssembler.populateAttributeDescriptor(Descriptor desc, Method getter, Method setter, String beanKey) Adds descriptor fields from theManagedAttributeattribute or theManagedMetricattribute to the attribute descriptor.voidInterfaceBasedMBeanInfoAssembler.setBeanClassLoader(ClassLoader beanClassLoader) voidAbstractReflectiveMBeanInfoAssembler.setDefaultCurrencyTimeLimit(Integer defaultCurrencyTimeLimit) Set the default for the JMX field "currencyTimeLimit".voidInterfaceBasedMBeanInfoAssembler.setInterfaceMappings(Properties mappings) Set the mappings of bean keys to a comma-separated list of interface names.voidInterfaceBasedMBeanInfoAssembler.setManagedInterfaces(Class<?>... managedInterfaces) Set the array of interfaces to use for creating the management info.voidAbstractReflectiveMBeanInfoAssembler.setParameterNameDiscoverer(ParameterNameDiscoverer parameterNameDiscoverer) Set the ParameterNameDiscoverer to use for resolving method parameter names if needed (for example, for parameter names of MBean operation methods). -
Uses of Nullable in org.springframework.jmx.export.metadata
Methods in org.springframework.jmx.export.metadata with annotations of type NullableModifier and TypeMethodDescriptionManagedMetric.getCategory()The category of this metric (ex.ManagedAttribute.getDefaultValue()Return the default value of this attribute.ManagedNotification.getDescription()Return a description for this notification.ManagedMetric.getDisplayName()A display name for this metric.ManagedResource.getLogFile()JmxAttributeSource.getManagedAttribute(Method method) Implementations should return an instance ofManagedAttributeif the suppliedMethodhas the corresponding metadata.JmxAttributeSource.getManagedMetric(Method method) Implementations should return an instance ofManagedMetricif the suppliedMethodhas the corresponding metadata.JmxAttributeSource.getManagedOperation(Method method) Implementations should return an instance ofManagedOperationif the suppliedMethodhas the corresponding metadata.JmxAttributeSource.getManagedResource(Class<?> clazz) Implementations should return an instance ofManagedResourceif the suppliedClasshas the appropriate metadata.ManagedNotification.getName()Return the name of this notification.String[]ManagedNotification.getNotificationTypes()Return the list of notification types.ManagedResource.getObjectName()Return the JMX ObjectName of this managed resource.ManagedResource.getPersistLocation()ManagedResource.getPersistName()ManagedAttribute.getPersistPolicy()ManagedMetric.getPersistPolicy()The persist policy for this metric.ManagedResource.getPersistPolicy()ManagedMetric.getUnit()The expected unit of measurement values.Method parameters in org.springframework.jmx.export.metadata with annotations of type NullableModifier and TypeMethodDescriptionvoidManagedMetric.setCategory(String category) The category of this metric (ex.voidManagedAttribute.setDefaultValue(Object defaultValue) Set the default value of this attribute.voidManagedNotification.setDescription(String description) Set a description for this notification.voidManagedMetric.setDisplayName(String displayName) A display name for this metric.voidManagedResource.setLogFile(String logFile) voidSet the name of this notification.voidManagedNotification.setNotificationTypes(String... notificationTypes) Set a list of notification types.voidManagedResource.setObjectName(String objectName) Set the JMX ObjectName of this managed resource.voidManagedResource.setPersistLocation(String persistLocation) voidManagedResource.setPersistName(String persistName) voidManagedAttribute.setPersistPolicy(String persistPolicy) voidManagedMetric.setPersistPolicy(String persistPolicy) The persist policy for this metric.voidManagedResource.setPersistPolicy(String persistPolicy) voidThe expected unit of measurement values. -
Uses of Nullable in org.springframework.jmx.export.naming
Method parameters in org.springframework.jmx.export.naming with annotations of type NullableModifier and TypeMethodDescriptionIdentityNamingStrategy.getObjectName(Object managedBean, String beanKey) Returns an instance ofObjectNamebased on the identity of the managed resource.KeyNamingStrategy.getObjectName(Object managedBean, String beanKey) Attempts to retrieve theObjectNamevia the given key, trying to find a mapped value in the mappings first.MetadataNamingStrategy.getObjectName(Object managedBean, String beanKey) Reads theObjectNamefrom the source-level metadata associated with the managed resource'sClass.ObjectNamingStrategy.getObjectName(Object managedBean, String beanKey) Obtain anObjectNamefor the supplied bean. -
Uses of Nullable in org.springframework.jmx.support
Fields in org.springframework.jmx.support with annotations of type NullableModifier and TypeFieldDescriptionNotificationListenerHolder.mappedObjectNamesprotected MBeanServerMBeanRegistrationSupport.serverTheMBeanServerinstance being used to register beans.Methods in org.springframework.jmx.support with annotations of type NullableModifier and TypeMethodDescriptionNotificationListenerHolder.getHandback()Return the (arbitrary) object that will be 'handed back' as-is by anNotificationBroadcasterwhen notifying anyNotificationListener.static Class<?>JmxUtils.getMBeanInterface(Class<?> clazz) Return the Standard MBean interface for the given class, if any (that is, an interface whose name matches the class name of the given class but with suffix "MBean").static Class<?>JmxUtils.getMXBeanInterface(Class<?> clazz) Return the Java MXBean interface for the given class, if any (that is, an interface whose name ends with "MXBean" and/or carries an appropriate MXBean annotation).NotificationListenerHolder.getNotificationFilter()Return theNotificationFilterassociated with the encapsulatedNotificationListener.NotificationListenerHolder.getNotificationListener()Get theNotificationListener.ConnectorServerFactoryBean.getObject()MBeanServerConnectionFactoryBean.getObject()MBeanServerFactoryBean.getObject()NotificationListenerHolder.getResolvedObjectNames()Return the list ofObjectNameString representations for which the encapsulatedNotificationFilterwill be registered as a listener forNotifications.final MBeanServerMBeanRegistrationSupport.getServer()Return theMBeanServerthat the beans will be registered with.static Class<?>[]JmxUtils.parameterInfoToTypes(MBeanParameterInfo[] paramInfo) Convert an array ofMBeanParameterInfointo an array ofClassinstances corresponding to the parameters.static Class<?>[]JmxUtils.parameterInfoToTypes(MBeanParameterInfo[] paramInfo, ClassLoader classLoader) Convert an array ofMBeanParameterInfointo an array ofClassinstances corresponding to the parameters.Method parameters in org.springframework.jmx.support with annotations of type NullableModifier and TypeMethodDescriptionprotected MBeanServerMBeanServerFactoryBean.createMBeanServer(String defaultDomain, boolean registerWithFactory) Create a newMBeanServerinstance and register it with theMBeanServerFactory, if desired.booleanstatic Class<?>JmxUtils.getMBeanInterface(Class<?> clazz) Return the Standard MBean interface for the given class, if any (that is, an interface whose name matches the class name of the given class but with suffix "MBean").static Class<?>JmxUtils.getMXBeanInterface(Class<?> clazz) Return the Java MXBean interface for the given class, if any (that is, an interface whose name ends with "MXBean" and/or carries an appropriate MXBean annotation).static booleanDetermine whether the given bean class qualifies as an MBean as-is.static MBeanServerJmxUtils.locateMBeanServer(String agentId) Attempt to find a locally runningMBeanServer.protected MBeanServerMBeanServerFactoryBean.locateMBeanServer(String agentId) Attempt to locate an existingMBeanServer.static Class<?>[]JmxUtils.parameterInfoToTypes(MBeanParameterInfo[] paramInfo) Convert an array ofMBeanParameterInfointo an array ofClassinstances corresponding to the parameters.static Class<?>[]JmxUtils.parameterInfoToTypes(MBeanParameterInfo[] paramInfo, ClassLoader classLoader) Convert an array ofMBeanParameterInfointo an array ofClassinstances corresponding to the parameters.static Class<?>[]JmxUtils.parameterInfoToTypes(MBeanParameterInfo[] paramInfo, ClassLoader classLoader) Convert an array ofMBeanParameterInfointo an array ofClassinstances corresponding to the parameters.voidConnectorServerFactoryBean.setEnvironment(Properties environment) Set the environment properties used to construct theJMXConnectorServerasjava.util.Properties(String key/value pairs).voidConnectorServerFactoryBean.setEnvironmentMap(Map<String, ?> environment) Set the environment properties used to construct theJMXConnectoras aMapof String keys and arbitrary Object values.voidMBeanServerConnectionFactoryBean.setEnvironmentMap(Map<String, ?> environment) Set the environment properties used to construct theJMXConnectoras aMapof String keys and arbitrary Object values.voidNotificationListenerHolder.setHandback(Object handback) Set the (arbitrary) object that will be 'handed back' as-is by anNotificationBroadcasterwhen notifying anyNotificationListener.voidNotificationListenerHolder.setMappedObjectName(Object mappedObjectName) Set theObjectName-style name of the single MBean that the encapsulatedNotificationFilterwill be registered with to listen forNotifications.voidNotificationListenerHolder.setNotificationFilter(NotificationFilter notificationFilter) Set theNotificationFilterassociated with the encapsulatedNotificationFilter.voidNotificationListenerHolder.setNotificationListener(NotificationListener notificationListener) Set theNotificationListener.voidMBeanRegistrationSupport.setServer(MBeanServer server) Specify theMBeanServerinstance with which all beans should be registered. -
Uses of Nullable in org.springframework.jndi
Methods in org.springframework.jndi with annotations of type NullableModifier and TypeMethodDescriptionJndiCallback.doInContext(Context ctx) Do something with the given JNDI context.<T> TJndiTemplate.execute(JndiCallback<T> contextCallback) Execute the given JNDI context callback implementation.JndiTemplate.getEnvironment()Return the environment for the JNDI InitialContext, if any.Class<?>JndiObjectLocator.getExpectedType()Return the type that the located JNDI object is supposed to be assignable to, if any.JndiAccessor.getJndiEnvironment()Return the JNDI environment to use for JNDI lookups.JndiObjectLocator.getJndiName()Return the JNDI name to look up.JndiObjectFactoryBean.getObject()Return the singleton JNDI object.Class<?>JndiObjectFactoryBean.getObjectType()JndiPropertySource.getProperty(String name) This implementation looks up and returns the value associated with the given name from the underlyingJndiLocatorDelegate.JndiObjectTargetSource.getTarget()Class<?>JndiObjectTargetSource.getTargetClass()Method parameters in org.springframework.jndi with annotations of type NullableModifier and TypeMethodDescription<T> Tprotected <T> TPerform an actual JNDI lookup for the given name via the JndiTemplate.<T> TLook up the object with the given name in the current JNDI context.voidJndiTemplate.releaseContext(Context ctx) Release a JNDI context as obtained fromJndiTemplate.getContext().voidvoidJndiTemplate.setEnvironment(Properties environment) Set the environment for the JNDI InitialContext.voidJndiObjectLocator.setExpectedType(Class<?> expectedType) Specify the type that the located JNDI object is supposed to be assignable to, if any.voidJndiAccessor.setJndiEnvironment(Properties jndiEnvironment) Set the JNDI environment to use for JNDI lookups.voidJndiObjectLocator.setJndiName(String jndiName) Specify the JNDI name to look up.voidJndiAccessor.setJndiTemplate(JndiTemplate jndiTemplate) Set the JNDI template to use for JNDI lookups.Constructor parameters in org.springframework.jndi with annotations of type NullableModifierConstructorDescriptionJndiTemplate(Properties environment) Create a new JndiTemplate instance, using the given environment. -
Uses of Nullable in org.springframework.jndi.support
Methods in org.springframework.jndi.support with annotations of type NullableMethod parameters in org.springframework.jndi.support with annotations of type Nullable -
Uses of Nullable in org.springframework.mail
Methods in org.springframework.mail with annotations of type NullableModifier and TypeMethodDescriptionString[]SimpleMailMessage.getBcc()String[]SimpleMailMessage.getCc()SimpleMailMessage.getFrom()MailSendException.getMessage()SimpleMailMessage.getReplyTo()SimpleMailMessage.getSentDate()SimpleMailMessage.getSubject()SimpleMailMessage.getText()String[]SimpleMailMessage.getTo()Method parameters in org.springframework.mail with annotations of type NullableModifier and TypeMethodDescriptionbooleanvoidvoidvoidvoidvoidvoidSimpleMailMessage.setReplyTo(String replyTo) voidSimpleMailMessage.setSentDate(Date sentDate) voidSimpleMailMessage.setSubject(String subject) voidvoidConstructor parameters in org.springframework.mail with annotations of type NullableModifierConstructorDescriptionMailException(String msg, Throwable cause) Constructor for MailException.MailException(String msg, Throwable cause) Constructor for MailException.MailSendException(String msg, Throwable cause) Constructor for MailSendException.Constructor for registration of failed messages, with the messages that failed as keys, and the thrown exceptions as values.Constructor for registration of failed messages, with the messages that failed as keys, and the thrown exceptions as values. -
Uses of Nullable in org.springframework.mail.javamail
Methods in org.springframework.mail.javamail with annotations of type NullableModifier and TypeMethodDescriptionJavaMailSenderImpl.getDefaultEncoding()Return the default encoding forMimeMessages, ornullif none.protected StringMimeMessageHelper.getDefaultEncoding(MimeMessage mimeMessage) Determine the default encoding for the given MimeMessage.JavaMailSenderImpl.getDefaultFileTypeMap()MimeMessageHelper.getEncoding()Return the specific character encoding used for this message, if any.JavaMailSenderImpl.getHost()Return the mail server host.JavaMailSenderImpl.getPassword()Return the password for the account at the mail host.JavaMailSenderImpl.getProtocol()Return the mail protocol.JavaMailSenderImpl.getUsername()Return the username for the account at the mail host.Method parameters in org.springframework.mail.javamail with annotations of type NullableModifier and TypeMethodDescriptionvoidMimeMessageHelper.addInline(String contentId, String inlineFilename, DataSource dataSource) Add an inline element to the MimeMessage, taking the content from ajakarta.activation.DataSourceand assigning the providedinlineFileNameto the element.protected FileTypeMapConfigurableMimeFileTypeMap.createFileTypeMap(Resource mappingLocation, String[] mappings) Compile aFileTypeMapfrom the mappings in the given mapping file and the given mapping entries.protected FileTypeMapConfigurableMimeFileTypeMap.createFileTypeMap(Resource mappingLocation, String[] mappings) Compile aFileTypeMapfrom the mappings in the given mapping file and the given mapping entries.protected voidJavaMailSenderImpl.doSend(MimeMessage[] mimeMessages, Object[] originalMessages) Actually send the given array of MimeMessages via JavaMail.voidJavaMailSenderImpl.setDefaultEncoding(String defaultEncoding) Set the default encoding to use forMimeMessagescreated by this instance.voidJavaMailSenderImpl.setDefaultFileTypeMap(FileTypeMap defaultFileTypeMap) Set the default Java ActivationFileTypeMapto use forMimeMessagescreated by this instance.voidMimeMessageHelper.setFileTypeMap(FileTypeMap fileTypeMap) Set the Java Activation FrameworkFileTypeMapto use for determining the content type of inline content and attachments that get added to the message.voidSet the mail server host, typically an SMTP host.protected final voidMimeMessageHelper.setMimeMultiparts(MimeMultipart root, MimeMultipart main) Set the given MimeMultipart objects for use by this MimeMessageHelper.protected final voidMimeMessageHelper.setMimeMultiparts(MimeMultipart root, MimeMultipart main) Set the given MimeMultipart objects for use by this MimeMessageHelper.voidJavaMailSenderImpl.setPassword(String password) Set the password for the account at the mail host, if any.voidJavaMailSenderImpl.setProtocol(String protocol) Set the mail protocol.voidJavaMailSenderImpl.setUsername(String username) Set the username for the account at the mail host, if any.Constructor parameters in org.springframework.mail.javamail with annotations of type NullableModifierConstructorDescriptionMimeMessageHelper(MimeMessage mimeMessage, boolean multipart, String encoding) Create a new MimeMessageHelper for the given MimeMessage, in multipart mode (supporting alternative texts, inline elements and attachments) if requested.MimeMessageHelper(MimeMessage mimeMessage, int multipartMode, String encoding) Create a new MimeMessageHelper for the given MimeMessage, in multipart mode (supporting alternative texts, inline elements and attachments) if requested.MimeMessageHelper(MimeMessage mimeMessage, String encoding) Create a new MimeMessageHelper for the given MimeMessage, assuming a simple text message (no multipart content, i.e. -
Uses of Nullable in org.springframework.messaging
Methods in org.springframework.messaging with annotations of type NullableModifier and TypeMethodDescription<T> TMessageHeaders.getErrorChannel()Message<?>MessagingException.getFailedMessage()MessageHeaders.getId()MessageHeaders.getReplyChannel()MessageHeaders.getTimestamp()Message<?>PollableChannel.receive()Receive a message from this channel, blocking indefinitely if necessary.Message<?>PollableChannel.receive(long timeout) Receive a message from this channel, blocking until either a message is available or the specified timeout period elapses.Method parameters in org.springframework.messaging with annotations of type NullableConstructor parameters in org.springframework.messaging with annotations of type NullableModifierConstructorDescriptionMessageDeliveryException(Message<?> undeliveredMessage, String description, Throwable cause) MessageDeliveryException(Message<?> message, Throwable cause) MessageHeaders(Map<String, Object> headers) Construct aMessageHeaderswith the given headers.protectedConstructor providing control over the ID and TIMESTAMP header values.protectedConstructor providing control over the ID and TIMESTAMP header values.protectedConstructor providing control over the ID and TIMESTAMP header values.MessagingException(String description, Throwable cause) MessagingException(String description, Throwable cause) MessagingException(Message<?> message, String description, Throwable cause) MessagingException(Message<?> message, String description, Throwable cause) MessagingException(Message<?> message, Throwable cause) -
Uses of Nullable in org.springframework.messaging.converter
Methods in org.springframework.messaging.converter with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectAbstractJsonMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectAbstractMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) Convert the message payload from serialized form to an Object.protected ObjectByteArrayMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectMappingJackson2MessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectMarshallingMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectAbstractJsonMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectAbstractMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) Convert the payload object to serialized form.protected ObjectByteArrayMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectMappingJackson2MessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectMarshallingMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectStringMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) final ObjectAbstractMessageConverter.fromMessage(Message<?> message, Class<?> targetClass) final ObjectAbstractMessageConverter.fromMessage(Message<?> message, Class<?> targetClass, Object conversionHint) CompositeMessageConverter.fromMessage(Message<?> message, Class<?> targetClass) CompositeMessageConverter.fromMessage(Message<?> message, Class<?> targetClass, Object conversionHint) GenericMessageConverter.fromMessage(Message<?> message, Class<?> targetClass) MessageConverter.fromMessage(Message<?> message, Class<?> targetClass) Convert the payload of aMessagefrom a serialized form to a typed Object of the specified target class.SimpleMessageConverter.fromMessage(Message<?> message, Class<?> targetClass) SmartMessageConverter.fromMessage(Message<?> message, Class<?> targetClass, Object conversionHint) A variant ofMessageConverter.fromMessage(Message, Class)which takes an extra conversion context as an argument, allowing to take, for example, annotations on a payload parameter into account.AbstractMessageConverter.getContentTypeResolver()Return theconfiguredContentTypeResolver.protected MimeTypeAbstractMessageConverter.getDefaultContentType(Object payload) Return the default content type for the payload.DefaultContentTypeResolver.getDefaultMimeType()Return the default MIME type to use if noMessageHeaders.CONTENT_TYPEheader is present.MarshallingMessageConverter.getMarshaller()Return the configured Marshaller.protected MimeTypeAbstractMessageConverter.getMimeType(MessageHeaders headers) protected Class<?>MappingJackson2MessageConverter.getSerializationView(Object conversionHint) Determine a Jackson serialization view based on the given conversion hint.MarshallingMessageConverter.getUnmarshaller()Return the configured unmarshaller.ContentTypeResolver.resolve(MessageHeaders headers) Determine theMimeTypeof a message from the given MessageHeaders.DefaultContentTypeResolver.resolve(MessageHeaders headers) final Message<?>AbstractMessageConverter.toMessage(Object payload, MessageHeaders headers) final Message<?>AbstractMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) Message<?>CompositeMessageConverter.toMessage(Object payload, MessageHeaders headers) Message<?>CompositeMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) Message<?>MessageConverter.toMessage(Object payload, MessageHeaders headers) Create aMessagewhose payload is the result of converting the given payload Object to serialized form.Message<?>SmartMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) A variant ofMessageConverter.toMessage(Object, MessageHeaders)which takes an extra conversion context as an argument, allowing to take, for example, annotations on a return type into account.Method parameters in org.springframework.messaging.converter with annotations of type NullableModifier and TypeMethodDescriptionprotected booleanMappingJackson2MessageConverter.canConvertFrom(Message<?> message, Class<?> targetClass) protected booleanAbstractMessageConverter.canConvertTo(Object payload, MessageHeaders headers) protected booleanMappingJackson2MessageConverter.canConvertTo(Object payload, MessageHeaders headers) protected booleanMarshallingMessageConverter.canConvertTo(Object payload, MessageHeaders headers) protected booleanProtobufMessageConverter.canConvertTo(Object payload, MessageHeaders headers) protected ObjectAbstractJsonMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectAbstractMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) Convert the message payload from serialized form to an Object.protected ObjectByteArrayMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectByteArrayMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectMappingJackson2MessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectMarshallingMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectProtobufMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectStringMessageConverter.convertFromInternal(Message<?> message, Class<?> targetClass, Object conversionHint) protected ObjectAbstractJsonMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectAbstractJsonMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectAbstractMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) Convert the payload object to serialized form.protected ObjectAbstractMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) Convert the payload object to serialized form.protected ObjectByteArrayMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectByteArrayMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectMappingJackson2MessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectMappingJackson2MessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectMarshallingMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectMarshallingMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectProtobufMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectProtobufMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectStringMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) protected ObjectStringMessageConverter.convertToInternal(Object payload, MessageHeaders headers, Object conversionHint) final ObjectAbstractMessageConverter.fromMessage(Message<?> message, Class<?> targetClass, Object conversionHint) CompositeMessageConverter.fromMessage(Message<?> message, Class<?> targetClass, Object conversionHint) SmartMessageConverter.fromMessage(Message<?> message, Class<?> targetClass, Object conversionHint) A variant ofMessageConverter.fromMessage(Message, Class)which takes an extra conversion context as an argument, allowing to take, for example, annotations on a payload parameter into account.protected JsonEncodingMappingJackson2MessageConverter.getJsonEncoding(MimeType contentType) Determine the JSON encoding to use for the given content type.protected MimeTypeAbstractMessageConverter.getMimeType(MessageHeaders headers) protected Class<?>MappingJackson2MessageConverter.getSerializationView(Object conversionHint) Determine a Jackson serialization view based on the given conversion hint.protected voidMappingJackson2MessageConverter.logWarningIfNecessary(Type type, Throwable cause) Determine whether to log the given exception coming from aObjectMapper.canDeserialize(com.fasterxml.jackson.databind.JavaType)/ObjectMapper.canSerialize(java.lang.Class<?>)check.ContentTypeResolver.resolve(MessageHeaders headers) Determine theMimeTypeof a message from the given MessageHeaders.DefaultContentTypeResolver.resolve(MessageHeaders headers) voidAbstractMessageConverter.setContentTypeResolver(ContentTypeResolver resolver) Configure aContentTypeResolverfor resolving the content type of input messages.voidDefaultContentTypeResolver.setDefaultMimeType(MimeType defaultMimeType) Set the default MIME type to use when there is noMessageHeaders.CONTENT_TYPEheader present.voidMarshallingMessageConverter.setMarshaller(Marshaller marshaller) Set theMarshallerto be used by this message converter.voidMarshallingMessageConverter.setUnmarshaller(Unmarshaller unmarshaller) Set theUnmarshallerto be used by this message converter.protected booleanAbstractMessageConverter.supportsMimeType(MessageHeaders headers) final Message<?>AbstractMessageConverter.toMessage(Object payload, MessageHeaders headers) final Message<?>AbstractMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) final Message<?>AbstractMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) Message<?>CompositeMessageConverter.toMessage(Object payload, MessageHeaders headers) Message<?>CompositeMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) Message<?>CompositeMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) Message<?>MessageConverter.toMessage(Object payload, MessageHeaders headers) Create aMessagewhose payload is the result of converting the given payload Object to serialized form.Message<?>SimpleMessageConverter.toMessage(Object payload, MessageHeaders headers) Message<?>SmartMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) A variant ofMessageConverter.toMessage(Object, MessageHeaders)which takes an extra conversion context as an argument, allowing to take, for example, annotations on a return type into account.Message<?>SmartMessageConverter.toMessage(Object payload, MessageHeaders headers, Object conversionHint) A variant ofMessageConverter.toMessage(Object, MessageHeaders)which takes an extra conversion context as an argument, allowing to take, for example, annotations on a return type into account.Constructor parameters in org.springframework.messaging.converter with annotations of type NullableModifierConstructorDescriptionMessageConversionException(String description, Throwable cause) MessageConversionException(String description, Throwable cause) MessageConversionException(Message<?> failedMessage, String description, Throwable cause) MessageConversionException(Message<?> failedMessage, String description, Throwable cause) ProtobufJsonFormatMessageConverter(com.google.protobuf.ExtensionRegistry extensionRegistry) Constructor with default instances ofJsonFormat.Parser,JsonFormat.Printer, andExtensionRegistry.ProtobufJsonFormatMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, and a default instance ofExtensionRegistry.ProtobufJsonFormatMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, and a default instance ofExtensionRegistry.ProtobufJsonFormatMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer, com.google.protobuf.ExtensionRegistry extensionRegistry) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, andExtensionRegistry.ProtobufJsonFormatMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer, com.google.protobuf.ExtensionRegistry extensionRegistry) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, andExtensionRegistry.ProtobufJsonFormatMessageConverter(com.google.protobuf.util.JsonFormat.Parser parser, com.google.protobuf.util.JsonFormat.Printer printer, com.google.protobuf.ExtensionRegistry extensionRegistry) Constructor with given instances ofJsonFormat.Parser,JsonFormat.Printer, andExtensionRegistry. -
Uses of Nullable in org.springframework.messaging.core
Methods in org.springframework.messaging.core with annotations of type NullableModifier and TypeMethodDescription<T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass) <T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) <T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Class<T> targetClass) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass) <T> TAbstractMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message and send it to the resolved destination, receive a reply and convert its body to the specified target class.<T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message, apply the given post-process, and send the resulting message to the resolved destination, then receive a reply and convert its body to the specified target class.<T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers and send it to the resolved destination, receive a reply and convert its body to the specified target class.<T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post-process, and send the resulting message to the resolved destination, then receive a reply and convert its body to the specified target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessageto the given destination, receive the reply and convert its body of the specified target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, apply the given post-processor and send the resultingMessageto the given destination, receive the reply and convert its body of the given target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessagewith the given headers, to the specified destination, receive the reply and convert its body of the specified target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post-processor and send the resultingMessageto the specified destination, receive the reply and convert its body of the given target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(Object request, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessageto a default destination, receive the reply and convert its body of the specified target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, apply the given post-processor and send the resultingMessageto a default destination, receive the reply and convert its body of the given target class.protected <T> TConvert from the given message to the given target class.protected abstract Message<?>Actually receive a message from the given destination.protected final Message<?>GenericMessagingTemplate.doReceive(MessageChannel channel) protected final Message<?>GenericMessagingTemplate.doReceive(MessageChannel channel, long timeout) protected abstract Message<?>AbstractMessagingTemplate.doSendAndReceive(D destination, Message<?> requestMessage) Actually send the given request message to the given destination and receive a reply message for it.protected final Message<?>GenericMessagingTemplate.doSendAndReceive(MessageChannel channel, Message<?> requestMessage) AbstractMessageSendingTemplate.getDefaultDestination()Return the configured default destination.AbstractDestinationResolvingMessagingTemplate.getDestinationResolver()Return the configured destination resolver.AbstractMessageSendingTemplate.processHeadersToSend(Map<String, Object> headers) Provides access to the map of input headers before a send operation.Message<?>Message<?>AbstractMessageReceivingTemplate.receive()Message<?>Message<?>Resolve the given destination name and receive a message from it.Message<?>MessageReceivingOperations.receive()Receive a message from a default destination.Message<?>Receive a message from the given destination.<T> TAbstractDestinationResolvingMessagingTemplate.receiveAndConvert(String destinationName, Class<T> targetClass) <T> TAbstractMessageReceivingTemplate.receiveAndConvert(D destination, Class<T> targetClass) <T> TAbstractMessageReceivingTemplate.receiveAndConvert(Class<T> targetClass) <T> TDestinationResolvingMessageReceivingOperations.receiveAndConvert(String destinationName, Class<T> targetClass) Resolve the given destination name, receive a message from it, convert the payload to the specified target type.<T> TMessageReceivingOperations.receiveAndConvert(D destination, Class<T> targetClass) Receive a message from the given destination and convert its payload to the specified target class.<T> TMessageReceivingOperations.receiveAndConvert(Class<T> targetClass) Receive a message from a default destination and convert its payload to the specified target class.Message<?>AbstractDestinationResolvingMessagingTemplate.sendAndReceive(String destinationName, Message<?> requestMessage) Message<?>AbstractMessagingTemplate.sendAndReceive(D destination, Message<?> requestMessage) Message<?>AbstractMessagingTemplate.sendAndReceive(Message<?> requestMessage) Message<?>DestinationResolvingMessageRequestReplyOperations.sendAndReceive(String destinationName, Message<?> requestMessage) Resolve the given destination name to a destination and send the given message, receive a reply and return it.Message<?>MessageRequestReplyOperations.sendAndReceive(D destination, Message<?> requestMessage) Send a request message and receive the reply from the given destination.Message<?>MessageRequestReplyOperations.sendAndReceive(Message<?> requestMessage) Send a request message and receive the reply from a default destination.Method parameters in org.springframework.messaging.core with annotations of type NullableModifier and TypeMethodDescription<T> voidAbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName, T payload, Map<String, Object> headers) <T> voidAbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName, T payload, Map<String, Object> headers, MessagePostProcessor postProcessor) <T> voidAbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName, T payload, Map<String, Object> headers, MessagePostProcessor postProcessor) <T> voidAbstractDestinationResolvingMessagingTemplate.convertAndSend(String destinationName, T payload, MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(D destination, Object payload, Map<String, Object> headers) voidAbstractMessageSendingTemplate.convertAndSend(D destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(D destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(D destination, Object payload, MessagePostProcessor postProcessor) voidAbstractMessageSendingTemplate.convertAndSend(Object payload, MessagePostProcessor postProcessor) <T> voidDestinationResolvingMessageSendingOperations.convertAndSend(String destinationName, T payload, Map<String, Object> headers) Resolve the given destination name to a destination, convert the payload Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers and send it to the resolved destination.<T> voidDestinationResolvingMessageSendingOperations.convertAndSend(String destinationName, T payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Resolve the given destination name to a destination, convert the payload Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post-processor, and send the resulting message to the resolved destination.<T> voidDestinationResolvingMessageSendingOperations.convertAndSend(String destinationName, T payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Resolve the given destination name to a destination, convert the payload Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post-processor, and send the resulting message to the resolved destination.<T> voidDestinationResolvingMessageSendingOperations.convertAndSend(String destinationName, T payload, MessagePostProcessor postProcessor) Resolve the given destination name to a destination, convert the payload Object to serialized form, possibly using aMessageConverter, wrap it as a message, apply the given post-processor, and send the resulting message to the resolved destination.voidConvert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers and send it to the given destination.voidMessageSendingOperations.convertAndSend(D destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post-processor, and send the resulting message to the given destination.voidMessageSendingOperations.convertAndSend(D destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post-processor, and send the resulting message to the given destination.voidMessageSendingOperations.convertAndSend(D destination, Object payload, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message, apply the given post-processor, and send the resulting message to the given destination.voidMessageSendingOperations.convertAndSend(Object payload, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message, apply the given post-processor, and send the resulting message to a default destination.<T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) <T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractDestinationResolvingMessagingTemplate.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractMessagingTemplate.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TAbstractMessagingTemplate.convertSendAndReceive(Object request, Class<T> targetClass, MessagePostProcessor postProcessor) <T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message, apply the given post-process, and send the resulting message to the resolved destination, then receive a reply and convert its body to the specified target class.<T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers and send it to the resolved destination, receive a reply and convert its body to the specified target class.<T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post-process, and send the resulting message to the resolved destination, then receive a reply and convert its body to the specified target class.<T> TDestinationResolvingMessageRequestReplyOperations.convertSendAndReceive(String destinationName, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Resolve the given destination name, convert the payload request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post-process, and send the resulting message to the resolved destination, then receive a reply and convert its body to the specified target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass) Convert the given request Object to serialized form, possibly using aMessageConverter, send it as aMessagewith the given headers, to the specified destination, receive the reply and convert its body of the specified target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post-processor and send the resultingMessageto the specified destination, receive the reply and convert its body of the given target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(D destination, Object request, Map<String, Object> headers, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers, apply the given post-processor and send the resultingMessageto the specified destination, receive the reply and convert its body of the given target class.<T> TMessageRequestReplyOperations.convertSendAndReceive(Object request, Class<T> targetClass, MessagePostProcessor requestPostProcessor) Convert the given request Object to serialized form, possibly using aMessageConverter, apply the given post-processor and send the resultingMessageto a default destination, receive the reply and convert its body of the given target class.protected Message<?>AbstractMessageSendingTemplate.doConvert(Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers and apply the given post-processor.protected Message<?>AbstractMessageSendingTemplate.doConvert(Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Convert the given Object to serialized form, possibly using aMessageConverter, wrap it as a message with the given headers and apply the given post-processor.AbstractMessageSendingTemplate.processHeadersToSend(Map<String, Object> headers) Provides access to the map of input headers before a send operation.voidAbstractMessageSendingTemplate.setDefaultDestination(D defaultDestination) Configure the default destination to use in send methods that don't have a destination argument.voidAbstractDestinationResolvingMessagingTemplate.setDestinationResolver(DestinationResolver<D> destinationResolver) Configure theDestinationResolverto use to resolve String destination names into actual destinations of type<D>.Constructor parameters in org.springframework.messaging.core with annotations of type NullableModifierConstructorDescriptionDestinationResolutionException(String description, Throwable cause) DestinationResolutionException(String description, Throwable cause) -
Uses of Nullable in org.springframework.messaging.handler
Methods in org.springframework.messaging.handler with annotations of type NullableModifier and TypeMethodDescriptionClass<?>MessagingAdviceBean.getBeanType()Return the type of the contained advice bean.CompositeMessageCondition.getMatchingCondition(Message<?> message) DestinationPatternsMessageCondition.getMatchingCondition(Message<?> message) Check if any of the patterns match the given Message destination and return an instance that is guaranteed to contain matching patterns, sorted viaPathMatcher.getPatternComparator(String).MessageCondition.getMatchingCondition(Message<?> message) Check if this condition matches the given Message and returns a potentially new condition with content tailored to the current message.HandlerMethod.getResolvedFromHandlerMethod()Return the HandlerMethod from which this HandlerMethod instance was resolved viaHandlerMethod.createWithResolvedBean().Method parameters in org.springframework.messaging.handler with annotations of type NullableModifier and TypeMethodDescriptionbooleanbooleanbooleanConstructor parameters in org.springframework.messaging.handler with annotations of type NullableModifierConstructorDescriptionDestinationPatternsMessageCondition(String[] patterns, PathMatcher matcher) Constructor with patterns and aPathMatcherinstance. -
Uses of Nullable in org.springframework.messaging.handler.annotation
Methods in org.springframework.messaging.handler.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected TypeMessageMappingReflectiveProcessor.getMessageType(MethodParameter parameter) -
Uses of Nullable in org.springframework.messaging.handler.annotation.reactive
Methods in org.springframework.messaging.handler.annotation.reactive with annotations of type NullableModifier and TypeMethodDescriptionprotected CompositeMessageConditionMessageMappingMessageHandler.getCondition(AnnotatedElement element) Determine the mapping condition for the given annotated element.protected RouteMatcher.RouteMessageMappingMessageHandler.getDestination(Message<?> message) protected CompositeMessageConditionMessageMappingMessageHandler.getMappingForMethod(Method method, Class<?> handlerType) protected CompositeMessageConditionMessageMappingMessageHandler.getMatchingMapping(CompositeMessageCondition mapping, Message<?> message) protected MimeTypePayloadMethodArgumentResolver.getMimeType(Message<?> message) Return the mime type for the content.MessageMappingMessageHandler.getRouteMatcher()Return theRouteMatcherused to map messages to handlers.MessageMappingMessageHandler.getValidator()Return the configured Validator instance.PayloadMethodArgumentResolver.getValidator()Return the configured validator, if any.protected abstract ObjectAbstractNamedValueMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) Resolves the given parameter type and value name into an argument value.protected ObjectDestinationVariableMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) protected ObjectHeaderMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) AbstractNamedValueMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter, Message<?> message) HeadersMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter, Message<?> message) Method parameters in org.springframework.messaging.handler.annotation.reactive with annotations of type NullableModifier and TypeMethodDescriptionvoidMessageMappingMessageHandler.setRouteMatcher(RouteMatcher routeMatcher) Set theRouteMatcherto use for mapping messages to handlers based on the route patterns they're configured with.voidMessageMappingMessageHandler.setValidator(Validator validator) Set the Validator instance used for validating@Payloadarguments.Constructor parameters in org.springframework.messaging.handler.annotation.reactive with annotations of type NullableModifierConstructorDescriptionprotectedAbstractNamedValueMethodArgumentResolver(ConversionService conversionService, ConfigurableBeanFactory beanFactory) Constructor with aConversionServiceand aBeanFactory.HeaderMethodArgumentResolver(ConversionService conversionService, ConfigurableBeanFactory beanFactory) protectedNamedValueInfo(String name, boolean required, String defaultValue) PayloadMethodArgumentResolver(List<? extends Decoder<?>> decoders, Validator validator, ReactiveAdapterRegistry registry, boolean useDefaultResolution) PayloadMethodArgumentResolver(List<? extends Decoder<?>> decoders, Validator validator, ReactiveAdapterRegistry registry, boolean useDefaultResolution) -
Uses of Nullable in org.springframework.messaging.handler.annotation.support
Methods in org.springframework.messaging.handler.annotation.support with annotations of type NullableModifier and TypeMethodDescriptionfinal BindingResultMethodArgumentNotValidException.getBindingResult()Return the BindingResult if the failure is validation-related, ornullif none.AbstractNamedValueMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) HeadersMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) PayloadMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) protected abstract ObjectAbstractNamedValueMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) Resolves the given parameter type and value name into an argument value.protected ObjectDestinationVariableMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) protected ObjectHeaderMethodArgumentResolver.resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) Method parameters in org.springframework.messaging.handler.annotation.support with annotations of type NullableModifier and TypeMethodDescriptionprotected voidAbstractNamedValueMethodArgumentResolver.handleResolvedValue(Object arg, String name, MethodParameter parameter, Message<?> message) Invoked after a value is resolved.protected booleanMessageMethodArgumentResolver.isEmptyPayload(Object payload) Check if the givenpayloadis empty.protected booleanPayloadMethodArgumentResolver.isEmptyPayload(Object payload) Specify if the givenpayloadis empty.voidDefaultMessageHandlerMethodFactory.setArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) Configure the complete list of supported argument types effectively overriding the ones configured by default.Constructor parameters in org.springframework.messaging.handler.annotation.support with annotations of type NullableModifierConstructorDescriptionprotectedAbstractNamedValueMethodArgumentResolver(ConversionService conversionService, ConfigurableBeanFactory beanFactory) Constructor with aConversionServiceand aBeanFactory.HeaderMethodArgumentResolver(ConversionService conversionService, ConfigurableBeanFactory beanFactory) MessageMethodArgumentResolver(MessageConverter converter) Create a resolver instance with the givenMessageConverter.protectedNamedValueInfo(String name, boolean required, String defaultValue) PayloadMethodArgumentResolver(MessageConverter messageConverter, Validator validator) PayloadMethodArgumentResolver(MessageConverter messageConverter, Validator validator, boolean useDefaultResolution) -
Uses of Nullable in org.springframework.messaging.handler.invocation
Methods in org.springframework.messaging.handler.invocation with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectInvoke the handler method with the given argument values.AbstractMethodMessageHandler.getApplicationContext()protected abstract StringAbstractMethodMessageHandler.getDestination(Message<?> message) protected InvocableHandlerMethodAbstractMethodMessageHandler.getExceptionHandlerMethod(HandlerMethod handlerMethod, Exception exception) Find an@MessageExceptionHandlermethod for the given exception.protected LogAbstractMethodMessageHandler.getHandlerMethodLogger()Return a logger to set onInvocableHandlerMethod.protected StringAbstractMethodMessageHandler.getLookupDestination(String destination) Check whether the given destination (of an incoming message) matches to one of the configured destination prefixes and if so return the remaining portion of the destination after the matched prefix.protected abstract TAbstractMethodMessageHandler.getMappingForMethod(Method method, Class<?> handlerType) Provide the mapping for a handler method.protected abstract TAbstractMethodMessageHandler.getMatchingMapping(T mapping, Message<?> message) Check if a mapping matches the current message and return a possibly new mapping with conditions relevant to the current request.protected LogAbstractMethodMessageHandler.getReturnValueHandlerLogger()Return a logger to set onHandlerMethodReturnValueHandlerComposite.Invoke the method after resolving its argument values in the context of the given message.HandlerMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) Resolves a method parameter into an argument value from a given message.HandlerMethodArgumentResolverComposite.resolveArgument(MethodParameter parameter, Message<?> message) Iterate over registeredHandlerMethodArgumentResolversand invoke the one that supports it.AbstractExceptionHandlerMethodResolver.resolveMethod(Throwable exception) Find aMethodto handle the given exception.AbstractExceptionHandlerMethodResolver.resolveMethodByExceptionType(Class<? extends Throwable> exceptionType) Find aMethodto handle the given exception type.AsyncHandlerMethodReturnValueHandler.toCompletableFuture(Object returnValue, MethodParameter returnType) Adapt the asynchronous return value to aCompletableFuture.HandlerMethodReturnValueHandlerComposite.toCompletableFuture(Object returnValue, MethodParameter returnType) ReactiveReturnValueHandler.toCompletableFuture(Object returnValue, MethodParameter returnType) default ListenableFuture<?>AsyncHandlerMethodReturnValueHandler.toListenableFuture(Object returnValue, MethodParameter returnType) Deprecated, for removal: This API element is subject to removal in a future version.as of 6.0, in favor ofAsyncHandlerMethodReturnValueHandler.toCompletableFuture(Object, MethodParameter)Method parameters in org.springframework.messaging.handler.invocation with annotations of type NullableModifier and TypeMethodDescriptionHandlerMethodReturnValueHandlerComposite.addHandlers(List<? extends HandlerMethodReturnValueHandler> handlers) Add the givenHandlerMethodReturnValueHandlers.HandlerMethodArgumentResolverComposite.addResolvers(List<? extends HandlerMethodArgumentResolver> resolvers) Add the givenHandlerMethodArgumentResolvers.HandlerMethodArgumentResolverComposite.addResolvers(HandlerMethodArgumentResolver... resolvers) Add the givenHandlerMethodArgumentResolvers.protected StringAbstractMethodMessageHandler.getLookupDestination(String destination) Check whether the given destination (of an incoming message) matches to one of the configured destination prefixes and if so return the remaining portion of the destination after the matched prefix.protected Object[]InvocableHandlerMethod.getMethodArgumentValues(Message<?> message, Object... providedArgs) Get the method argument values for the current message, checking the provided argument values and falling back to the configured argument resolvers.voidAbstractAsyncReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) voidHandlerMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) Handle the given return value.voidHandlerMethodReturnValueHandlerComposite.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) Invoke the method after resolving its argument values in the context of the given message.voidAbstractMethodMessageHandler.setApplicationContext(ApplicationContext applicationContext) voidAbstractMethodMessageHandler.setArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers) Configure the complete list of supported argument types, effectively overriding the ones configured by default.voidAbstractMethodMessageHandler.setCustomArgumentResolvers(List<HandlerMethodArgumentResolver> customArgumentResolvers) Sets the list of customHandlerMethodArgumentResolvers that will be used after resolvers for supported argument type.voidAbstractMethodMessageHandler.setCustomReturnValueHandlers(List<HandlerMethodReturnValueHandler> customReturnValueHandlers) Set the list of customHandlerMethodReturnValueHandlers that will be used after return value handlers for known types.voidAbstractMethodMessageHandler.setDestinationPrefixes(Collection<String> prefixes) When this property is configured only messages to destinations matching one of the configured prefixes are eligible for handling.voidAbstractMethodMessageHandler.setReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers) Configure the complete list of supported return value types, effectively overriding the ones configured by default.Constructor parameters in org.springframework.messaging.handler.invocation with annotations of type NullableModifierConstructorDescriptionMethodArgumentResolutionException(Message<?> message, MethodParameter parameter, String description, Throwable cause) Create a new instance providing the invalidMethodParameter, prepared description, and a cause. -
Uses of Nullable in org.springframework.messaging.handler.invocation.reactive
Methods in org.springframework.messaging.handler.invocation.reactive with annotations of type NullableModifier and TypeMethodDescriptionAbstractMethodMessageHandler.getApplicationContext()HandlerMethodArgumentResolverComposite.getArgumentResolver(MethodParameter parameter) Find a registeredHandlerMethodArgumentResolverthat supports the given method parameter.protected abstract RouteMatcher.RouteAbstractMethodMessageHandler.getDestination(Message<?> message) Extract the destination from the given message.AbstractMethodMessageHandler.getHandlerPredicate()Return theconfiguredhandler predicate.protected abstract TAbstractMethodMessageHandler.getMappingForMethod(Method method, Class<?> handlerType) Obtain the mapping for the given method, if any.protected abstract TAbstractMethodMessageHandler.getMatchingMapping(T mapping, Message<?> message) Check if a mapping matches the current message and return a possibly new mapping with conditions relevant to the current request.SyncHandlerMethodArgumentResolver.resolveArgumentValue(MethodParameter parameter, Message<?> message) Resolve the value for the method parameter synchronously.Method parameters in org.springframework.messaging.handler.invocation.reactive with annotations of type NullableModifier and TypeMethodDescriptionHandlerMethodReturnValueHandlerComposite.addHandlers(List<? extends HandlerMethodReturnValueHandler> handlers) Add the givenHandlerMethodReturnValueHandlers.HandlerMethodArgumentResolverComposite.addResolvers(List<? extends HandlerMethodArgumentResolver> resolvers) Add the givenHandlerMethodArgumentResolvers.HandlerMethodArgumentResolverComposite.addResolvers(HandlerMethodArgumentResolver... resolvers) Add the givenHandlerMethodArgumentResolvers.protected voidAbstractMethodMessageHandler.handleNoMatch(RouteMatcher.Route destination, Message<?> message) Invoked when no matching handler is found.reactor.core.publisher.Mono<Void>AbstractEncoderMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) reactor.core.publisher.Mono<Void>HandlerMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) Handle the given return value.reactor.core.publisher.Mono<Void>HandlerMethodReturnValueHandlerComposite.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) voidAbstractMethodMessageHandler.setApplicationContext(ApplicationContext applicationContext) voidAbstractMethodMessageHandler.setHandlerPredicate(Predicate<Class<?>> handlerPredicate) Configure a predicate for selecting which Spring beans to check for the presence of message handler methods. -
Uses of Nullable in org.springframework.messaging.rsocket
Methods in org.springframework.messaging.rsocket with annotations of type NullableModifier and TypeMethodDescriptionio.rsocket.RSocketRSocketRequester.rsocket()Return the underlyingRSocketif the requester was created with a "live" RSocket viaRSocketRequester.wrap(RSocket, MimeType, MimeType, RSocketStrategies)or via one of the (deprecated) connect methods on theRSocketRequesterbuilder, or otherwise returnnull.Method parameters in org.springframework.messaging.rsocket with annotations of type NullableModifier and TypeMethodDescriptionRSocketStrategies.Builder.dataBufferFactory(DataBufferFactory bufferFactory) Configure the DataBufferFactory to use for allocating buffers when preparing requests or creating responses.RSocketRequester.Builder.dataMimeType(MimeType mimeType) Configure the payload data MimeType to specify on theSETUPframe that applies to the whole connection.default <T> Decoder<T>RSocketStrategies.decoder(ResolvableType elementType, MimeType mimeType) Find a compatible Decoder for the given element type.default <T> Encoder<T>RSocketStrategies.encoder(ResolvableType elementType, MimeType mimeType) Find a compatible Encoder for the given element type.Begin to specify a new request with the given metadata value, which can be a concrete value or any producer of a single value that can be adapted to aPublisherviaReactiveAdapterRegistry.RSocketStrategies.Builder.metadataExtractor(MetadataExtractor metadataExtractor) Configure aMetadataExtractorto extract the route along with other metadata.default voidMetadataExtractorRegistry.metadataToExtract(MimeType mimeType, Class<?> targetType, String name) Decode metadata entries with the givenMimeTypeto the specified target class, and store the decoded value in the output map under the given name.default voidMetadataExtractorRegistry.metadataToExtract(MimeType mimeType, ParameterizedTypeReference<?> targetType, String name) Variant ofMetadataExtractorRegistry.metadataToExtract(MimeType, Class, String)that acceptsParameterizedTypeReferenceinstead ofClassfor specifying a target type with generic parameters.RSocketStrategies.Builder.reactiveAdapterStrategy(ReactiveAdapterRegistry registry) Configure the registry for reactive type support.RSocketStrategies.Builder.routeMatcher(RouteMatcher routeMatcher) Configure aRouteMatcherfor matching routes to message handlers based on route patterns.RSocketRequester.Builder.rsocketStrategies(RSocketStrategies strategies) Provide theRSocketStrategiesto use.RSocketRequester.Builder.setupMetadata(Object value, MimeType mimeType) Add metadata entry to the setup payload. -
Uses of Nullable in org.springframework.messaging.rsocket.annotation.support
Methods in org.springframework.messaging.rsocket.annotation.support with annotations of type NullableModifier and TypeMethodDescriptionprotected CompositeMessageConditionRSocketMessageHandler.getCondition(AnnotatedElement element) RSocketMessageHandler.getDefaultDataMimeType()Return the configureddefaultDataMimeType, ornull.static io.rsocket.frame.FrameTypeRSocketFrameTypeMessageCondition.getFrameType(Message<?> message) Find the RSocket frame type in the message headers.RSocketFrameTypeMessageCondition.getMatchingCondition(Message<?> message) Method parameters in org.springframework.messaging.rsocket.annotation.support with annotations of type NullableModifier and TypeMethodDescriptionprotected voidRSocketMessageHandler.handleNoMatch(RouteMatcher.Route destination, Message<?> message) voidRSocketMessageHandler.setDefaultDataMimeType(MimeType mimeType) Configure the default content type to use for data payloads if theSETUPframe did not specify one.voidRSocketMessageHandler.setRouteMatcher(RouteMatcher routeMatcher) Set theRouteMatcherto use for mapping messages to handlers based on the route patterns they're configured with. -
Uses of Nullable in org.springframework.messaging.rsocket.service
Methods in org.springframework.messaging.rsocket.service with annotations of type NullableModifier and TypeMethodDescriptionPublisher<?>RSocketRequestValues.getPayload()Return the request payload as a Publisher.RSocketRequestValues.getPayloadElementType()Return the element type for a Publisher payload.RSocketRequestValues.getPayloadValue()Return the request payload as a value to be serialized, if set.RSocketRequestValues.getRoute()Return the route value forroute.Method parameters in org.springframework.messaging.rsocket.service with annotations of type NullableModifier and TypeMethodDescriptionRSocketServiceProxyFactory.Builder.blockTimeout(Duration blockTimeout) Configure how long to block for the response of an RSocket service method with a synchronous (blocking) method signature.static RSocketRequestValues.BuilderbooleanDestinationVariableArgumentResolver.resolve(Object argument, MethodParameter parameter, RSocketRequestValues.Builder requestValues) booleanMetadataArgumentResolver.resolve(Object argument, MethodParameter parameter, RSocketRequestValues.Builder requestValues) booleanPayloadArgumentResolver.resolve(Object argument, MethodParameter parameter, RSocketRequestValues.Builder requestValues) booleanRSocketServiceArgumentResolver.resolve(Object argument, MethodParameter parameter, RSocketRequestValues.Builder requestValues) Resolve the argument value.Constructor parameters in org.springframework.messaging.rsocket.service with annotations of type NullableModifierConstructorDescriptionRSocketRequestValues(String route, List<Object> routeVariables, org.springframework.messaging.rsocket.service.RSocketRequestValues.MetadataHelper metadataHelper, Object payloadValue, Publisher<?> payload, ParameterizedTypeReference<?> payloadElementType) RSocketRequestValues(String route, List<Object> routeVariables, org.springframework.messaging.rsocket.service.RSocketRequestValues.MetadataHelper metadataHelper, Object payloadValue, Publisher<?> payload, ParameterizedTypeReference<?> payloadElementType) RSocketRequestValues(String route, List<Object> routeVariables, org.springframework.messaging.rsocket.service.RSocketRequestValues.MetadataHelper metadataHelper, Object payloadValue, Publisher<?> payload, ParameterizedTypeReference<?> payloadElementType) RSocketRequestValues(String route, List<Object> routeVariables, org.springframework.messaging.rsocket.service.RSocketRequestValues.MetadataHelper metadataHelper, Object payloadValue, Publisher<?> payload, ParameterizedTypeReference<?> payloadElementType) RSocketRequestValues(String route, List<Object> routeVariables, org.springframework.messaging.rsocket.service.RSocketRequestValues.MetadataHelper metadataHelper, Object payloadValue, Publisher<?> payload, ParameterizedTypeReference<?> payloadElementType) RSocketRequestValues(String route, List<Object> routeVariables, org.springframework.messaging.rsocket.service.RSocketRequestValues.MetadataHelper metadataHelper, Object payloadValue, Publisher<?> payload, ParameterizedTypeReference<?> payloadElementType) -
Uses of Nullable in org.springframework.messaging.simp
Methods in org.springframework.messaging.simp with annotations of type NullableModifier and TypeMethodDescriptionSimpAttributes.getAttribute(String name) Return the value for the attribute of the given name, if any.static SimpAttributesSimpAttributesContextHolder.getAttributes()Return the SimpAttributes currently bound to the thread.SimpMessageHeaderAccessor.getDestination()static StringSimpMessageHeaderAccessor.getDestination(Map<String, Object> headers) SimpMessagingTemplate.getHeaderInitializer()Return the configured header initializer.static long[]SimpMessageHeaderAccessor.getHeartbeat(Map<String, Object> headers) SimpMessageMappingInfo.getMatchingCondition(Message<?> message) SimpMessageTypeMessageCondition.getMatchingCondition(Message<?> message) SimpMessageHeaderAccessor.getMessageType()static SimpMessageTypeSimpMessageHeaderAccessor.getMessageType(Map<String, Object> headers) SimpMessageHeaderAccessor.getSessionAttributes()Return the attributes associated with the current session.SimpMessageHeaderAccessor.getSessionAttributes(Map<String, Object> headers) SimpMessageHeaderAccessor.getSessionId()Return the id of the current session.static StringSimpMessageHeaderAccessor.getSessionId(Map<String, Object> headers) SimpMessageHeaderAccessor.getSubscriptionId()static StringSimpMessageHeaderAccessor.getSubscriptionId(Map<String, Object> headers) SimpMessageHeaderAccessor.getUser()Return the user associated with the current session.static PrincipalSimpSessionScope.resolveContextualObject(String key) Method parameters in org.springframework.messaging.simp with annotations of type NullableModifier and TypeMethodDescriptionvoidSimpMessageSendingOperations.convertAndSendToUser(String user, String destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Send a message to the given user.voidSimpMessageSendingOperations.convertAndSendToUser(String user, String destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) Send a message to the given user.voidSimpMessagingTemplate.convertAndSendToUser(String user, String destination, Object payload, Map<String, Object> headers) voidSimpMessagingTemplate.convertAndSendToUser(String user, String destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) voidSimpMessagingTemplate.convertAndSendToUser(String user, String destination, Object payload, Map<String, Object> headers, MessagePostProcessor postProcessor) voidSimpMessagingTemplate.convertAndSendToUser(String user, String destination, Object payload, MessagePostProcessor postProcessor) booleanSimpMessageHeaderAccessor.getDetailedLogMessage(Object payload) SimpMessagingTemplate.processHeadersToSend(Map<String, Object> headers) Creates a new map and puts the given headers under the keyNATIVE_HEADERS.static voidSimpAttributesContextHolder.setAttributes(SimpAttributes attributes) Bind the given SimpAttributes to the current thread.voidSimpMessageHeaderAccessor.setDestination(String destination) voidSimpMessagingTemplate.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializerto apply to the headers of all messages created through theSimpMessagingTemplate.voidSimpMessageHeaderAccessor.setSessionAttributes(Map<String, Object> attributes) A static alternative for access to the session attributes header.voidSimpMessageHeaderAccessor.setSessionId(String sessionId) voidSimpMessageHeaderAccessor.setSubscriptionId(String subscriptionId) voidConstructor parameters in org.springframework.messaging.simp with annotations of type NullableModifierConstructorDescriptionprotectedSimpMessageHeaderAccessor(SimpMessageType messageType, Map<String, List<String>> externalSourceHeaders) A constructor for creating new message headers. -
Uses of Nullable in org.springframework.messaging.simp.annotation.support
Methods in org.springframework.messaging.simp.annotation.support with annotations of type NullableModifier and TypeMethodDescriptionprotected StringSimpAnnotationMethodMessageHandler.getDestination(Message<?> message) SendToMethodReturnValueHandler.getHeaderInitializer()Return the configured header initializer.SimpAnnotationMethodMessageHandler.getHeaderInitializer()Return the configured header initializer.SubscriptionMethodReturnValueHandler.getHeaderInitializer()Return the configured header initializer.protected StringSimpAnnotationMethodMessageHandler.getLookupDestination(String destination) protected SimpMessageMappingInfoSimpAnnotationMethodMessageHandler.getMappingForMethod(Method method, Class<?> handlerType) protected SimpMessageMappingInfoSimpAnnotationMethodMessageHandler.getMatchingMapping(SimpMessageMappingInfo mapping, Message<?> message) protected StringSendToMethodReturnValueHandler.getUserName(Message<?> message, MessageHeaders headers) SimpAnnotationMethodMessageHandler.getValidator()Return the configured Validator instance.PrincipalMethodArgumentResolver.resolveArgument(MethodParameter parameter, Message<?> message) Method parameters in org.springframework.messaging.simp.annotation.support with annotations of type NullableModifier and TypeMethodDescriptionprotected StringSimpAnnotationMethodMessageHandler.getLookupDestination(String destination) protected String[]SendToMethodReturnValueHandler.getTargetDestinations(Annotation annotation, Message<?> message, String defaultPrefix) voidSendToMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) voidSubscriptionMethodReturnValueHandler.handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) voidSimpAnnotationMethodMessageHandler.setDestinationPrefixes(Collection<String> prefixes) When this property is configured only messages to destinations matching one of the configured prefixes are eligible for handling.voidSendToMethodReturnValueHandler.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializerto apply to the headers of all messages sent to the client outbound channel.voidSimpAnnotationMethodMessageHandler.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializerto pass on toHandlerMethodReturnValueHandlersthat send messages from controller return values.voidSubscriptionMethodReturnValueHandler.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializerto apply to the headers of all messages sent to the client outbound channel.voidSimpAnnotationMethodMessageHandler.setValidator(Validator validator) Set the Validator instance used for validating@Payloadarguments. -
Uses of Nullable in org.springframework.messaging.simp.broker
Methods in org.springframework.messaging.simp.broker with annotations of type NullableModifier and TypeMethodDescriptionAbstractBrokerMessageHandler.getApplicationEventPublisher()SimpleBrokerMessageHandler.getHeaderInitializer()Return the configured header initializer.long[]SimpleBrokerMessageHandler.getHeartbeatValue()The configured value for the heart-beat settings.static RunnableOrderedMessageChannelDecorator.getNextMessageTask(Message<?> message) Obtain the task to release the next message, if found.DefaultSubscriptionRegistry.getSelectorHeaderName()Return the name of the selector header.SimpleBrokerMessageHandler.getTaskScheduler()Return the configured TaskScheduler.Method parameters in org.springframework.messaging.simp.broker with annotations of type NullableModifier and TypeMethodDescriptionprotected booleanAbstractBrokerMessageHandler.checkDestinationPrefix(String destination) Whether a message with the given destination should be processed.protected voidSimpleBrokerMessageHandler.sendMessageToSubscribers(String destination, Message<?> message) voidAbstractBrokerMessageHandler.setApplicationEventPublisher(ApplicationEventPublisher publisher) voidSimpleBrokerMessageHandler.setCacheLimit(Integer cacheLimit) When configured, the specified cache limit is passed down to the underlying SubscriptionRegistry, overriding any default there.voidSimpleBrokerMessageHandler.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializerto apply to the headers of all messages sent to the client outbound channel.voidSimpleBrokerMessageHandler.setHeartbeatValue(long[] heartbeat) Configure the value for the heart-beat settings.voidSimpleBrokerMessageHandler.setPathMatcher(PathMatcher pathMatcher) When configured, the given PathMatcher is passed down to the underlying SubscriptionRegistry to use for matching destination to subscriptions.voidDefaultSubscriptionRegistry.setSelectorHeaderName(String selectorHeaderName) Configure the name of a header that a subscription message can have for the purpose of filtering messages matched to the subscription.voidSimpleBrokerMessageHandler.setSelectorHeaderName(String selectorHeaderName) Configure the name of a header that a subscription message can have for the purpose of filtering messages matched to the subscription.voidSimpleBrokerMessageHandler.setTaskScheduler(TaskScheduler taskScheduler) Configure theTaskSchedulerto use for providing heartbeat support.voidAbstractBrokerMessageHandler.setUserDestinationPredicate(Predicate<String> predicate) Configure a Predicate to identify messages with a user destination.Constructor parameters in org.springframework.messaging.simp.broker with annotations of type NullableModifierConstructorDescriptionAbstractBrokerMessageHandler(SubscribableChannel inboundChannel, MessageChannel outboundChannel, SubscribableChannel brokerChannel, Collection<String> destinationPrefixes) Constructor with destination prefixes to match to destinations of messages. -
Uses of Nullable in org.springframework.messaging.simp.config
Methods in org.springframework.messaging.simp.config with annotations of type NullableModifier and TypeMethodDescriptionAbstractMessageBrokerConfiguration.getApplicationContext()protected Collection<String>MessageBrokerRegistry.getApplicationDestinationPrefixes()final PathMatcherAbstractMessageBrokerConfiguration.getPathMatcher(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel) Provide access to the configured PatchMatcher for access from other configuration classes.protected PathMatcherMessageBrokerRegistry.getPathMatcher()protected SimpleBrokerMessageHandlerMessageBrokerRegistry.getSimpleBroker(SubscribableChannel brokerChannel) protected StompBrokerRelayMessageHandlerMessageBrokerRegistry.getStompBrokerRelay(SubscribableChannel brokerChannel) protected StringMessageBrokerRegistry.getUserDestinationBroadcast()protected StringStompBrokerRelayRegistration.getUserDestinationBroadcast()protected StringMessageBrokerRegistry.getUserDestinationPrefix()protected StringMessageBrokerRegistry.getUserRegistryBroadcast()protected StringStompBrokerRelayRegistration.getUserRegistryBroadcast()protected IntegerMessageBrokerRegistry.getUserRegistryOrder()AbstractMessageBrokerConfiguration.getValidator()Override this method to provide a customValidator.AbstractMessageBrokerConfiguration.simpleBrokerMessageHandler(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, AbstractSubscribableChannel brokerChannel, UserDestinationResolver userDestinationResolver) AbstractMessageBrokerConfiguration.stompBrokerRelayMessageHandler(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, AbstractSubscribableChannel brokerChannel, UserDestinationMessageHandler userDestinationMessageHandler, MessageHandler userRegistryMessageHandler, UserDestinationResolver userDestinationResolver) AbstractMessageBrokerConfiguration.userRegistryMessageHandler(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, SimpUserRegistry userRegistry, SimpMessagingTemplate brokerMessagingTemplate, TaskScheduler scheduler) Method parameters in org.springframework.messaging.simp.config with annotations of type NullableModifier and TypeMethodDescriptionprotected abstract SimpUserRegistryAbstractMessageBrokerConfiguration.createLocalUserRegistry(Integer order) Create the user registry that provides access to local users.voidAbstractMessageBrokerConfiguration.setApplicationContext(ApplicationContext applicationContext) voidSimpleBrokerRegistration.setSelectorHeaderName(String selectorHeaderName) Configure the name of a header that a subscription message can have for the purpose of filtering messages matched to the subscription.StompBrokerRelayRegistration.setTaskScheduler(TaskScheduler taskScheduler) Some STOMP clients (for example, stomp-js) always send heartbeats at a fixed rate but others (Spring STOMP client) do so only when no other messages are sent.AbstractMessageBrokerConfiguration.stompBrokerRelayMessageHandler(AbstractSubscribableChannel clientInboundChannel, AbstractSubscribableChannel clientOutboundChannel, AbstractSubscribableChannel brokerChannel, UserDestinationMessageHandler userDestinationMessageHandler, MessageHandler userRegistryMessageHandler, UserDestinationResolver userDestinationResolver) ChannelRegistration.taskExecutor(ThreadPoolTaskExecutor taskExecutor) Configure the thread pool backing this message channel using a custom ThreadPoolTaskExecutor.Constructor parameters in org.springframework.messaging.simp.config with annotations of type NullableModifierConstructorDescriptionAbstractBrokerRegistration(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, String[] destinationPrefixes) Create a new broker registration. -
Uses of Nullable in org.springframework.messaging.simp.stomp
Methods in org.springframework.messaging.simp.stomp with annotations of type NullableModifier and TypeMethodDescriptionString[]StompHeaders.getAcceptVersion()Get the accept-version header.StompHeaderAccessor.getAck()StompHeaders.getAck()Get the ack header.StompHeaderAccessor.getCommand()Return the STOMP command, ornullif not yet set.static StompCommandStompHeaderAccessor.getCommand(Map<String, Object> headers) Return the STOMP command from the given headers, ornullif not set.StompHeaderAccessor.getContentLength()static IntegerStompHeaderAccessor.getContentLength(Map<String, List<String>> nativeHeaders) StompHeaders.getContentType()Return the content-type header value.StompHeaders.getDestination()Get the destination header.BufferingStompDecoder.getExpectedContentLength()Get the expected content length of the currently buffered, incomplete STOMP frame.Return the first header value for the given header name, if any.StompBrokerRelayMessageHandler.getHeaderInitializer()Return the configured header initializer.StompDecoder.getHeaderInitializer()Return the configuredMessageHeaderInitializer, if any.long[]StompHeaders.getHeartbeat()Get the heartbeat header.StompHeaderAccessor.getHost()StompHeaders.getHost()Get the host header.StompHeaders.getId()Get the id header.StompHeaderAccessor.getLogin()StompHeaders.getLogin()Get the login header.StompHeaderAccessor.getMessage()StompHeaderAccessor.getMessageId()StompHeaders.getMessageId()Get the message-id header.StompHeaderAccessor.getNack()StompHeaderAccessor.getNativeHeaders()StompHeaderAccessor.getPasscode()Return the passcode header value, ornullif not set.static StringStompHeaderAccessor.getPasscode(Map<String, Object> headers) Return the passcode header value, ornullif not set.StompHeaders.getPasscode()Get the passcode header.StompHeaderAccessor.getReceipt()StompHeaders.getReceipt()Get the receipt header.StompHeaderAccessor.getReceiptId()StompHeaders.getReceiptId()Get the receipt header.StompSession.Receiptable.getReceiptId()Return the receipt id, ornullif the STOMP frame for which the handle was returned did not have a "receipt" header.StompHeaders.getServer()Get the server header.StompHeaders.getSession()Get the session header.StompHeaders.getSubscription()Get the subscription header.StompSession.Subscription.getSubscriptionId()Return the id for the subscription.DefaultStompSession.getTaskScheduler()Return the configured TaskScheduler to use for receipt tracking.StompBrokerRelayMessageHandler.getTaskScheduler()StompClientSupport.getTaskScheduler()The configured TaskScheduler.TcpOperations<byte[]>StompBrokerRelayMessageHandler.getTcpClient()Get the configured TCP client (nevernullunless not configured invoked and this method is invoked before the handler is started and hence a default implementation initialized).StompHeaderAccessor.getVersion()StompBrokerRelayMessageHandler.getVirtualHost()Return the configured virtual host value.Method parameters in org.springframework.messaging.simp.stomp with annotations of type NullableModifier and TypeMethodDescriptionvoidAdd the given, single header value under the given name.ReactorNettyTcpStompClient.connect(StompHeaders connectHeaders, StompSessionHandler handler) Deprecated, for removal: This API element is subject to removal in a future version.as of 6.0, in favor ofReactorNettyTcpStompClient.connectAsync(StompHeaders, StompSessionHandler)ReactorNettyTcpStompClient.connectAsync(StompHeaders connectHeaders, StompSessionHandler handler) An overloaded version ofReactorNettyTcpStompClient.connectAsync(StompSessionHandler)that accepts headers to use for the STOMP CONNECT frame.protected ConnectionHandlingStompSessionStompClientSupport.createSession(StompHeaders connectHeaders, StompSessionHandler handler) Factory method for create and configure a new session.StompDecoder.decode(ByteBuffer byteBuffer, MultiValueMap<String, String> partialMessageHeaders) Decodes one or more STOMP frames from the givenbufferand returns a list ofMessages.voidDefaultStompSession.disconnect(StompHeaders headers) booleanStompHeaderAccessor.getDetailedLogMessage(Object payload) voidStompSessionHandler.handleException(StompSession session, StompCommand command, StompHeaders headers, byte[] payload, Throwable exception) Handle any exception arising while processing a STOMP frame such as a failure to convert the payload or an unhandled exception in the applicationStompFrameHandler.voidStompSessionHandlerAdapter.handleException(StompSession session, StompCommand command, StompHeaders headers, byte[] payload, Throwable exception) This implementation is empty.voidStompFrameHandler.handleFrame(StompHeaders headers, Object payload) Handle a STOMP frame with the payload converted to the target type returned fromStompFrameHandler.getPayloadType(StompHeaders).voidStompSessionHandlerAdapter.handleFrame(StompHeaders headers, Object payload) This implementation is empty.protected StompHeadersStompClientSupport.processConnectHeaders(StompHeaders connectHeaders) Further initialize the StompHeaders, for example setting the heart-beat header if necessary.static StompHeadersStompHeaders.readOnlyStompHeaders(Map<String, List<String>> headers) Return aStompHeadersobject that can only be read, not written to.voidSet the given, single header value under the given name.voidStompHeaders.setAcceptVersion(String... acceptVersions) Set the accept-version header.voidvoidSet the ack header to one of "auto", "client", or "client-individual".voidStompHeaders.setContentType(MimeType mimeType) Set the content-type header.voidStompHeaderAccessor.setDestination(String destination) voidStompHeaders.setDestination(String destination) Set the destination header.voidStompBrokerRelayMessageHandler.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializerto apply to the headers of all messages created through theStompBrokerRelayMessageHandlerthat are sent to the client outbound message channel.voidStompDecoder.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure aMessageHeaderInitializerto apply to the headers ofMessagesfrom decoded STOMP frames.voidStompHeaders.setHeartbeat(long[] heartbeat) Set the heartbeat header.voidvoidSet the host header.voidSet the id header.voidvoidSet the login header.voidStompHeaderAccessor.setMessage(String content) voidStompHeaderAccessor.setMessageId(String id) voidStompHeaders.setMessageId(String messageId) Set the message-id header.voidvoidStompHeaderAccessor.setPasscode(String passcode) voidStompHeaders.setPasscode(String passcode) Set the passcode header.voidStompHeaderAccessor.setReceipt(String receiptId) voidStompHeaders.setReceipt(String receipt) Set the receipt header.voidStompHeaderAccessor.setReceiptId(String receiptId) voidStompHeaders.setReceiptId(String receiptId) Set the receipt-id header.voidSet the server header.voidStompHeaders.setSession(String session) Set the session header.voidStompHeaders.setSubscription(String subscription) Set the login header.voidStompHeaderAccessor.setSubscriptionId(String subscriptionId) voidStompBrokerRelayMessageHandler.setSystemSubscriptions(Map<String, MessageHandler> subscriptions) Configure one more destinations to subscribe to on the shared "system" connection along with MessageHandler's to handle received messages.voidDefaultStompSession.setTaskScheduler(TaskScheduler taskScheduler) Configure the TaskScheduler to use for receipt tracking.voidStompBrokerRelayMessageHandler.setTaskScheduler(TaskScheduler taskScheduler) Configure theTaskSchedulerto use to reset client-to-broker message count in the current heartbeat period.voidStompClientSupport.setTaskScheduler(TaskScheduler taskScheduler) Configure a scheduler to use for heartbeats and for receipt tracking.voidStompBrokerRelayMessageHandler.setTcpClient(TcpOperations<byte[]> tcpClient) Configure a TCP client for managing TCP connections to the STOMP broker.voidStompHeaderAccessor.setVersion(String version) voidStompBrokerRelayMessageHandler.setVirtualHost(String virtualHost) Set the value of the "host" header to use in STOMP CONNECT frames.voidStompSession.Subscription.unsubscribe(StompHeaders headers) Alternative toStompSession.Subscription.unsubscribe()with additional custom headers to send to the server. -
Uses of Nullable in org.springframework.messaging.simp.user
Methods in org.springframework.messaging.simp.user with annotations of type NullableModifier and TypeMethodDescriptionUserDestinationMessageHandler.getBroadcastDestination()Return the configured destination for unresolved messages.UserDestinationMessageHandler.getHeaderInitializer()Return the configured header initializer.SimpUser.getPrincipal()Return the user associated with the session, if available.SimpUser.getSession(String sessionId) Look up the session for the given id.protected StringDefaultUserDestinationResolver.getTargetDestination(String sourceDestination, String actualDestination, String sessionId, String user) This method determines how to translate the source "user" destination to an actual target destination for the given active user session.Get the user for the given name.UserDestinationResult.getUser()The user for this user destination.DefaultUserDestinationResolver.resolveDestination(Message<?> message) UserDestinationResolver.resolveDestination(Message<?> message) Resolve the given message with a user destination to one or more messages with actual destinations, one for each active user session.Method parameters in org.springframework.messaging.simp.user with annotations of type NullableModifier and TypeMethodDescriptionprotected StringDefaultUserDestinationResolver.getTargetDestination(String sourceDestination, String actualDestination, String sessionId, String user) This method determines how to translate the source "user" destination to an actual target destination for the given active user session.voidUserDestinationMessageHandler.setBroadcastDestination(String destination) Set a destination to broadcast messages to that remain unresolved because the user is not connected.voidUserDestinationMessageHandler.setHeaderInitializer(MessageHeaderInitializer headerInitializer) Configure a customMessageHeaderInitializerto initialize the headers of resolved target messages.booleanMultiServerUserRegistry.supportsSourceType(Class<?> sourceType) Constructor parameters in org.springframework.messaging.simp.user with annotations of type NullableModifierConstructorDescriptionUserDestinationResult(String sourceDestination, Set<String> targetDestinations, String subscribeDestination, String user) Main constructor.UserDestinationResult(String sourceDestination, Set<String> targetDestinations, String subscribeDestination, String user, Set<String> sessionIds) Additional constructor with the session id for each targetDestination.UserDestinationResult(String sourceDestination, Set<String> targetDestinations, String subscribeDestination, String user, Set<String> sessionIds) Additional constructor with the session id for each targetDestination. -
Uses of Nullable in org.springframework.messaging.support
Methods in org.springframework.messaging.support with annotations of type NullableModifier and TypeMethodDescriptionMessage<?>AbstractMessageChannel.ChannelInterceptorChain.applyPostReceive(Message<?> message, MessageChannel channel) Message<?>AbstractMessageChannel.ChannelInterceptorChain.applyPreSend(Message<?> message, MessageChannel channel) default Message<?>ExecutorChannelInterceptor.beforeHandle(Message<?> message, MessageChannel channel, MessageHandler handler) Invoked inside theRunnablesubmitted to the Executor just before calling the target MessageHandler to handle the message.static MessageHeaderAccessorMessageHeaderAccessor.getAccessor(Message<?> message) Return the originalMessageHeaderAccessorused to create the headers of the givenMessage, ornullif that's not available.static <T extends MessageHeaderAccessor>
TMessageHeaderAccessor.getAccessor(Message<?> message, Class<T> requiredType) Return the originalMessageHeaderAccessorused to create the headers of the givenMessage, ornullif that's not available or if its type does not match the required type.static <T extends MessageHeaderAccessor>
TMessageHeaderAccessor.getAccessor(MessageHeaders messageHeaders, Class<T> requiredType) A variation ofMessageHeaderAccessor.getAccessor(org.springframework.messaging.Message, Class)with aMessageHeadersinstance instead of aMessage.MessageHeaderAccessor.getContentType()MessageHeaderAccessor.getErrorChannel()ExecutorSubscribableChannel.getExecutor()NativeMessageHeaderAccessor.getFirstNativeHeader(String headerName) Return the first value for the specified native header, if present.static StringNativeMessageHeaderAccessor.getFirstNativeHeader(String headerName, Map<String, Object> headers) Return the first value for the specified native header, ornullif none.Retrieve the value for the header with the given name.protected <V> VReturn the header value, ornullif it does not exist or does not match the requestedtype.MessageHeaderAccessor.getId()IdTimestampMessageHeaderInitializer.getIdGenerator()Return the configuredIdGenerator, if any.NativeMessageHeaderAccessor.getNativeHeader(String headerName) Return all values for the specified native header, if present.NativeMessageHeaderAccessor.getNativeHeaders()Subclasses can use this method to access the "native" headers sub-map.Message<?>ErrorMessage.getOriginalMessage()Return the original message (if available) at the point in the stack where the ErrorMessage was created.MessageHeaderAccessor.getReplyChannel()MessageHeaderAccessor.getTimestamp()default Message<?>ChannelInterceptor.postReceive(Message<?> message, MessageChannel channel) Invoked immediately after a Message has been retrieved but before it is returned to the caller.default Message<?>ChannelInterceptor.preSend(Message<?> message, MessageChannel channel) Invoked before the Message is actually sent to the channel.NativeMessageHeaderAccessor.removeNativeHeader(String headerName) Remove the specified native header value replacing existing values.Method parameters in org.springframework.messaging.support with annotations of type NullableModifier and TypeMethodDescriptionvoidNativeMessageHeaderAccessor.addNativeHeader(String name, String value) Add the specified native header value to existing values.voidNativeMessageHeaderAccessor.addNativeHeaders(MultiValueMap<String, String> headers) Add the specified native headers to existing values.default voidExecutorChannelInterceptor.afterMessageHandled(Message<?> message, MessageChannel channel, MessageHandler handler, Exception ex) Invoked inside theRunnablesubmitted to the Executor after calling the target MessageHandler regardless of the outcome (i.e.default voidChannelInterceptor.afterReceiveCompletion(Message<?> message, MessageChannel channel, Exception ex) Invoked after the completion of a receive regardless of any exception that have been raised thus allowing for proper resource cleanup.default voidChannelInterceptor.afterReceiveCompletion(Message<?> message, MessageChannel channel, Exception ex) Invoked after the completion of a receive regardless of any exception that have been raised thus allowing for proper resource cleanup.default voidChannelInterceptor.afterSendCompletion(Message<?> message, MessageChannel channel, boolean sent, Exception ex) Invoked after the completion of a send regardless of any exception that have been raised thus allowing for proper resource cleanup.MessageBuilder.copyHeaders(Map<String, ?> headersToCopy) Copy the name-value pairs from the provided Map.voidMessageHeaderAccessor.copyHeaders(Map<String, ?> headersToCopy) Copy the name-value pairs from the provided Map.voidNativeMessageHeaderAccessor.copyHeaders(Map<String, ?> headersToCopy) MessageBuilder.copyHeadersIfAbsent(Map<String, ?> headersToCopy) Copy the name-value pairs from the provided Map.voidMessageHeaderAccessor.copyHeadersIfAbsent(Map<String, ?> headersToCopy) Copy the name-value pairs from the provided Map.voidNativeMessageHeaderAccessor.copyHeadersIfAbsent(Map<String, ?> headersToCopy) booleanstatic MessageHeaderAccessorCreate an instance from a plainMap.static MessageHeaderAccessorMessageHeaderAccessor.fromMessageHeaders(MessageHeaders headers) Create an instance from an existingMessageHeadersinstance.static <T extends MessageHeaderAccessor>
TMessageHeaderAccessor.getAccessor(Message<?> message, Class<T> requiredType) Return the originalMessageHeaderAccessorused to create the headers of the givenMessage, ornullif that's not available or if its type does not match the required type.static <T extends MessageHeaderAccessor>
TMessageHeaderAccessor.getAccessor(MessageHeaders messageHeaders, Class<T> requiredType) A variation ofMessageHeaderAccessor.getAccessor(org.springframework.messaging.Message, Class)with aMessageHeadersinstance instead of aMessage.MessageHeaderAccessor.getDetailedLogMessage(Object payload) Return a more detailed message for logging purposes.protected StringMessageHeaderAccessor.getDetailedPayloadLogMessage(Object payload) Set the value for the given header name.voidSet the value for the given header name.voidIdTimestampMessageHeaderInitializer.setIdGenerator(IdGenerator idGenerator) Configure the IdGenerator strategy to initializeMessageHeaderAccessorinstances with.voidAbstractHeaderMapper.setInboundPrefix(String inboundPrefix) Specify a prefix to be appended to the message header name for any user-defined property that is being mapped into the MessageHeaders.voidNativeMessageHeaderAccessor.setNativeHeader(String name, String value) Set the specified native header value replacing existing values.voidNativeMessageHeaderAccessor.setNativeHeaderValues(String name, List<String> values) Variant ofNativeMessageHeaderAccessor.addNativeHeader(String, String)for all values.voidAbstractHeaderMapper.setOutboundPrefix(String outboundPrefix) Specify a prefix to be appended to the protocol property name for any user-defined message header that is being mapped into the protocol-specific Message.voidAbstractMessageChannel.ChannelInterceptorChain.triggerAfterReceiveCompletion(Message<?> message, MessageChannel channel, Exception ex) voidAbstractMessageChannel.ChannelInterceptorChain.triggerAfterReceiveCompletion(Message<?> message, MessageChannel channel, Exception ex) voidAbstractMessageChannel.ChannelInterceptorChain.triggerAfterSendCompletion(Message<?> message, MessageChannel channel, boolean sent, Exception ex) protected voidMessageHeaderAccessor.verifyType(String headerName, Object headerValue) protected voidMessageHeaderAccessor.verifyType(String headerName, Object headerValue) Constructor parameters in org.springframework.messaging.support with annotations of type NullableModifierConstructorDescriptionExecutorSubscribableChannel(Executor executor) Create a newExecutorSubscribableChannelinstance where messages will be sent via the specified executor.MessageHeaderAccessor(Message<?> message) A constructor accepting the headers of an existing message to copy.protectedNativeMessageHeaderAccessor(Map<String, List<String>> nativeHeaders) Protected constructor to create an instance with the given native headers.protectedNativeMessageHeaderAccessor(Message<?> message) Protected constructor that copies headers from another message. -
Uses of Nullable in org.springframework.messaging.tcp
Methods in org.springframework.messaging.tcp with annotations of type NullableModifier and TypeMethodDescriptionReconnectStrategy.getTimeToNextAttempt(int attemptCount) Return the time to the next attempt to reconnect. -
Uses of Nullable in org.springframework.mock.http.server.reactive
Methods in org.springframework.mock.http.server.reactive with annotations of type NullableModifier and TypeMethodDescriptionMockServerHttpRequest.getLocalAddress()MockServerHttpRequest.getRemoteAddress()protected SslInfoMockServerHttpRequest.initSslInfo() -
Uses of Nullable in org.springframework.mock.web
Methods in org.springframework.mock.web with annotations of type NullableModifier and TypeMethodDescriptionMockPageContext.findAttribute(String name) MockHttpServletRequest.getAsyncContext()MockHttpServletRequest.getAttribute(String name) MockHttpSession.getAttribute(String name) MockPageContext.getAttribute(String name) MockPageContext.getAttribute(String name, int scope) MockServletContext.getAttribute(String name) MockSessionCookieConfig.getAttribute(String name) MockHttpServletRequest.getAuthType()MockHttpServletRequest.getCharacterEncoding()MockServletContext.getClassLoader()MockFilterRegistration.getClassName()MockSessionCookieConfig.getComment()byte[]MockHttpServletRequest.getContentAsByteArray()Get the content of the request body as a byte array.MockHttpServletRequest.getContentAsString()Get the content of the request body as aString, using the configured character encoding.MockHttpServletRequest.getContentType()MockHttpServletResponse.getContentType()MockMultipartFile.getContentType()MockPart.getContentType()MockServletContext.getContext(String contextPath) Cookie[]MockHttpServletRequest.getCookies()MockAsyncContext.getDispatchedPath()MockSessionCookieConfig.getDomain()MockPageContext.getELContext()MockHttpServletResponse.getErrorMessage()Return the error message used when callingHttpServletResponse.sendError(int, String).MockPageContext.getException()MockCookie.getExpires()Get the "Expires" attribute for this cookie.MockPageContext.getExpressionEvaluator()Deprecated.MockServletContext.getFilterRegistration(String filterName) MockHttpServletResponse.getForwardedUrl()Return the primary value for the given header as a String, if any.MockHttpServletResponse.getHeaderValue(String name) Return the primary value for the given header, if any.MockHttpServletResponse.getIncludedUrl()MockFilterConfig.getInitParameter(String name) MockFilterRegistration.getInitParameter(String name) MockServletConfig.getInitParameter(String name) MockServletContext.getInitParameter(String name) MockHttpServletMapping.getMappingMatch()MockHttpServletRequest.getMethod()MockServletContext.getMimeType(String filePath) MockMultipartHttpServletRequest.getMultipartContentType(String paramOrFileName) MockMultipartHttpServletRequest.getMultipartHeaders(String paramOrFileName) MockSessionCookieConfig.getName()MockServletContext.getNamedDispatcher(String path) MockHttpServletRequest.getParameter(String name) String[]MockHttpServletRequest.getParameterValues(String name) MockSessionCookieConfig.getPath()MockHttpServletRequest.getPathInfo()MockHttpServletRequest.getPathTranslated()MockHttpServletRequest.getQueryString()MockServletContext.getRealPath(String path) MockHttpServletResponse.getRedirectedUrl()MockHttpServletRequest.getRemoteUser()MockFilterChain.getRequest()Return the request thatMockFilterChain.doFilter(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse)has been called with.MockServletContext.getRequestCharacterEncoding()MockHttpServletRequest.getRequestedSessionId()MockHttpServletRequest.getRequestURI()MockServletContext.getResource(String path) MockServletContext.getResourceAsStream(String path) MockServletContext.getResourcePaths(String path) MockAsyncContext.getResponse()MockFilterChain.getResponse()Return the response thatMockFilterChain.doFilter(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse)has been called with.MockServletContext.getResponseCharacterEncoding()MockCookie.getSameSite()Get the "SameSite" attribute for this cookie.MockServletContext.getServletRegistration(String servletName) This method always returnsnull.MockHttpServletRequest.getSession()MockHttpServletRequest.getSession(boolean create) MockPart.getSubmittedFileName()MockHttpServletRequest.getUriTemplate()Return the original URI template used to prepare the request, if any.MockHttpServletRequest.getUserPrincipal()MockPageContext.getVariableResolver()Deprecated.Method parameters in org.springframework.mock.web with annotations of type NullableModifier and TypeMethodDescriptionvoidvoidMockHttpServletRequest.addParameter(String name, String value) Add a single value for the specified HTTP parameter.voidMockAsyncContext.dispatch(ServletContext context, String path) voidMockHttpServletRequest.setAsyncContext(MockAsyncContext asyncContext) voidMockCookie.setAttribute(String name, String value) voidMockHttpServletRequest.setAttribute(String name, Object value) voidMockHttpSession.setAttribute(String name, Object value) voidMockPageContext.setAttribute(String name, Object value) voidMockPageContext.setAttribute(String name, Object value, int scope) voidMockServletContext.setAttribute(String name, Object value) voidMockHttpServletRequest.setAuthType(String authType) voidMockHttpServletRequest.setCharacterEncoding(String characterEncoding) voidMockHttpServletResponse.setCharacterEncoding(String characterEncoding) voidMockSessionCookieConfig.setComment(String comment) voidMockHttpServletRequest.setContent(byte[] content) Set the content of the request body as a byte array.voidMockHttpServletRequest.setContentType(String contentType) voidMockHttpServletResponse.setContentType(String contentType) voidMockHttpServletRequest.setCookies(Cookie... cookies) voidvoidMockCookie.setExpires(ZonedDateTime expires) Set the "Expires" attribute for this cookie.voidMockHttpServletResponse.setForwardedUrl(String forwardedUrl) voidvoidMockHttpServletRequest.setHttpServletMapping(HttpServletMapping httpServletMapping) voidMockHttpServletResponse.setIncludedUrl(String includedUrl) voidvoidvoidvoidvoidMockHttpServletRequest.setPathInfo(String pathInfo) voidMockHttpServletRequest.setQueryString(String queryString) voidMockHttpServletRequest.setRemoteUser(String remoteUser) voidMockServletContext.setRequestCharacterEncoding(String requestCharacterEncoding) voidMockHttpServletRequest.setRequestedSessionId(String requestedSessionId) voidMockHttpServletRequest.setRequestURI(String requestURI) voidMockServletContext.setResponseCharacterEncoding(String responseCharacterEncoding) voidMockCookie.setSameSite(String sameSite) Set the "SameSite" attribute for this cookie.voidMockHttpServletRequest.setUriTemplate(String uriTemplate) Set the original URI template used to prepare the request, if any.voidMockHttpServletRequest.setUserPrincipal(Principal userPrincipal) MockHttpServletRequest.startAsync(ServletRequest request, ServletResponse response) Constructor parameters in org.springframework.mock.web with annotations of type NullableModifierConstructorDescriptionMockAsyncContext(ServletRequest request, ServletResponse response) MockBodyContent(String content, HttpServletResponse response, Writer targetWriter) Create a MockBodyContent for the given response.MockBodyContent(String content, HttpServletResponse response, Writer targetWriter) Create a MockBodyContent for the given response.MockFilterConfig(ServletContext servletContext) Create a new MockFilterConfig.MockFilterConfig(ServletContext servletContext, String filterName) Create a new MockFilterConfig.MockHttpServletMapping(String matchValue, String pattern, String servletName, MappingMatch match) MockHttpServletRequest(ServletContext servletContext) Create a newMockHttpServletRequestwith the suppliedServletContext.MockHttpServletRequest(ServletContext servletContext, String method, String requestURI) MockHttpServletRequest(ServletContext servletContext, String method, String requestURI) MockHttpServletRequest(ServletContext servletContext, String method, String requestURI) MockHttpServletRequest(String method, String requestURI) Create a newMockHttpServletRequestwith a defaultMockServletContext.MockHttpServletRequest(String method, String requestURI) Create a newMockHttpServletRequestwith a defaultMockServletContext.MockHttpSession(ServletContext servletContext) Create a new MockHttpSession.MockHttpSession(ServletContext servletContext, String id) Create a new MockHttpSession.MockHttpSession(ServletContext servletContext, String id) Create a new MockHttpSession.MockJspWriter(HttpServletResponse response, Writer targetWriter) Create a MockJspWriter for the given response.MockJspWriter(HttpServletResponse response, Writer targetWriter) Create a MockJspWriter for the given response.MockMultipartFile(String name, byte[] content) Create a new MockMultipartFile with the given content.MockMultipartFile(String name, String originalFilename, String contentType, byte[] content) Create a new MockMultipartFile with the given content.MockMultipartFile(String name, String originalFilename, String contentType, byte[] content) Create a new MockMultipartFile with the given content.MockMultipartFile(String name, String originalFilename, String contentType, byte[] content) Create a new MockMultipartFile with the given content.MockMultipartFile(String name, String originalFilename, String contentType, InputStream contentStream) Create a new MockMultipartFile with the given content.MockMultipartFile(String name, String originalFilename, String contentType, InputStream contentStream) Create a new MockMultipartFile with the given content.MockMultipartHttpServletRequest(ServletContext servletContext) Create a newMockMultipartHttpServletRequestwith the suppliedServletContext.MockPageContext(ServletContext servletContext) Create new MockPageContext with a defaultMockHttpServletRequest,MockHttpServletResponse,MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request) Create new MockPageContext with a MockHttpServletResponse, MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request) Create new MockPageContext with a MockHttpServletResponse, MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response) Create new MockPageContext with a MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response) Create new MockPageContext with a MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response) Create new MockPageContext with a MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, ServletConfig servletConfig) Create new MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, ServletConfig servletConfig) Create new MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, ServletConfig servletConfig) Create new MockServletConfig.MockPageContext(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, ServletConfig servletConfig) Create new MockServletConfig.Constructor for a part with a name and content only.Constructor for a part with a name, filename, and content.Constructor for a part with a name, filename, and content.Constructor for a part with a name, filename, content, and content type.Constructor for a part with a name, filename, content, and content type.Constructor for a part with a name, filename, content, and content type.MockServletConfig(ServletContext servletContext) Create a new MockServletConfig.MockServletConfig(ServletContext servletContext, String servletName) Create a new MockServletConfig.MockServletContext(String resourceBasePath, ResourceLoader resourceLoader) Create a newMockServletContextusing the supplied resource base path and resource loader.MockServletContext(ResourceLoader resourceLoader) Create a newMockServletContext, using the specifiedResourceLoaderand no base path. -
Uses of Nullable in org.springframework.mock.web.server
Method parameters in org.springframework.mock.web.server with annotations of type NullableModifier and TypeMethodDescriptionProvide a user to associate with the exchange.Constructor parameters in org.springframework.mock.web.server with annotations of type Nullable -
Uses of Nullable in org.springframework.orm
Methods in org.springframework.orm with annotations of type NullableModifier and TypeMethodDescriptionObjectOptimisticLockingFailureException.getIdentifier()Return the identifier of the object for which the locking failed.ObjectRetrievalFailureException.getIdentifier()Return the identifier of the object that was not found.Class<?>ObjectOptimisticLockingFailureException.getPersistentClass()Return the persistent class of the object for which the locking failed.Class<?>ObjectRetrievalFailureException.getPersistentClass()Return the persistent class of the object that was not found.ObjectOptimisticLockingFailureException.getPersistentClassName()Return the name of the persistent class of the object for which the locking failed.ObjectRetrievalFailureException.getPersistentClassName()Return the name of the persistent class of the object that was not found.Constructor parameters in org.springframework.orm with annotations of type NullableModifierConstructorDescriptionObjectOptimisticLockingFailureException(Class<?> persistentClass, Object identifier, String msg, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit message.ObjectOptimisticLockingFailureException(Class<?> persistentClass, Object identifier, String msg, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit message.ObjectOptimisticLockingFailureException(Class<?> persistentClass, Object identifier, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message.ObjectOptimisticLockingFailureException(String persistentClassName, Object identifier, String msg, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit message.ObjectOptimisticLockingFailureException(String persistentClassName, Object identifier, String msg, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit message.ObjectOptimisticLockingFailureException(String persistentClassName, Object identifier, String msg, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the given explicit message.ObjectOptimisticLockingFailureException(String persistentClassName, Object identifier, Throwable cause) Create a new ObjectOptimisticLockingFailureException for the given object, with the default "optimistic locking failed" message.ObjectOptimisticLockingFailureException(String msg, Throwable cause) Create a general ObjectOptimisticLockingFailureException with the given message, without any information on the affected object.ObjectOptimisticLockingFailureException(String msg, Throwable cause) Create a general ObjectOptimisticLockingFailureException with the given message, without any information on the affected object.ObjectRetrievalFailureException(Class<?> persistentClass, Object identifier, String msg, Throwable cause) Create a new ObjectRetrievalFailureException for the given object, with the given explicit message and exception.ObjectRetrievalFailureException(Class<?> persistentClass, Object identifier, String msg, Throwable cause) Create a new ObjectRetrievalFailureException for the given object, with the given explicit message and exception.ObjectRetrievalFailureException(String persistentClassName, Object identifier, String msg, Throwable cause) Create a new ObjectRetrievalFailureException for the given object, with the given explicit message and exception.ObjectRetrievalFailureException(String persistentClassName, Object identifier, String msg, Throwable cause) Create a new ObjectRetrievalFailureException for the given object, with the given explicit message and exception.ObjectRetrievalFailureException(String persistentClassName, Object identifier, String msg, Throwable cause) Create a new ObjectRetrievalFailureException for the given object, with the given explicit message and exception.ObjectRetrievalFailureException(String msg, Throwable cause) Create a general ObjectRetrievalFailureException with the given message, without any information on the affected object. -
Uses of Nullable in org.springframework.orm.hibernate5
Methods in org.springframework.orm.hibernate5 with annotations of type NullableModifier and TypeMethodDescriptionprotected <T> THibernateTemplate.doExecute(HibernateCallback<T> action, boolean enforceNativeSession) Execute the action specified by the given action object within a Session.HibernateCallback.doInHibernate(Session session) Gets called byHibernateTemplate.executewith an active HibernateSession.<T> THibernateOperations.execute(HibernateCallback<T> action) Execute the action specified by the given action object within aSession.<T> THibernateTemplate.execute(HibernateCallback<T> action) <T> THibernateTemplate.executeWithNativeSession(HibernateCallback<T> action) Execute the action specified by the given action object within a nativeSession.<T> THibernateOperations.get(Class<T> entityClass, Serializable id) Return the persistent instance of the given entity class with the given identifier, ornullif not found.<T> THibernateOperations.get(Class<T> entityClass, Serializable id, LockMode lockMode) Return the persistent instance of the given entity class with the given identifier, ornullif not found.HibernateOperations.get(String entityName, Serializable id) Return the persistent instance of the given entity class with the given identifier, ornullif not found.HibernateOperations.get(String entityName, Serializable id, LockMode lockMode) Return the persistent instance of the given entity class with the given identifier, ornullif not found.<T> THibernateTemplate.get(Class<T> entityClass, Serializable id) <T> THibernateTemplate.get(Class<T> entityClass, Serializable id, LockMode lockMode) HibernateTemplate.get(String entityName, Serializable id) HibernateTemplate.get(String entityName, Serializable id, LockMode lockMode) HibernateTransactionManager.getDataSource()Return the JDBC DataSource that this instance manages transactions for.static DataSourceSessionFactoryUtils.getDataSource(SessionFactory sessionFactory) Determine the DataSource of the given SessionFactory.HibernateTransactionManager.getEntityInterceptor()Return the current Hibernate entity interceptor, ornullif none.String[]HibernateTemplate.getFilterNames()Return the names of Hibernate filters to be activated, if any.LocalSessionFactoryBean.getObject()SessionHolder.getPreviousFlushMode()HibernateTemplate.getQueryCacheRegion()Return the name of the cache region for queries executed by this template.HibernateQueryException.getQueryString()Return the HQL query string that was invalid.HibernateTemplate.getSessionFactory()Return the Hibernate SessionFactory that should be used to create Hibernate Sessions.HibernateTransactionManager.getSessionFactory()Return the SessionFactory that this instance should manage transactions for.HibernateJdbcException.getSql()Return the SQL that led to the problem.SessionHolder.getTransaction()HibernateExceptionTranslator.translateExceptionIfPossible(RuntimeException ex) Method parameters in org.springframework.orm.hibernate5 with annotations of type NullableModifier and TypeMethodDescriptionintHibernateTemplate.bulkUpdate(String queryString, Object... values) Deprecated.static voidSessionFactoryUtils.closeSession(Session session) Perform actual closing of the Hibernate Session, catching and logging any cleanup exceptions thrown.voidvoidprotected voidbooleanList<?>Deprecated.<T> List<T>HibernateTemplate.findByExample(String entityName, T exampleEntity, int firstResult, int maxResults) List<?>HibernateTemplate.findByNamedQuery(String queryName, Object... values) Deprecated.List<?>HibernateTemplate.findByNamedQueryAndNamedParam(String queryName, String[] paramNames, Object[] values) Deprecated.List<?>HibernateTemplate.findByNamedQueryAndNamedParam(String queryName, String[] paramNames, Object[] values) Deprecated.<T> THibernateTemplate.get(Class<T> entityClass, Serializable id, LockMode lockMode) HibernateTemplate.get(String entityName, Serializable id, LockMode lockMode) Iterator<?>Deprecated.<T> THibernateTemplate.load(Class<T> entityClass, Serializable id, LockMode lockMode) HibernateTemplate.load(String entityName, Serializable id, LockMode lockMode) voidvoidHibernateTransactionManager.setDataSource(DataSource dataSource) Set the JDBC DataSource that this instance should manage transactions for.voidHibernateTransactionManager.setEntityInterceptor(Interceptor entityInterceptor) Set a Hibernate entity interceptor that allows to inspect and change property values before writing to and reading from the database.voidHibernateTemplate.setFilterNames(String... filterNames) Set one or more names of Hibernate filters to be activated for all Sessions that this accessor works with.voidSessionHolder.setPreviousFlushMode(FlushMode previousFlushMode) voidHibernateTemplate.setQueryCacheRegion(String queryCacheRegion) Set the name of the cache region for queries executed by this template.voidHibernateTemplate.setSessionFactory(SessionFactory sessionFactory) Set the Hibernate SessionFactory that should be used to create Hibernate Sessions.voidHibernateTransactionManager.setSessionFactory(SessionFactory sessionFactory) Set the SessionFactory that this instance should manage transactions for.voidSessionHolder.setTransaction(Transaction transaction) voidvoidConstructor parameters in org.springframework.orm.hibernate5 with annotations of type NullableModifierConstructorDescriptionCreate a new HibernateSystemException, wrapping an arbitrary HibernateException.LocalSessionFactoryBuilder(DataSource dataSource) Create a new LocalSessionFactoryBuilder for the given DataSource.LocalSessionFactoryBuilder(DataSource dataSource, ClassLoader classLoader) Create a new LocalSessionFactoryBuilder for the given DataSource.LocalSessionFactoryBuilder(DataSource dataSource, ResourceLoader resourceLoader) Create a new LocalSessionFactoryBuilder for the given DataSource.LocalSessionFactoryBuilder(DataSource dataSource, ResourceLoader resourceLoader, MetadataSources metadataSources) Create a new LocalSessionFactoryBuilder for the given DataSource. -
Uses of Nullable in org.springframework.orm.hibernate5.support
Methods in org.springframework.orm.hibernate5.support with annotations of type NullableModifier and TypeMethodDescriptionfinal HibernateTemplateHibernateDaoSupport.getHibernateTemplate()Return the HibernateTemplate for this DAO, pre-initialized with the SessionFactory or set explicitly.final SessionFactoryHibernateDaoSupport.getSessionFactory()Return the Hibernate SessionFactory used by this DAO.OpenSessionInterceptor.getSessionFactory()Return the Hibernate SessionFactory that should be used to create Hibernate Sessions.OpenSessionInViewInterceptor.getSessionFactory()Return the Hibernate SessionFactory that should be used to create Hibernate Sessions.OpenSessionInterceptor.invoke(MethodInvocation invocation) Method parameters in org.springframework.orm.hibernate5.support with annotations of type NullableModifier and TypeMethodDescriptionvoidOpenSessionInViewInterceptor.afterCompletion(WebRequest request, Exception ex) Unbind the HibernateSessionfrom the thread and close it.voidOpenSessionInViewInterceptor.postHandle(WebRequest request, ModelMap model) final voidHibernateDaoSupport.setHibernateTemplate(HibernateTemplate hibernateTemplate) Set the HibernateTemplate for this DAO explicitly, as an alternative to specifying a SessionFactory.voidOpenSessionInterceptor.setSessionFactory(SessionFactory sessionFactory) Set the Hibernate SessionFactory that should be used to create Hibernate Sessions.voidOpenSessionInViewInterceptor.setSessionFactory(SessionFactory sessionFactory) Set the Hibernate SessionFactory that should be used to create Hibernate Sessions. -
Uses of Nullable in org.springframework.orm.jpa
Methods in org.springframework.orm.jpa with annotations of type NullableModifier and TypeMethodDescriptionDefaultJpaDialect.beginTransaction(EntityManager entityManager, TransactionDefinition definition) This implementation invokes the standard JPATransaction.beginmethod.JpaDialect.beginTransaction(EntityManager entityManager, TransactionDefinition definition) Begin the given JPA transaction, applying the semantics specified by the given Spring transaction definition (in particular, an isolation level and a timeout).static DataAccessExceptionEntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(RuntimeException ex) Convert the given runtime exception to an appropriate exception from theorg.springframework.daohierarchy.static EntityManagerEntityManagerFactoryUtils.doGetTransactionalEntityManager(EntityManagerFactory emf, Map<?, ?> properties) Obtain a JPA EntityManager from the given factory.static EntityManagerEntityManagerFactoryUtils.doGetTransactionalEntityManager(EntityManagerFactory emf, Map<?, ?> properties, boolean synchronizedWithTransaction) Obtain a JPA EntityManager from the given factory.AbstractEntityManagerFactoryBean.getBootstrapExecutor()Return the asynchronous executor for background bootstrapping, if any.AbstractEntityManagerFactoryBean.getDataSource()EntityManagerFactoryInfo.getDataSource()Return the JDBC DataSource that this EntityManagerFactory obtains its JDBC Connections from.JpaTransactionManager.getDataSource()Return the JDBC DataSource that this instance manages transactions for.LocalContainerEntityManagerFactoryBean.getDataSource()LocalEntityManagerFactoryBean.getDataSource()Expose the JDBC DataSource from the "jakarta.persistence.dataSource" property, if any.EntityManagerFactoryAccessor.getEntityManagerFactory()Return the JPA EntityManagerFactory that should be used to create EntityManagers.JpaTransactionManager.getEntityManagerFactory()Return the EntityManagerFactory that this instance should manage transactions for.Class<? extends EntityManager>AbstractEntityManagerFactoryBean.getEntityManagerInterface()Class<? extends EntityManager>EntityManagerFactoryInfo.getEntityManagerInterface()Return the (potentially vendor-specific) EntityManager interface that this factory's EntityManagers will implement.DefaultJpaDialect.getJdbcConnection(EntityManager entityManager, boolean readOnly) This implementation always returnsnull, indicating that no JDBC Connection can be provided.JpaDialect.getJdbcConnection(EntityManager entityManager, boolean readOnly) Retrieve the JDBC Connection that the given JPA EntityManager uses underneath, if accessing a relational database.AbstractEntityManagerFactoryBean.getJpaDialect()EntityManagerFactoryInfo.getJpaDialect()Return the vendor-specific JpaDialect implementation for this EntityManagerFactory, ornullif not known.default JpaDialectJpaVendorAdapter.getJpaDialect()Return the vendor-specific JpaDialect implementation for this provider, ornullif there is none.AbstractEntityManagerFactoryBean.getJpaVendorAdapter()Return the JpaVendorAdapter implementation for this EntityManagerFactory, ornullif not known.AbstractEntityManagerFactoryBean.getObject()Return the singleton EntityManagerFactory.AbstractEntityManagerFactoryBean.getPersistenceProvider()EntityManagerFactoryInfo.getPersistenceProvider()Return the underlying PersistenceProvider that the underlying EntityManagerFactory was created with.default StringJpaVendorAdapter.getPersistenceProviderRootPackage()Return the name of the persistence provider's root package (for example, "oracle.toplink.essentials").AbstractEntityManagerFactoryBean.getPersistenceUnitInfo()EntityManagerFactoryInfo.getPersistenceUnitInfo()Return the PersistenceUnitInfo used to create this EntityManagerFactory, if the in-container API was used.LocalContainerEntityManagerFactoryBean.getPersistenceUnitInfo()AbstractEntityManagerFactoryBean.getPersistenceUnitName()EntityManagerFactoryAccessor.getPersistenceUnitName()Return the name of the persistence unit to access the EntityManagerFactory for, if any.EntityManagerFactoryInfo.getPersistenceUnitName()Return the name of the persistence unit used to create this EntityManagerFactory, ornullif it is an unnamed default.JpaTransactionManager.getPersistenceUnitName()Return the name of the persistence unit to manage transactions for, if any.LocalContainerEntityManagerFactoryBean.getPersistenceUnitName()protected SavepointManagerEntityManagerHolder.getSavepointManager()protected EntityManagerEntityManagerFactoryAccessor.getTransactionalEntityManager()Obtain the transactional EntityManager for this accessor's EntityManagerFactory, if any.static EntityManagerEntityManagerFactoryUtils.getTransactionalEntityManager(EntityManagerFactory emf) Obtain a JPA EntityManager from the given factory.static EntityManagerEntityManagerFactoryUtils.getTransactionalEntityManager(EntityManagerFactory emf, Map<?, ?> properties) Obtain a JPA EntityManager from the given factory.DefaultJpaDialect.prepareTransaction(EntityManager entityManager, boolean readOnly, String name) JpaDialect.prepareTransaction(EntityManager entityManager, boolean readOnly, String name) Prepare a JPA transaction, applying the specified semantics.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(RuntimeException ex) Implementation of the PersistenceExceptionTranslator interface, as autodetected by Spring's PersistenceExceptionTranslationPostProcessor.DefaultJpaDialect.translateExceptionIfPossible(RuntimeException ex) This implementation delegates to EntityManagerFactoryUtils.Method parameters in org.springframework.orm.jpa with annotations of type NullableModifier and TypeMethodDescriptionvoidDefaultJpaDialect.cleanupTransaction(Object transactionData) This implementation does nothing, since the defaultbeginTransactionimplementation does not require any cleanup.voidJpaDialect.cleanupTransaction(Object transactionData) Clean up the transaction via the given transaction data.static voidEntityManagerFactoryUtils.closeEntityManager(EntityManager em) Close the given JPA EntityManager, catching and logging any cleanup exceptions thrown.static EntityManagerExtendedEntityManagerCreator.createContainerManagedEntityManager(EntityManagerFactory emf, Map<?, ?> properties) Create a container-managed extended EntityManager proxy.static EntityManagerExtendedEntityManagerCreator.createContainerManagedEntityManager(EntityManagerFactory emf, Map<?, ?> properties, boolean synchronizedWithTransaction) Create a container-managed extended EntityManager proxy.protected EntityManagerFactoryAbstractEntityManagerFactoryBean.createEntityManagerFactoryProxy(EntityManagerFactory emf) Create a proxy for the givenEntityManagerFactory.AbstractEntityManagerFactoryBean.createNativeEntityManager(Map<?, ?> properties) EntityManagerFactoryInfo.createNativeEntityManager(Map<?, ?> properties) Create a native JPA EntityManager to be used as the framework-managed resource behind an application-level EntityManager handle.static EntityManagerSharedEntityManagerCreator.createSharedEntityManager(EntityManagerFactory emf, Map<?, ?> properties) Create a transactional EntityManager proxy for the given EntityManagerFactory.static EntityManagerSharedEntityManagerCreator.createSharedEntityManager(EntityManagerFactory emf, Map<?, ?> properties, boolean synchronizedWithTransaction) Create a transactional EntityManager proxy for the given EntityManagerFactory.static EntityManagerSharedEntityManagerCreator.createSharedEntityManager(EntityManagerFactory emf, Map<?, ?> properties, boolean synchronizedWithTransaction, Class<?>... entityManagerInterfaces) Create a transactional EntityManager proxy for the given EntityManagerFactory.static EntityManagerSharedEntityManagerCreator.createSharedEntityManager(EntityManagerFactory emf, Map<?, ?> properties, Class<?>... entityManagerInterfaces) Create a transactional EntityManager proxy for the given EntityManagerFactory.static EntityManagerEntityManagerFactoryUtils.doGetTransactionalEntityManager(EntityManagerFactory emf, Map<?, ?> properties, boolean synchronizedWithTransaction) Obtain a JPA EntityManager from the given factory.protected voidstatic EntityManagerFactoryEntityManagerFactoryUtils.findEntityManagerFactory(ListableBeanFactory beanFactory, String unitName) Find an EntityManagerFactory with the given name in the given Spring application context (represented as ListableBeanFactory).static EntityManagerEntityManagerFactoryUtils.getTransactionalEntityManager(EntityManagerFactory emf, Map<?, ?> properties) Obtain a JPA EntityManager from the given factory.DefaultJpaDialect.prepareTransaction(EntityManager entityManager, boolean readOnly, String name) JpaDialect.prepareTransaction(EntityManager entityManager, boolean readOnly, String name) Prepare a JPA transaction, applying the specified semantics.voidAbstractEntityManagerFactoryBean.setBootstrapExecutor(AsyncTaskExecutor bootstrapExecutor) Specify an asynchronous executor for background bootstrapping, for example, aSimpleAsyncTaskExecutor.voidJpaTransactionManager.setDataSource(DataSource dataSource) Set the JDBC DataSource that this instance should manage transactions for.voidLocalContainerEntityManagerFactoryBean.setDataSource(DataSource dataSource) Specify the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database.voidLocalEntityManagerFactoryBean.setDataSource(DataSource dataSource) Specify the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database.voidEntityManagerFactoryAccessor.setEntityManagerFactory(EntityManagerFactory emf) Set the JPA EntityManagerFactory that should be used to create EntityManagers.voidJpaTransactionManager.setEntityManagerFactory(EntityManagerFactory emf) Set the EntityManagerFactory that this instance should manage transactions for.voidAbstractEntityManagerFactoryBean.setEntityManagerInterface(Class<? extends EntityManager> emInterface) Specify the (potentially vendor-specific) EntityManager interface that this factory's EntityManagers are supposed to implement.voidAbstractEntityManagerFactoryBean.setJpaDialect(JpaDialect jpaDialect) Specify the vendor-specific JpaDialect implementation to associate with this EntityManagerFactory.voidJpaTransactionManager.setJpaDialect(JpaDialect jpaDialect) Set the JPA dialect to use for this transaction manager.voidJpaTransactionManager.setJpaProperties(Properties jpaProperties) Specify JPA properties, to be passed intoEntityManagerFactory.createEntityManager(Map)(if any).voidAbstractEntityManagerFactoryBean.setJpaPropertyMap(Map<String, ?> jpaProperties) Specify JPA properties as a Map, to be passed intoPersistence.createEntityManagerFactory(if any).voidEntityManagerFactoryAccessor.setJpaPropertyMap(Map<String, Object> jpaProperties) Specify JPA properties as a Map, to be passed intoEntityManagerFactory.createEntityManager(Map)(if any).voidJpaTransactionManager.setJpaPropertyMap(Map<String, ?> jpaProperties) Specify JPA properties as a Map, to be passed intoEntityManagerFactory.createEntityManager(Map)(if any).voidAbstractEntityManagerFactoryBean.setJpaVendorAdapter(JpaVendorAdapter jpaVendorAdapter) Specify the JpaVendorAdapter implementation for the desired JPA provider, if any.voidLocalContainerEntityManagerFactoryBean.setJtaDataSource(DataSource jtaDataSource) Specify the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database.voidAbstractEntityManagerFactoryBean.setPersistenceProvider(PersistenceProvider persistenceProvider) Set the PersistenceProvider instance to use for creating the EntityManagerFactory.voidAbstractEntityManagerFactoryBean.setPersistenceUnitName(String persistenceUnitName) Specify the name of the EntityManagerFactory configuration.voidEntityManagerFactoryAccessor.setPersistenceUnitName(String persistenceUnitName) Set the name of the persistence unit to access the EntityManagerFactory for.voidJpaTransactionManager.setPersistenceUnitName(String persistenceUnitName) Set the name of the persistence unit to manage transactions for.voidLocalContainerEntityManagerFactoryBean.setPersistenceUnitName(String persistenceUnitName) Uses the specified persistence unit name as the name of the default persistence unit, if applicable.protected voidEntityManagerHolder.setSavepointManager(SavepointManager savepointManager) Constructor parameters in org.springframework.orm.jpa with annotations of type Nullable -
Uses of Nullable in org.springframework.orm.jpa.persistenceunit
Methods in org.springframework.orm.jpa.persistenceunit with annotations of type NullableModifier and TypeMethodDescriptionMutablePersistenceUnitInfo.getClassLoader()This implementation returns the default ClassLoader.DefaultPersistenceUnitManager.getDataSourceLookup()Return the JDBC DataSourceLookup that provides DataSources for the persistence provider, resolving data source names inpersistence.xmlagainst Spring-managed DataSource instances.DefaultPersistenceUnitManager.getDefaultDataSource()Return the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database if none has been specified inpersistence.xml.DefaultPersistenceUnitManager.getDefaultJtaDataSource()Return the JTA-aware DataSource that the JPA persistence provider is supposed to use for accessing the database if none has been specified inpersistence.xml.MutablePersistenceUnitInfo.getJtaDataSource()DefaultPersistenceUnitManager.getLoadTimeWeaver()Return the Spring LoadTimeWeaver to use for class instrumentation according to the JPA class transformer contract.MutablePersistenceUnitInfo.getNonJtaDataSource()MutablePersistenceUnitInfo.getPersistenceProviderClassName()MutablePersistenceUnitInfo.getPersistenceProviderPackageName()protected final MutablePersistenceUnitInfoDefaultPersistenceUnitManager.getPersistenceUnitInfo(String persistenceUnitName) Return the specified PersistenceUnitInfo from this manager's cache of processed persistence units, keeping it in the cache (i.e.MutablePersistenceUnitInfo.getPersistenceUnitName()DefaultPersistenceUnitManager.getPersistenceUnitPostProcessors()Return the PersistenceUnitPostProcessors to be applied to each PersistenceUnitInfo that has been parsed by this manager.MutablePersistenceUnitInfo.getPersistenceUnitRootUrl()PersistenceManagedTypes.getPersistenceUnitRootUrl()Return the persistence unit root url ornullif it could not be determined.Method parameters in org.springframework.orm.jpa.persistenceunit with annotations of type NullableModifier and TypeMethodDescriptionvoidDefaultPersistenceUnitManager.setDataSourceLookup(DataSourceLookup dataSourceLookup) Specify the JDBC DataSourceLookup that provides DataSources for the persistence provider, resolving data source names inpersistence.xmlagainst Spring-managed DataSource instances.voidDefaultPersistenceUnitManager.setDefaultDataSource(DataSource defaultDataSource) Specify the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database if none has been specified inpersistence.xml.voidDefaultPersistenceUnitManager.setDefaultJtaDataSource(DataSource defaultJtaDataSource) Specify the JDBC DataSource that the JPA persistence provider is supposed to use for accessing the database if none has been specified inpersistence.xml.voidMutablePersistenceUnitInfo.setJtaDataSource(DataSource jtaDataSource) voidDefaultPersistenceUnitManager.setLoadTimeWeaver(LoadTimeWeaver loadTimeWeaver) Specify the Spring LoadTimeWeaver to use for class instrumentation according to the JPA class transformer contract.voidMutablePersistenceUnitInfo.setNonJtaDataSource(DataSource nonJtaDataSource) voidMutablePersistenceUnitInfo.setPersistenceProviderClassName(String persistenceProviderClassName) voidMutablePersistenceUnitInfo.setPersistenceProviderPackageName(String persistenceProviderPackageName) voidMutablePersistenceUnitInfo.setPersistenceUnitName(String persistenceUnitName) voidDefaultPersistenceUnitManager.setPersistenceUnitPostProcessors(PersistenceUnitPostProcessor... postProcessors) Set the PersistenceUnitPostProcessors to be applied to each PersistenceUnitInfo that has been parsed by this manager.voidMutablePersistenceUnitInfo.setPersistenceUnitRootUrl(URL persistenceUnitRootUrl) Constructor parameters in org.springframework.orm.jpa.persistenceunit with annotations of type NullableModifierConstructorDescriptionPersistenceManagedTypesScanner(ResourceLoader resourceLoader, ManagedClassNameFilter managedClassNameFilter) Create a newPersistenceManagedTypesScannerfor the given resource loader. -
Uses of Nullable in org.springframework.orm.jpa.support
Methods in org.springframework.orm.jpa.support with annotations of type NullableModifier and TypeMethodDescriptionprotected StringOpenEntityManagerInViewFilter.getEntityManagerFactoryBeanName()Return the bean name of the EntityManagerFactory to fetch from Spring's root application context.SharedEntityManagerBean.getObject()protected EntityManagerPersistenceAnnotationBeanPostProcessor.getPersistenceContext(String unitName, boolean extended) Return a specified persistence context for the given unit name, as defined through the "persistenceContexts" (or "extendedPersistenceContexts") map.protected EntityManagerFactoryPersistenceAnnotationBeanPostProcessor.getPersistenceUnit(String unitName) Return a specified persistence unit for the given unit name, as defined through the "persistenceUnits" map.protected StringOpenEntityManagerInViewFilter.getPersistenceUnitName()Return the name of the persistence unit to access the EntityManagerFactory for, if any.PersistenceAnnotationBeanPostProcessor.processAheadOfTime(RegisteredBean registeredBean) Method parameters in org.springframework.orm.jpa.support with annotations of type NullableModifier and TypeMethodDescriptionvoidOpenEntityManagerInViewInterceptor.afterCompletion(WebRequest request, Exception ex) protected EntityManagerFactoryPersistenceAnnotationBeanPostProcessor.findDefaultEntityManagerFactory(String requestingBeanName) Find a single default EntityManagerFactory in the Spring application context.protected EntityManagerFactoryPersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(String unitName, String requestingBeanName) Find an EntityManagerFactory with the given name in the current Spring application context, falling back to a single default EntityManagerFactory (if any) in case of no unit name specified.protected EntityManagerFactoryPersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(String unitName, String requestingBeanName) Find an EntityManagerFactory with the given name in the current Spring application context, falling back to a single default EntityManagerFactory (if any) in case of no unit name specified.protected EntityManagerFactoryPersistenceAnnotationBeanPostProcessor.findNamedEntityManagerFactory(String unitName, String requestingBeanName) Find an EntityManagerFactory with the given name in the current Spring application context.protected EntityManagerPersistenceAnnotationBeanPostProcessor.getPersistenceContext(String unitName, boolean extended) Return a specified persistence context for the given unit name, as defined through the "persistenceContexts" (or "extendedPersistenceContexts") map.protected EntityManagerFactoryPersistenceAnnotationBeanPostProcessor.getPersistenceUnit(String unitName) Return a specified persistence unit for the given unit name, as defined through the "persistenceUnits" map.voidOpenEntityManagerInViewInterceptor.postHandle(WebRequest request, ModelMap model) voidPersistenceAnnotationBeanPostProcessor.setDefaultPersistenceUnitName(String unitName) Specify the default persistence unit name, to be used in case of no unit name specified in an@PersistenceUnit/@PersistenceContextannotation.voidOpenEntityManagerInViewFilter.setEntityManagerFactoryBeanName(String entityManagerFactoryBeanName) Set the bean name of the EntityManagerFactory to fetch from Spring's root application context.voidOpenEntityManagerInViewFilter.setPersistenceUnitName(String persistenceUnitName) Set the name of the persistence unit to access the EntityManagerFactory for. -
Uses of Nullable in org.springframework.orm.jpa.vendor
Methods in org.springframework.orm.jpa.vendor with annotations of type NullableModifier and TypeMethodDescriptionEclipseLinkJpaDialect.beginTransaction(EntityManager entityManager, TransactionDefinition definition) protected Class<?>HibernateJpaVendorAdapter.determineDatabaseDialectClass(Database database) Determine the Hibernate database dialect class for the given target database.protected StringEclipseLinkJpaVendorAdapter.determineTargetDatabaseName(Database database) Determine the EclipseLink target database name for the given database.protected StringAbstractJpaVendorAdapter.getDatabasePlatform()Return the name of the target database to operate on.protected ObjectHibernateJpaDialect.getIdentifier(HibernateException hibEx) AbstractJpaVendorAdapter.getJpaDialect()AbstractJpaVendorAdapter.getPersistenceProviderRootPackage()protected FlushModeHibernateJpaDialect.prepareFlushMode(Session session, boolean readOnly) HibernateJpaDialect.translateExceptionIfPossible(RuntimeException ex) Method parameters in org.springframework.orm.jpa.vendor with annotations of type NullableModifier and TypeMethodDescriptionvoidHibernateJpaDialect.cleanupTransaction(Object transactionData) HibernateJpaDialect.prepareTransaction(EntityManager entityManager, boolean readOnly, String name) voidAbstractJpaVendorAdapter.setDatabasePlatform(String databasePlatform) Specify the name of the target database to operate on.voidHibernateJpaDialect.setJdbcExceptionTranslator(SQLExceptionTranslator exceptionTranslator) Set the JDBC exception translator for Hibernate exception translation purposes. -
Uses of Nullable in org.springframework.oxm.jaxb
Methods in org.springframework.oxm.jaxb with annotations of type NullableModifier and TypeMethodDescriptionClass<?>[]Jaxb2Marshaller.getClassesToBeBound()Return the list of Java classes to be recognized by a newly created JAXBContext.Jaxb2Marshaller.getContextPath()Return the JAXB context path.String[]Jaxb2Marshaller.getPackagesToScan()Return the packages to search for JAXB2 annotations.Method parameters in org.springframework.oxm.jaxb with annotations of type NullableModifier and TypeMethodDescriptionvoidJaxb2Marshaller.marshal(Object graph, Result result, MimeContainer mimeContainer) voidJaxb2Marshaller.setClassesToBeBound(Class<?>... classesToBeBound) Set the list of Java classes to be recognized by a newly created JAXBContext.voidJaxb2Marshaller.setContextPath(String contextPath) Set a JAXB context path.voidJaxb2Marshaller.setPackagesToScan(String... packagesToScan) Set the packages to search for classes with JAXB2 annotations in the classpath.Jaxb2Marshaller.unmarshal(Source source, MimeContainer mimeContainer) -
Uses of Nullable in org.springframework.oxm.mime
Methods in org.springframework.oxm.mime with annotations of type NullableModifier and TypeMethodDescriptionMimeContainer.getAttachment(String contentId) Return the attachment with the given content id, ornullif not found.Method parameters in org.springframework.oxm.mime with annotations of type NullableModifier and TypeMethodDescriptionvoidMimeMarshaller.marshal(Object graph, Result result, MimeContainer mimeContainer) Marshals the object graph with the given root into the providedResult, writing binary data to aMimeContainer.MimeUnmarshaller.unmarshal(Source source, MimeContainer mimeContainer) Unmarshals the given providedSourceinto an object graph, reading binary attachments from aMimeContainer. -
Uses of Nullable in org.springframework.oxm.support
Methods in org.springframework.oxm.support with annotations of type NullableModifier and TypeMethodDescriptionprotected StringAbstractMarshaller.getDefaultEncoding()Determine the default encoding to use for marshalling or unmarshalling from a byte stream, ornullif none.Method parameters in org.springframework.oxm.support with annotations of type NullableModifier and TypeMethodDescriptionprotected abstract voidAbstractMarshaller.marshalSaxHandlers(Object graph, ContentHandler contentHandler, LexicalHandler lexicalHandler) Abstract template method for marshalling the given object graph to a SAXContentHandler. -
Uses of Nullable in org.springframework.oxm.xstream
Method parameters in org.springframework.oxm.xstream with annotations of type NullableModifier and TypeMethodDescriptionvoidXStreamMarshaller.marshalOutputStream(Object graph, OutputStream outputStream, com.thoughtworks.xstream.converters.DataHolder dataHolder) protected voidXStreamMarshaller.marshalSaxHandlers(Object graph, ContentHandler contentHandler, LexicalHandler lexicalHandler) voidXStreamMarshaller.marshalWriter(Object graph, Writer writer, com.thoughtworks.xstream.converters.DataHolder dataHolder) XStreamMarshaller.unmarshalInputStream(InputStream inputStream, com.thoughtworks.xstream.converters.DataHolder dataHolder) XStreamMarshaller.unmarshalReader(Reader reader, com.thoughtworks.xstream.converters.DataHolder dataHolder) -
Uses of Nullable in org.springframework.r2dbc
Methods in org.springframework.r2dbc with annotations of type NullableModifier and TypeMethodDescriptionBadSqlGrammarException.getR2dbcException()Return the wrappedR2dbcException.UncategorizedR2dbcException.getR2dbcException()Return the wrappedR2dbcException.UncategorizedR2dbcException.getSql()Return the SQL that led to the problem (if known).Constructor parameters in org.springframework.r2dbc with annotations of type NullableModifierConstructorDescriptionUncategorizedR2dbcException(String msg, String sql, R2dbcException ex) Constructor forUncategorizedSQLException. -
Uses of Nullable in org.springframework.r2dbc.connection
Methods in org.springframework.r2dbc.connection with annotations of type NullableModifier and TypeMethodDescriptionprotected BooleanSingleConnectionFactory.getAutoCommitValue()Return whether the returnedConnection's "autoCommit" setting should be overridden.R2dbcTransactionManager.getConnectionFactory()Return the R2DBCConnectionFactorythat this instance manages transactions for.protected IsolationLevelR2dbcTransactionManager.resolveIsolationLevel(int isolationLevel) Resolve the isolation level constant to a R2DBCIsolationLevel.Method parameters in org.springframework.r2dbc.connection with annotations of type NullableModifier and TypeMethodDescriptionstatic DataAccessExceptionConnectionFactoryUtils.convertR2dbcException(String task, String sql, R2dbcException ex) Translate the givenR2dbcExceptioninto a genericDataAccessException.protected reactor.core.publisher.Mono<Void>R2dbcTransactionManager.doResume(TransactionSynchronizationManager synchronizationManager, Object transaction, Object suspendedResources) protected voidConnectionHolder.setConnection(Connection connection) Override the existing Connection with the givenConnection.voidR2dbcTransactionManager.setConnectionFactory(ConnectionFactory connectionFactory) Set the R2DBCConnectionFactorythat this instance should manage transactions for. -
Uses of Nullable in org.springframework.r2dbc.connection.init
Method parameters in org.springframework.r2dbc.connection.init with annotations of type NullableModifier and TypeMethodDescriptionstatic reactor.core.publisher.Mono<Void>ScriptUtils.executeSqlScript(Connection connection, EncodedResource resource, DataBufferFactory dataBufferFactory, boolean continueOnError, boolean ignoreFailedDrops, String[] commentPrefixes, String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter) Execute the given SQL script.static reactor.core.publisher.Mono<Void>ScriptUtils.executeSqlScript(Connection connection, EncodedResource resource, DataBufferFactory dataBufferFactory, boolean continueOnError, boolean ignoreFailedDrops, String commentPrefix, String separator, String blockCommentStartDelimiter, String blockCommentEndDelimiter) Execute the given SQL script.voidResourceDatabasePopulator.setSqlScriptEncoding(String sqlScriptEncoding) Specify the encoding for the configured SQL scripts, if different from the platform encoding.voidResourceDatabasePopulator.setSqlScriptEncoding(Charset sqlScriptEncoding) Specify the encoding for the configured SQL scripts, if different from the platform encoding.Constructor parameters in org.springframework.r2dbc.connection.init with annotations of type NullableModifierConstructorDescriptionResourceDatabasePopulator(boolean continueOnError, boolean ignoreFailedDrops, String sqlScriptEncoding, Resource... scripts) Construct a newResourceDatabasePopulatorwith the supplied values.ScriptException(String message, Throwable cause) Create a newScriptException.ScriptParseException(String message, EncodedResource resource) Create a newScriptParseException.ScriptParseException(String message, EncodedResource resource, Throwable cause) Create a newScriptParseException.ScriptParseException(String message, EncodedResource resource, Throwable cause) Create a newScriptParseException. -
Uses of Nullable in org.springframework.r2dbc.core
Methods in org.springframework.r2dbc.core with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectColumnMapRowMapper.getColumnValue(Row row, int index) Retrieve a R2DBC object value for the specified column.protected ObjectBeanPropertyRowMapper.getItemValue(Readable readable, int itemIndex, Class<?> paramType) Retrieve an R2DBC object value for the specified item index (a column or an out-parameter).SqlProvider.getSql()Return the SQL string for this object, i.e.Parameter.getValue()Deprecated.Return the column value (can benull).Method parameters in org.springframework.r2dbc.core with annotations of type Nullable -
Uses of Nullable in org.springframework.r2dbc.core.binding
Methods in org.springframework.r2dbc.core.binding with annotations of type NullableModifier and TypeMethodDescriptionBindMarkersFactoryResolver.BindMarkerFactoryProvider.getBindMarkers(ConnectionFactory connectionFactory) Return aBindMarkersFactoryfor the givenConnectionFactory.abstract ObjectBindings.Binding.getValue()Return the binding value. -
Uses of Nullable in org.springframework.scheduling
Methods in org.springframework.scheduling with annotations of type NullableModifier and TypeMethodDescriptiondefault StringSchedulingAwareRunnable.getQualifier()Return a qualifier associated with this Runnable.TriggerContext.lastActualExecution()Return the last actual execution time of the task, ornullif not scheduled before.default DateTriggerContext.lastActualExecutionTime()Deprecated.as of 6.0, in favor onTriggerContext.lastActualExecution()TriggerContext.lastCompletion()Return the last completion time of the task, ornullif not scheduled before.default DateTriggerContext.lastCompletionTime()Deprecated.as of 6.0, in favor onTriggerContext.lastCompletion()TriggerContext.lastScheduledExecution()Return the last scheduled execution time of the task, ornullif not scheduled before.default DateTriggerContext.lastScheduledExecutionTime()Deprecated.as of 6.0, in favor onTriggerContext.lastScheduledExecution()Trigger.nextExecution(TriggerContext triggerContext) Determine the next execution time according to the given trigger context.default DateTrigger.nextExecutionTime(TriggerContext triggerContext) Deprecated.as of 6.0, in favor ofTrigger.nextExecution(TriggerContext)Schedule the givenRunnable, invoking it whenever the trigger indicates a next execution time. -
Uses of Nullable in org.springframework.scheduling.annotation
Fields in org.springframework.scheduling.annotation with annotations of type NullableModifier and TypeFieldDescriptionprotected AnnotationAttributesAbstractAsyncConfiguration.enableAsyncprotected Supplier<AsyncUncaughtExceptionHandler>AbstractAsyncConfiguration.exceptionHandlerAbstractAsyncConfiguration.executorMethods in org.springframework.scheduling.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected RunnableScheduledAnnotationBeanPostProcessor.createRunnable(Object target, Method method) Deprecated.AsyncResult.get()Deprecated.Deprecated.default ExecutorAsyncConfigurer.getAsyncExecutor()TheExecutorinstance to be used when processing async method invocations.AsyncConfigurerSupport.getAsyncExecutor()Deprecated.default AsyncUncaughtExceptionHandlerAsyncConfigurer.getAsyncUncaughtExceptionHandler()TheAsyncUncaughtExceptionHandlerinstance to be used when an exception is thrown during an asynchronous method execution withvoidreturn type.AsyncConfigurerSupport.getAsyncUncaughtExceptionHandler()Deprecated.protected StringAnnotationAsyncExecutionInterceptor.getExecutorQualifier(Method method) Return the qualifier or bean name of the executor to be used when executing the given method, specified viaAsync.value()at the method or declaring class level.Method parameters in org.springframework.scheduling.annotation with annotations of type NullableModifier and TypeMethodDescriptionprotected AdviceAsyncAnnotationAdvisor.buildAdvice(Supplier<Executor> executor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) protected AdviceAsyncAnnotationAdvisor.buildAdvice(Supplier<Executor> executor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) voidAsyncAnnotationBeanPostProcessor.configure(Supplier<Executor> executor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) Configure this post-processor with the given executor and exception handler suppliers, applying the corresponding default if a supplier is not resolvable.voidAsyncAnnotationBeanPostProcessor.configure(Supplier<Executor> executor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) Configure this post-processor with the given executor and exception handler suppliers, applying the corresponding default if a supplier is not resolvable.protected RunnableScheduledAnnotationBeanPostProcessor.createRunnable(Object target, Method method, String qualifier) Create aRunnablefor the given bean instance, calling the specified scheduled method.Constructor parameters in org.springframework.scheduling.annotation with annotations of type NullableModifierConstructorDescriptionAnnotationAsyncExecutionInterceptor(Executor defaultExecutor) Create a newAnnotationAsyncExecutionInterceptorwith the given executor and a simpleAsyncUncaughtExceptionHandler.AnnotationAsyncExecutionInterceptor(Executor defaultExecutor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAnnotationAsyncExecutionInterceptorwith the given executor.AsyncAnnotationAdvisor(Executor executor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAsyncAnnotationAdvisorfor the given task executor.AsyncAnnotationAdvisor(Executor executor, AsyncUncaughtExceptionHandler exceptionHandler) Create a newAsyncAnnotationAdvisorfor the given task executor.AsyncAnnotationAdvisor(Supplier<Executor> executor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) Create a newAsyncAnnotationAdvisorfor the given task executor.AsyncAnnotationAdvisor(Supplier<Executor> executor, Supplier<AsyncUncaughtExceptionHandler> exceptionHandler) Create a newAsyncAnnotationAdvisorfor the given task executor.AsyncResult(V value) Deprecated.Create a new AsyncResult holder. -
Uses of Nullable in org.springframework.scheduling.concurrent
Methods in org.springframework.scheduling.concurrent with annotations of type NullableModifier and TypeMethodDescriptionForkJoinPoolFactoryBean.getObject()ScheduledExecutorFactoryBean.getObject()ThreadPoolExecutorFactoryBean.getObject()Method parameters in org.springframework.scheduling.concurrent with annotations of type NullableModifier and TypeMethodDescriptionprotected voidExecutorConfigurationSupport.afterExecute(Runnable task, Throwable ex) An after-execute callback for framework subclasses to delegate to (for start/stop handling), and possibly also for custom subclasses to extend (making sure to call this implementation as well).voidExecutorConfigurationSupport.setRejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler) Set the RejectedExecutionHandler to use for the ExecutorService.voidExecutorConfigurationSupport.setThreadFactory(ThreadFactory threadFactory) Set the ThreadFactory to use for the ExecutorService's thread pool.voidExecutorConfigurationSupport.setThreadNamePrefix(String threadNamePrefix) voidScheduledExecutorTask.setTimeUnit(TimeUnit timeUnit) Specify the time unit for the delay and period values.Constructor parameters in org.springframework.scheduling.concurrent with annotations of type NullableModifierConstructorDescriptionConcurrentTaskExecutor(Executor executor) Create a new ConcurrentTaskExecutor, using the givenExecutor.ConcurrentTaskScheduler(ScheduledExecutorService scheduledExecutor) Create a new ConcurrentTaskScheduler, using the givenScheduledExecutorServiceas shared delegate. -
Uses of Nullable in org.springframework.scheduling.config
Methods in org.springframework.scheduling.config with annotations of type NullableModifier and TypeMethodDescriptionprotected StringTaskSchedulerRouter.determineQualifier(Runnable task) TaskExecutionOutcome.executionTime()Returns the value of theexecutionTimerecord component.TaskExecutorFactoryBean.getObject()io.micrometer.observation.ObservationRegistryScheduledTaskRegistrar.getObservationRegistry()Return theObservationRegistryfor this registrar.ScheduledTaskRegistrar.getScheduler()Return theTaskSchedulerinstance for this registrar (may benull).ScheduledTask.nextExecution()Return the next scheduled execution of the task, ornullif the task has been cancelled or no new execution is scheduled.AnnotationDrivenBeanDefinitionParser.parse(Element element, ParserContext parserContext) ScheduledTaskRegistrar.scheduleCronTask(CronTask task) Schedule the specified cron task, either right away if possible or on initialization of the scheduler.ScheduledTaskRegistrar.scheduleFixedDelayTask(FixedDelayTask task) Schedule the specified fixed-delay task, either right away if possible or on initialization of the scheduler.ScheduledTaskRegistrar.scheduleFixedRateTask(FixedRateTask task) Schedule the specified fixed-rate task, either right away if possible or on initialization of the scheduler.ScheduledTaskRegistrar.scheduleOneTimeTask(OneTimeTask task) Schedule the specified one-time task, either right away if possible or on initialization of the scheduler.ScheduledTaskRegistrar.scheduleTriggerTask(TriggerTask task) Schedule the specified trigger task, either right away if possible or on initialization of the scheduler.TaskExecutionOutcome.throwable()Returns the value of thethrowablerecord component.Method parameters in org.springframework.scheduling.config with annotations of type NullableModifier and TypeMethodDescriptionvoidTaskSchedulerRouter.setBeanFactory(BeanFactory beanFactory) The bean factory for scheduler lookups.voidTaskSchedulerRouter.setBeanName(String name) The bean name for this router, or the bean name of the containing bean if the router instance is internally held.voidScheduledTaskRegistrar.setObservationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) Configure anObservationRegistryto record observations for scheduled tasks.voidScheduledTaskRegistrar.setScheduler(Object scheduler) Set theTaskSchedulerto register scheduled tasks with, or aScheduledExecutorServiceto be wrapped as aTaskScheduler.Constructor parameters in org.springframework.scheduling.config with annotations of type NullableModifierConstructorDescriptionTaskExecutionOutcome(Instant executionTime, TaskExecutionOutcome.Status status, Throwable throwable) Creates an instance of aTaskExecutionOutcomerecord class.TaskExecutionOutcome(Instant executionTime, TaskExecutionOutcome.Status status, Throwable throwable) Creates an instance of aTaskExecutionOutcomerecord class. -
Uses of Nullable in org.springframework.scheduling.quartz
Fields in org.springframework.scheduling.quartz with annotations of type NullableMethods in org.springframework.scheduling.quartz with annotations of type NullableModifier and TypeMethodDescriptionstatic DataSourceSchedulerFactoryBean.getConfigTimeDataSource()Return theDataSourcefor the currently configured Quartz Scheduler, to be used byLocalDataSourceJobStore.static DataSourceSchedulerFactoryBean.getConfigTimeNonTransactionalDataSource()Return the non-transactionalDataSourcefor the currently configured Quartz Scheduler, to be used byLocalDataSourceJobStore.static ResourceLoaderSchedulerFactoryBean.getConfigTimeResourceLoader()Return theResourceLoaderfor the currently configured Quartz Scheduler, to be used byResourceLoaderClassLoadHelper.static ExecutorSchedulerFactoryBean.getConfigTimeTaskExecutor()Return theExecutorfor the currently configured Quartz Scheduler, to be used byLocalTaskExecutorThreadPool.CronTriggerFactoryBean.getObject()JobDetailFactoryBean.getObject()MethodInvokingJobDetailFactoryBean.getObject()SchedulerFactoryBean.getObject()SimpleTriggerFactoryBean.getObject()ResourceLoaderClassLoadHelper.getResource(String name) ResourceLoaderClassLoadHelper.getResourceAsStream(String name) Class<?>MethodInvokingJobDetailFactoryBean.getTargetClass()Overridden to support the"targetBeanName"feature.MethodInvokingJobDetailFactoryBean.getTargetObject()Overridden to support the"targetBeanName"feature.Method parameters in org.springframework.scheduling.quartz with annotations of type NullableModifier and TypeMethodDescriptionprotected SchedulerSchedulerFactoryBean.createScheduler(SchedulerFactory schedulerFactory, String schedulerName) Create the Scheduler instance for the given factory and scheduler name.Constructor parameters in org.springframework.scheduling.quartz with annotations of type NullableModifierConstructorDescriptionResourceLoaderClassLoadHelper(ResourceLoader resourceLoader) Create a new ResourceLoaderClassLoadHelper for the given ResourceLoader. -
Uses of Nullable in org.springframework.scheduling.support
Methods in org.springframework.scheduling.support with annotations of type NullableModifier and TypeMethodDescriptionPeriodicTrigger.getInitialDelayDuration()Return the initial delay, ornullif none.ScheduledMethodRunnable.getQualifier()SimpleTriggerContext.lastActualExecution()SimpleTriggerContext.lastCompletion()SimpleTriggerContext.lastScheduledExecution()<T extends Temporal & Comparable<? super T>>
TCronExpression.next(T temporal) Calculate the nextTemporalthat matches this expression.CronTrigger.nextExecution(TriggerContext triggerContext) Determine the next execution time according to the given trigger context.Method parameters in org.springframework.scheduling.support with annotations of type NullableModifier and TypeMethodDescriptionTaskUtils.decorateTaskWithErrorHandler(Runnable task, ErrorHandler errorHandler, boolean isRepeatingTask) Decorate the task for error handling.booleanbooleanbooleanstatic booleanCronExpression.isValidExpression(String expression) Determine whether the given string represents a valid cron expression.voidSimpleTriggerContext.update(Instant lastScheduledExecution, Instant lastActualExecution, Instant lastCompletion) Update this holder's state with the latest time values.voidSimpleTriggerContext.update(Instant lastScheduledExecution, Instant lastActualExecution, Instant lastCompletion) Update this holder's state with the latest time values.voidSimpleTriggerContext.update(Instant lastScheduledExecution, Instant lastActualExecution, Instant lastCompletion) Update this holder's state with the latest time values.voidSimpleTriggerContext.update(Date lastScheduledExecutionTime, Date lastActualExecutionTime, Date lastCompletionTime) Deprecated.as of 6.0, in favor ofSimpleTriggerContext.update(Instant, Instant, Instant)voidSimpleTriggerContext.update(Date lastScheduledExecutionTime, Date lastActualExecutionTime, Date lastCompletionTime) Deprecated.as of 6.0, in favor ofSimpleTriggerContext.update(Instant, Instant, Instant)voidSimpleTriggerContext.update(Date lastScheduledExecutionTime, Date lastActualExecutionTime, Date lastCompletionTime) Deprecated.as of 6.0, in favor ofSimpleTriggerContext.update(Instant, Instant, Instant)Constructor parameters in org.springframework.scheduling.support with annotations of type NullableModifierConstructorDescriptionPeriodicTrigger(long period, TimeUnit timeUnit) Deprecated.as of 6.0, in favor onPeriodicTrigger(Duration)ScheduledMethodRunnable(Object target, Method method, String qualifier, Supplier<io.micrometer.observation.ObservationRegistry> observationRegistrySupplier) Create aScheduledMethodRunnablefor the given target instance, calling the specified method.SimpleTriggerContext(Instant lastScheduledExecution, Instant lastActualExecution, Instant lastCompletion) Create a SimpleTriggerContext with the given time values, exposing the system clock for the default time zone.SimpleTriggerContext(Instant lastScheduledExecution, Instant lastActualExecution, Instant lastCompletion) Create a SimpleTriggerContext with the given time values, exposing the system clock for the default time zone.SimpleTriggerContext(Instant lastScheduledExecution, Instant lastActualExecution, Instant lastCompletion) Create a SimpleTriggerContext with the given time values, exposing the system clock for the default time zone.SimpleTriggerContext(Date lastScheduledExecutionTime, Date lastActualExecutionTime, Date lastCompletionTime) Deprecated.as of 6.0, in favor ofSimpleTriggerContext(Instant, Instant, Instant)SimpleTriggerContext(Date lastScheduledExecutionTime, Date lastActualExecutionTime, Date lastCompletionTime) Deprecated.as of 6.0, in favor ofSimpleTriggerContext(Instant, Instant, Instant)SimpleTriggerContext(Date lastScheduledExecutionTime, Date lastActualExecutionTime, Date lastCompletionTime) Deprecated.as of 6.0, in favor ofSimpleTriggerContext(Instant, Instant, Instant) -
Uses of Nullable in org.springframework.scripting
Methods in org.springframework.scripting with annotations of type NullableModifier and TypeMethodDescriptionScriptEvaluator.evaluate(ScriptSource script) Evaluate the given script.ScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> arguments) Evaluate the given script with the given arguments.ScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Factory method for creating the scripted Java object.Class<?>ScriptFactory.getScriptedObjectType(ScriptSource scriptSource) Determine the type of the scripted Java object.Class<?>[]ScriptFactory.getScriptInterfaces()Return the business interfaces that the script is supposed to implement.ScriptCompilationException.getScriptSource()Return the source for the offending script.ScriptSource.suggestedClassName()Determine a class name for the underlying script.Method parameters in org.springframework.scripting with annotations of type NullableModifier and TypeMethodDescriptionScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> arguments) Evaluate the given script with the given arguments.ScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Factory method for creating the scripted Java object. -
Uses of Nullable in org.springframework.scripting.bsh
Methods in org.springframework.scripting.bsh with annotations of type NullableModifier and TypeMethodDescriptionBshScriptEvaluator.evaluate(ScriptSource script) BshScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> arguments) BshScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Load and parse the BeanShell script viaBshScriptUtils.Class<?>BshScriptFactory.getScriptedObjectType(ScriptSource scriptSource) Class<?>[]BshScriptFactory.getScriptInterfaces()Method parameters in org.springframework.scripting.bsh with annotations of type NullableModifier and TypeMethodDescriptionstatic ObjectBshScriptUtils.createBshObject(String scriptSource, Class<?>... scriptInterfaces) Create a new BeanShell-scripted object from the given script source, using the default ClassLoader.static ObjectBshScriptUtils.createBshObject(String scriptSource, Class<?>[] scriptInterfaces, ClassLoader classLoader) Create a new BeanShell-scripted object from the given script source.static ObjectBshScriptUtils.createBshObject(String scriptSource, Class<?>[] scriptInterfaces, ClassLoader classLoader) Create a new BeanShell-scripted object from the given script source.BshScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> arguments) BshScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Load and parse the BeanShell script viaBshScriptUtils.Constructor parameters in org.springframework.scripting.bsh with annotations of type NullableModifierConstructorDescriptionBshScriptFactory(String scriptSourceLocator, Class<?>... scriptInterfaces) Create a new BshScriptFactory for the given script source. -
Uses of Nullable in org.springframework.scripting.groovy
Methods in org.springframework.scripting.groovy with annotations of type NullableModifier and TypeMethodDescriptionGroovyScriptEvaluator.evaluate(ScriptSource script) GroovyScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> arguments) protected ObjectGroovyScriptFactory.executeScript(ScriptSource scriptSource, Class<?> scriptClass) Instantiate the given Groovy script class and run it if necessary.GroovyScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Loads and parses the Groovy script via the GroovyClassLoader.Class<?>GroovyScriptFactory.getScriptedObjectType(ScriptSource scriptSource) Class<?>[]GroovyScriptFactory.getScriptInterfaces()Groovy scripts determine their interfaces themselves, hence we don't need to explicitly expose interfaces here.Method parameters in org.springframework.scripting.groovy with annotations of type NullableModifier and TypeMethodDescriptionprotected groovy.lang.GroovyClassLoaderGroovyScriptFactory.buildGroovyClassLoader(ClassLoader classLoader) Build aGroovyClassLoaderfor the givenClassLoader.GroovyScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> arguments) GroovyScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Loads and parses the Groovy script via the GroovyClassLoader.voidGroovyScriptEvaluator.setCompilerConfiguration(org.codehaus.groovy.control.CompilerConfiguration compilerConfiguration) Set a custom compiler configuration for this evaluator.Constructor parameters in org.springframework.scripting.groovy with annotations of type NullableModifierConstructorDescriptionGroovyScriptEvaluator(ClassLoader classLoader) Construct a new GroovyScriptEvaluator.GroovyScriptFactory(String scriptSourceLocator, org.codehaus.groovy.control.CompilerConfiguration compilerConfiguration) Create a new GroovyScriptFactory for the given script source, specifying a strategy interface that can create a custom MetaClass to supply missing methods and otherwise change the behavior of the object.GroovyScriptFactory(String scriptSourceLocator, GroovyObjectCustomizer groovyObjectCustomizer) Create a new GroovyScriptFactory for the given script source, specifying a strategy interface that can create a custom MetaClass to supply missing methods and otherwise change the behavior of the object. -
Uses of Nullable in org.springframework.scripting.support
Methods in org.springframework.scripting.support with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectStandardScriptFactory.adaptToInterfaces(Object script, ScriptSource scriptSource, Class<?>... actualInterfaces) StandardScriptEvaluator.evaluate(ScriptSource script) StandardScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> argumentBindings) StandardScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Load and parse the script via JSR-223's ScriptEngine.Class<?>StandardScriptFactory.getScriptedObjectType(ScriptSource scriptSource) Class<?>[]StandardScriptFactory.getScriptInterfaces()ScriptFactoryPostProcessor.postProcessBeforeInstantiation(Class<?> beanClass, String beanName) Class<?>ScriptFactoryPostProcessor.predictBeanType(Class<?> beanClass, String beanName) protected ScriptEngineStandardScriptFactory.retrieveScriptEngine(ScriptSource scriptSource) ResourceScriptSource.suggestedClassName()StaticScriptSource.suggestedClassName()Method parameters in org.springframework.scripting.support with annotations of type NullableModifier and TypeMethodDescriptionprotected ObjectStandardScriptFactory.adaptToInterfaces(Object script, ScriptSource scriptSource, Class<?>... actualInterfaces) protected Class<?>ScriptFactoryPostProcessor.createConfigInterface(BeanDefinition bd, Class<?>[] interfaces) Create a config interface for the given bean definition, defining setter methods for the defined property values as well as an init method and a destroy method (if defined).protected ObjectScriptFactoryPostProcessor.createRefreshableProxy(TargetSource ts, Class<?>[] interfaces, boolean proxyTargetClass) Create a refreshable proxy for the given AOP TargetSource.protected BeanDefinitionScriptFactoryPostProcessor.createScriptedObjectBeanDefinition(BeanDefinition bd, String scriptFactoryBeanName, ScriptSource scriptSource, Class<?>[] interfaces) Create a bean definition for the scripted object, based on the given script definition, extracting the definition data that is relevant for the scripted object (that is, everything but bean class and constructor arguments).StandardScriptEvaluator.evaluate(ScriptSource script, Map<String, Object> argumentBindings) StandardScriptFactory.getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces) Load and parse the script via JSR-223's ScriptEngine.voidResourceScriptSource.setEncoding(String encoding) Set the encoding used for reading the script resource.Constructor parameters in org.springframework.scripting.support with annotations of type NullableModifierConstructorDescriptionStandardScriptFactory(String scriptEngineName, String scriptSourceLocator, Class<?>... scriptInterfaces) Create a new StandardScriptFactory for the given script source.StandardScriptFactory(String scriptEngineName, String scriptSourceLocator, Class<?>... scriptInterfaces) Create a new StandardScriptFactory for the given script source.StaticScriptSource(String script, String className) Create a new StaticScriptSource for the given script. -
Uses of Nullable in org.springframework.test.annotation
Methods in org.springframework.test.annotation with annotations of type Nullable -
Uses of Nullable in org.springframework.test.context
Methods in org.springframework.test.context with annotations of type NullableModifier and TypeMethodDescriptionContextCustomizerFactory.createContextCustomizer(Class<?> testClass, List<ContextConfigurationAttributes> configAttributes) Create aContextCustomizerthat should be used to customize aConfigurableApplicationContextbefore it is refreshed.static <T extends Annotation>
TestContextAnnotationUtils.AnnotationDescriptor<T>TestContextAnnotationUtils.findAnnotationDescriptor(Class<?> clazz, Class<T> annotationType) Find theTestContextAnnotationUtils.AnnotationDescriptorfor the suppliedannotationTypeon the suppliedClass, traversing its annotations, interfaces, superclasses, and enclosing classes if no annotation can be found on the given class itself.TestContextAnnotationUtils.findAnnotationDescriptorForTypes(Class<?> clazz, Class<? extends Annotation>... annotationTypes) Find theTestContextAnnotationUtils.UntypedAnnotationDescriptorfor the firstClassin the inheritance hierarchy of the specifiedclazz(including the specifiedclazzitself) which declares at least one of the specifiedannotationTypes.static <T extends Annotation>
T
SimpleInstantiationStrategy.instantiateWithFactoryMethod(Method, Supplier)