org.springframework.jms.listener.adapter.AbstractAdaptableMessageListener |
An abstract JMS MessageListener adapter providing the necessary infrastructure to extract the payload of a JMS Message. |
org.springframework.aop.framework.AbstractAdvisingBeanPostProcessor |
Base class for BeanPostProcessor implementations that apply a Spring AOP Advisor to specific beans. |
org.springframework.web.reactive.support.AbstractAnnotationConfigDispatcherHandlerInitializer |
org.springframework.web.WebApplicationInitializer to register a |
org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer |
org.springframework.web.WebApplicationInitializer to register a Implementations are required to implement:
If an application context hierarchy is not required, applications may return all configuration via |
org.springframework.aop.aspectj.annotation.AbstractAspectJAdvisorFactory |
Abstract base class for factories that can create Spring AOP Advisors given AspectJ classes from classes honoring the AspectJ 5 annotation syntax. This class handles annotation parsing and validation functionality. It does not actually generate Spring AOP Advisors, which is deferred to subclasses. |
org.springframework.web.servlet.view.feed.AbstractAtomFeedView |
Abstract superclass for Atom Feed views, using the ROME package. >NOTE: As of Spring 4.1, this is based on the Application-specific view classes will extend this class. The view will be held in the subclass itself, not in a template. Main entry points are the Thanks to Jettro Coenradie and Sergio Bossa for the original feed view prototype! |
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
Abstract BeanDefinitionParser implementation providing a number of convenience methods and a Use this BeanDefinitionParser implementation when you want to parse some arbitrarily complex XML into one or more BeanDefinition. If you just want to parse some XML into a single |
org.springframework.beans.factory.support.AbstractBeanDefinitionReader |
Abstract base class for bean definition readers which implement the BeanDefinitionReader interface. Provides common properties like the bean factory to work on and the class loader to use for loading bean classes. |
org.springframework.aop.framework.autoproxy.AbstractBeanFactoryAwareAdvisingPostProcessor |
Extension of AbstractAutoProxyCreator which implements BeanFactoryAware, adds exposure of the original target class for each proxied bean ( |
org.springframework.aop.framework.autoproxy.target.AbstractBeanFactoryBasedTargetSourceCreator |
Convenient superclass for org.springframework.aop.framework.autoproxy.TargetSourceCreator implementations that require creating multiple instances of a prototype bean. Uses an internal BeanFactory to manage the target instances, copying the original bean definition to this internal factory. This is necessary because the original BeanFactory will just contain the proxy instance created through auto-proxying. Requires running in an org.springframework.beans.factory.support.AbstractBeanFactory. |
org.springframework.messaging.simp.config.AbstractBrokerRegistration |
Base class for message broker registration classes. |
org.springframework.cache.support.AbstractCacheManager |
Abstract base class implementing the common CacheManager methods. Useful for 'static' environments where the backing caches do not change. |
org.springframework.core.type.filter.AbstractClassTestingTypeFilter |
Type filter that exposes a org.springframework.core.type.ClassMetadata object to subclasses, for class testing purposes. |
org.springframework.http.client.AbstractClientHttpRequest |
Abstract base for ClientHttpRequest that makes sure that headers and body are not written multiple times. |
org.springframework.http.client.reactive.AbstractClientHttpRequest |
Base class for ClientHttpRequest implementations. |
org.springframework.http.client.AbstractClientHttpResponse |
Abstract base for ClientHttpResponse. |
org.springframework.web.context.AbstractContextLoaderInitializer |
Convenient base class for WebApplicationInitializer implementations that register a ContextLoaderListener in the servlet context. The only method required to be implemented by subclasses is |
org.springframework.web.method.annotation.AbstractCookieValueMethodArgumentResolver |
A base abstract class to resolve method arguments annotated with An A WebDataBinder may be invoked to apply type conversion to the resolved cookie value. |
org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag |
Base tag for all data-binding aware JSP form tags. Provides the common |
org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping |
Abstract implementation of the org.springframework.web.servlet.HandlerMapping interface, detecting URL mappings for handler beans through introspection of all defined beans in the application context. |
org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener |
Abstract base class for The core functionality for this class was extracted from DirtiesContextTestExecutionListener in Spring Framework 4.2. |
org.springframework.web.servlet.support.AbstractDispatcherServletInitializer |
Base class for org.springframework.web.WebApplicationInitializer implementations that register a DispatcherServlet in the servlet context. Most applications should consider extending the Spring Java config, sub-class AbstractAnnotationConfigDispatcherServletInitializer. |
org.springframework.jdbc.datasource.AbstractDriverBasedDataSource |
Abstract base class for JDBC javax.sql.DataSource implementations that operate on a JDBC java.sql.Driver. |
org.springframework.aop.support.AbstractExpressionPointcut |
Abstract superclass for expression pointcuts, offering location and expression properties. |
org.springframework.web.servlet.view.feed.AbstractFeedView |
Abstract base class for Atom and RSS Feed views, using the ROME package. >NOTE: As of Spring 4.1, this is based on the Application-specific view classes will typically extend from either AbstractRssFeedView or AbstractAtomFeedView instead of from this class. Thanks to Jettro Coenradie and Sergio Bossa for the original feed view prototype! |
org.springframework.web.reactive.resource.AbstractFileNameVersionStrategy |
Abstract base class for filename suffix based VersionStrategy implementations, e.g. "static/myresource-version.js" |
org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver |
Abstract base class for org.springframework.web.servlet.HandlerExceptionResolver implementations that support handling exceptions from handlers of type HandlerMethod. |
org.springframework.web.socket.server.support.AbstractHandshakeHandler |
A base class for HandshakeHandler implementations, independent from the Servlet API. Performs initial validation of the WebSocket handshake request - possibly rejecting it through the appropriate HTTP status code - while also allowing its subclasses to override various parts of the negotiation process (e.g. origin validation, sub-protocol negotiation, extensions negotiation, etc). If the negotiation succeeds, the actual upgrade is delegated to a server-specific org.springframework.web.socket.server.RequestUpgradeStrategy, which will update the response as necessary and initialize the WebSocket. Currently supported servers are Jetty 9.0-9.3, Tomcat 7.0.47+ and 8.x, Undertow 1.0-1.3, GlassFish 4.1+, WebLogic 12.1.3+. |
org.springframework.messaging.support.AbstractHeaderMapper |
A base HeaderMapper implementation |
org.springframework.web.servlet.tags.form.AbstractHtmlElementBodyTag |
Convenient super class for many html tags that render content using the databinding features of the AbstractHtmlElementTag. The only thing sub-tags need to do is override |
org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler |
Base class for HTTP transport handlers that receive messages via HTTP POST. |
org.springframework.jdbc.support.incrementer.AbstractIdentityColumnMaxValueIncrementer |
Abstract base class for DataFieldMaxValueIncrementer implementations which are based on identity columns in a sequence-like table. |
org.springframework.aop.config.AbstractInterceptorDrivenBeanDefinitionDecorator |
Base implementation for org.springframework.beans.factory.xml.BeanDefinitionDecorator wishing to add an org.aopalliance.intercept.MethodInterceptor to the resulting bean. This base class controls the creation of the ProxyFactoryBean bean definition and wraps the original as an inner-bean definition for the Chaining is correctly handled, ensuring that only one ProxyFactoryBean definition is created. If a previous org.springframework.beans.factory.xml.BeanDefinitionDecorator already created the org.springframework.aop.framework.ProxyFactoryBean then the interceptor is simply added to the existing definition. Subclasses have only to create the |
org.springframework.jdbc.core.support.AbstractInterruptibleBatchPreparedStatementSetter |
Abstract implementation of the InterruptibleBatchPreparedStatementSetter interface, combining the check for available values and setting of those into a single callback method |
org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests |
Abstract base test class which integrates the Spring TestContext Framework with explicit ApplicationContext testing support in a JUnit environment. Concrete subclasses should typically declare a class-level ContextConfiguration annotation to configure the ApplicationContext The following org.springframework.test.context.TestExecutionListener are configured by default:
This class serves only as a convenience for extension.
NOTE: As of Spring Framework 4.3, this class requires JUnit 4.12 or higher. |
org.springframework.http.codec.json.AbstractJackson2Encoder |
Base class providing support methods for Jackson 2.9 encoding. |
org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter |
Abstract base class for Jackson based and content type independent HttpMessageConverter implementations. Compatible with Jackson 2.9 and higher, as of Spring 5.0. |
org.springframework.remoting.jaxws.AbstractJaxWsServiceExporter |
Abstract exporter for JAX-WS services, autodetecting annotated service beans (through the JAX-WS javax.jws.WebService annotation). Subclasses need to implement the |
org.springframework.jms.config.AbstractJmsListenerEndpoint |
Base model for a JMS listener endpoint |
org.springframework.web.servlet.mvc.method.annotation.AbstractJsonpResponseBodyAdvice |
A convenient base class for a Sub-classes must specify the query parameter name(s) to check for the name of the JSONP callback function. Sub-classes are likely to be annotated with the |
org.springframework.aop.target.AbstractLazyCreationTargetSource |
org.springframework.aop.TargetSource implementation that will lazily create a user-managed object. Creation of the lazy target object is controlled by the user by implementing the Useful when you need to pass a reference to some dependency to an object but you don't actually want the dependency to be created until it is first used. A typical scenario for this is a connection to a remote resource. |
org.springframework.http.server.reactive.AbstractListenerReadPublisher |
Abstract base class for Specifically a base class for reading from the HTTP request body with Servlet 3.1 non-blocking I/O and Undertow XNIO as well as handling incoming WebSocket messages with standard Java WebSocket (JSR-356), Jetty, and Undertow. |
org.springframework.http.server.reactive.AbstractListenerServerHttpResponse |
Abstract base class for listener-based server responses, e.g. Servlet 3.1 and Undertow. |
org.springframework.http.server.reactive.AbstractListenerWriteFlushProcessor |
An alternative to AbstractListenerWriteProcessor but instead writing a |
org.springframework.http.server.reactive.AbstractListenerWriteProcessor |
Abstract base class for Specifically a base class for writing to the HTTP response body with Servlet 3.1 non-blocking I/O and Undertow XNIO as well for writing WebSocket messages through the Java WebSocket API (JSR-356), Jetty, and Undertow. |
org.springframework.jdbc.core.support.AbstractLobCreatingPreparedStatementCallback |
Abstract PreparedStatementCallback implementation that manages a LobCreator. Typically used as inner class, with access to surrounding method arguments. Delegates to the A usage example with org.springframework.jdbc.core.JdbcTemplate:
|
org.springframework.jdbc.core.support.AbstractLobStreamingResultSetExtractor |
Abstract ResultSetExtractor implementation that assumes streaming of LOB data. Typically used as inner class, with access to surrounding method arguments. Delegates to the A usage example with JdbcTemplate:
|
org.springframework.web.servlet.i18n.AbstractLocaleContextResolver |
Abstract base class for LocaleContextResolver implementations. Provides support for a default locale and a default time zone. Also provides pre-implemented versions of |
org.springframework.web.servlet.i18n.AbstractLocaleResolver |
Abstract base class for LocaleResolver implementations. Provides support for a default locale. |
org.springframework.oxm.support.AbstractMarshaller |
Abstract implementation of the |
org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration |
Provides essential configuration for handling messages with simple messaging protocols such as STOMP.
#brokerChannel() delivers messages from within the application to the the respective message handlers. #brokerMessagingTemplate() can be injected into any application component to send messages.
Subclasses are responsible for the part of the configuration that feed messages to and from the client inbound/outbound channels (e.g. STOMP over WebSocket). |
org.springframework.messaging.converter.AbstractMessageConverter |
Abstract base class for SmartMessageConverter implementations including support for common properties and a partial implementation of the conversion methods, mainly to check if the converter supports the conversion based on the payload class and MIME type. |
org.springframework.web.reactive.result.method.annotation.AbstractMessageWriterResultHandler |
Abstract base class for result handlers that handle return values by writing to the response with HttpMessageWriter. |
org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler |
Abstract base class for HandlerMethod-based message handling. Provides most of the logic required to discover handler methods at startup, find a matching handler method at runtime for a given message and invoke it. Also supports discovering and invoking exception handling methods to process exceptions raised during message handling. |
org.springframework.messaging.handler.annotation.support.AbstractNamedValueMethodArgumentResolver |
Abstract base class for resolving method arguments from a named value. Message headers, and path variables are examples of named values. Each may have a name, a required flag, and a default value. Subclasses define how to do the following:
A default value string can contain ${...} placeholders and Spring Expression Language A ConversionService may be used to apply type conversion to the resolved argument value if it doesn't match the method parameter type. |
org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver |
Abstract base class for resolving method arguments from a named value. Request parameters, request headers, and path variables are examples of named values. Each may have a name, a required flag, and a default value. Subclasses define how to do the following:
A default value string can contain ${...} placeholders and Spring Expression Language #{...} expressions. For this to work a ConfigurableBeanFactory must be supplied to the class constructor. A WebDataBinder is created to apply type conversion to the resolved argument value if it doesn't match the method parameter type. |
org.springframework.format.number.AbstractNumberFormatter |
Abstract formatter for Numbers, providing a |
org.springframework.web.servlet.view.document.AbstractPdfStamperView |
Abstract superclass for PDF views that operate on an existing document with an AcroForm. Application-specific view classes will extend this class to merge the PDF form with model data. This view implementation uses Bruno Lowagie's iText package. Known to work with iText 2.1.7 as well as its fork OpenPDF. Thanks to Bryant Larsen for the suggestion and the original prototype! |
org.springframework.web.servlet.view.document.AbstractPdfView |
Abstract superclass for PDF views. Application-specific view classes will extend this class. The view will be held in the subclass itself, not in a template. This view implementation uses Bruno Lowagie's iText package. Known to work with iText 2.1.7 as well as its fork OpenPDF. Note: Internet Explorer requires a ".pdf" extension, as it doesn't always respect the declared content type. |
org.springframework.web.server.adapter.AbstractReactiveWebInitializer |
Base class for a org.springframework.web.WebApplicationInitializer that installs a Spring Reactive Web Application on a Servlet container. Spring configuration is loaded and given to |
org.springframework.aop.target.dynamic.AbstractRefreshableTargetSource |
Abstract org.springframework.aop.TargetSource implementation that wraps a refreshable target object. Subclasses can determine whether a refresh is required, and need to provide fresh target objects. Implements the Refreshable interface in order to allow for explicit control over the refresh status. |
org.springframework.aop.support.AbstractRegexpMethodPointcut |
Abstract base regular expression pointcut bean. JavaBean properties are:
Note: the regular expressions must be a match. For example, This base class is serializable. Subclasses should declare all fields transient; the |
org.springframework.web.reactive.result.condition.AbstractRequestCondition |
A base class for RequestCondition types providing implementations of |
org.springframework.web.servlet.mvc.condition.AbstractRequestCondition |
A base class for RequestCondition types providing implementations of |
org.springframework.web.servlet.view.feed.AbstractRssFeedView |
Abstract superclass for RSS Feed views, using the ROME package. >NOTE: As of Spring 4.1, this is based on the Application-specific view classes will extend this class. The view will be held in the subclass itself, not in a template. Main entry points are the Thanks to Jettro Coenradie and Sergio Bossa for the original feed view prototype! |
org.springframework.web.reactive.support.AbstractServletHttpHandlerAdapterInitializer |
Base class for org.springframework.web.WebApplicationInitializer implementations that register a ServletHttpHandlerAdapter in the servlet context. |
org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser |
Convenient base class for when there exists a one-to-one mapping between attribute names on the element that is to be parsed and the property names on the Class being configured. Extend this parser class when you want to create a single bean definition from a relatively simple custom XML element. The resulting An example will hopefully make the use of this particular parser class immediately clear. Consider the following class definition:
Then let us assume the following XML tag has been defined to permit the easy configuration of instances of the above class;
All that is required of the Java developer tasked with writing the parser to parse the above XML tag into an actual
Please note that the The process of actually registering the For an example of this parser in action (so to speak), do look at the source code for the org.springframework.beans.factory.xml.UtilNamespaceHandler.PropertiesBeanDefinitionParser; the observant (and even not so observant) reader will immediately notice that there is next to no code in the implementation. The
The observant reader will notice that the sole attribute on the |
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser |
Base class for those BeanDefinitionParser implementations that need to parse and define just a single Extend this parser class when you want to create a single bean definition from an arbitrarily complex XML element. You may wish to consider extending the AbstractSimpleBeanDefinitionParser when you want to create a single bean definition from a relatively simple custom XML element. The resulting |
org.springframework.core.codec.AbstractSingleValueEncoder |
Abstract base class for org.springframework.core.codec.Encoder classes that can only deal with a single value. |
org.springframework.aop.framework.AbstractSingletonProxyFactoryBean |
Convenient superclass for FactoryBean types that produce singleton-scoped proxy objects. Manages pre- and post-interceptors (references, rather than interceptor names, as in ProxyFactoryBean) and provides consistent interface management. |
org.springframework.web.socket.sockjs.frame.AbstractSockJsMessageCodec |
An base class for SockJS message codec that provides an implementation of |
org.springframework.web.socket.sockjs.support.AbstractSockJsService |
An abstract base class for SockJsService implementations that provides SockJS path resolution and handling of static SockJS requests (e.g. "/info", "/iframe.html", etc). Sub-classes must handle session URLs (i.e. transport-specific requests). By default, only same origin requests are allowed. Use |
org.springframework.jdbc.core.support.AbstractSqlTypeValue |
Abstract implementation of the SqlTypeValue interface, for convenient creation of type values that are supposed to be passed into the A usage example from a StoredProcedure (compare this to the plain SqlTypeValue version in the superclass javadoc):
|
org.springframework.web.socket.server.standard.AbstractStandardUpgradeStrategy |
A base class for RequestUpgradeStrategy implementations that build on the standard WebSocket API for Java (JSR-356). |
org.springframework.web.servlet.view.AbstractTemplateViewResolver |
Abstract base class for template view resolvers, in particular for FreeMarker views. Provides a convenient way to specify AbstractTemplateView's exposure flags for request attributes, session attributes, and Spring's macro helpers. |
org.springframework.test.context.testng.AbstractTestNGSpringContextTests |
Abstract base test class which integrates the Spring TestContext Framework with explicit ApplicationContext testing support in a TestNG environment. Concrete subclasses:
The following org.springframework.test.context.TestExecutionListener are configured by default:
|
org.springframework.aop.interceptor.AbstractTraceInterceptor |
Base By default, log messages are written to the log for the interceptor class, not the class which is being intercepted. Setting the Subclasses must implement the |
org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests |
Abstract Transactional extension of AbstractJUnit4SpringContextTests which adds convenience functionality for JDBC access. Expects a DataSource bean and a PlatformTransactionManager bean to be defined in the Spring ApplicationContext. This class exposes a JdbcTemplate and provides an easy way to count the number of rows in a table (potentially with a WHERE clause), delete from tables, drop tables, and execute SQL scripts within a transaction. Concrete subclasses must fulfill the same requirements outlined in AbstractJUnit4SpringContextTests. The following org.springframework.test.context.TestExecutionListener are configured by default:
This class serves only as a convenience for extension.
NOTE: As of Spring Framework 4.3, this class requires JUnit 4.12 or higher. |
org.springframework.test.context.testng.AbstractTransactionalTestNGSpringContextTests |
Abstract Transactional extension of AbstractTestNGSpringContextTests which adds convenience functionality for JDBC access. Expects a DataSource bean and a PlatformTransactionManager bean to be defined in the Spring ApplicationContext. This class exposes a JdbcTemplate and provides an easy way to count the number of rows in a table (potentially with a WHERE clause), delete from tables, drop tables, and execute SQL scripts within a transaction. Concrete subclasses must fulfill the same requirements outlined in AbstractTestNGSpringContextTests. The following org.springframework.test.context.TestExecutionListener are configured by default:
|
org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter |
Type filter that is aware of traversing over hierarchy. This filter is useful when matching needs to be made based on potentially the whole class/interface hierarchy. The algorithm employed uses a succeed-fast strategy: if at any time a match is declared, no further processing is carried out. |
org.springframework.web.socket.server.standard.AbstractTyrusRequestUpgradeStrategy |
A base class for Works with Tyrus 1.11 (WebLogic 12.2.1) and Tyrus 1.12 (GlassFish 4.1.1). |
org.springframework.web.reactive.result.view.AbstractUrlBasedView |
Abstract base class for URL-based views. Provides a consistent way of holding the URL that a View wraps, in the form of a "url" bean property. |
org.springframework.web.servlet.resource.AbstractVersionStrategy |
Abstract base class for VersionStrategy implementations. Supports versions as:
Note: This base class does not provide support for generating the version string. |
org.springframework.web.method.annotation.AbstractWebArgumentResolverAdapter |
An abstract base class adapting a WebArgumentResolver to the HandlerMethodArgumentResolver contract. Note: This class is provided for backwards compatibility. However it is recommended to re-write a |
org.springframework.web.socket.config.annotation.AbstractWebSocketHandlerRegistration |
Base class for WebSocketHandlerRegistrations that gathers all the configuration options but allows sub-classes to put together the actual HTTP request mappings. |
org.springframework.web.socket.AbstractWebSocketMessage |
A message that can be handled or sent on a WebSocket connection. |
org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer |
A convenient abstract base class for WebSocketMessageBrokerConfigurer implementations providing empty method implementations for optional methods. |
org.springframework.web.reactive.socket.adapter.AbstractWebSocketSession |
Convenient base class for WebSocketSession implementations that holds common fields and exposes accessors. Also implements the |
org.springframework.web.socket.adapter.AbstractWebSocketSession |
An abstract base class for implementations of WebSocketSession. |
org.springframework.web.servlet.view.document.AbstractXlsxStreamingView |
Convenient superclass for Excel document views in the Office 2007 XLSX format, using POI's streaming variant. Compatible with Apache POI 3.9 and higher. For working with the workbook in subclasses, see Apache's POI site. |
org.springframework.context.support.AbstractXmlApplicationContext |
Convenient base class for org.springframework.context.ApplicationContext implementations, drawing configuration from XML documents containing bean definitions understood by an org.springframework.beans.factory.xml.XmlBeanDefinitionReader. Subclasses just have to implement the |
org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver |
LocaleResolver implementation that simply uses the primary locale specified in the "accept-language" header of the HTTP request (that is, the locale sent by the client browser, normally that of the client's OS). Note: Does not support |
org.springframework.scheduling.quartz.AdaptableJobFactory |
JobFactory implementation that supports java.lang.Runnable objects as well as standard Quartz org.quartz.Job instances. Compatible with Quartz 2.1.4 and higher, as of Spring 4.1. |
org.springframework.aop.config.AdviceEntry |
ParseState entry representing an advice element. |
org.springframework.context.annotation.AdviceModeImportSelector |
Convenient base class for ImportSelector implementations that select imports based on an AdviceMode value from an annotation (such as the |
org.springframework.aop.framework.adapter.AdvisorAdapter |
Interface allowing extension to the Spring AOP framework to allow handling of new Advisors and Advice types. Implementing objects can create AOP Alliance Interceptors from custom advice types, enabling these advice types to be used in the Spring AOP framework, which uses interception under the covers. There is no need for most Spring users to implement this interface; do so only if you need to introduce more Advisor or Advice types to Spring. |
org.springframework.aop.framework.adapter.AdvisorAdapterRegistrationManager |
BeanPostProcessor that registers AdvisorAdapter beans in the BeanFactory with an AdvisorAdapterRegistry (by default the GlobalAdvisorAdapterRegistry). The only requirement for it to work is that it needs to be defined in application context along with "non-native" Spring AdvisorAdapters that need to be "recognized" by Spring's AOP framework. |
org.springframework.aop.config.AdvisorComponentDefinition |
org.springframework.beans.factory.parsing.ComponentDefinition that bridges the gap between the advisor bean definition configured by the |
org.springframework.aop.config.AdvisorEntry |
ParseState entry representing an advisor. |
org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor |
Interceptor to wrap an org.springframework.aop.AfterReturningAdvice. Used internally by the AOP framework; application developers should not need to use this class directly. |
org.springframework.test.context.transaction.AfterTransaction |
Test annotation which indicates that the annotated As of Spring Framework 4.3,
As of Spring Framework 4.0, this annotation may be used as a meta-annotation to create custom composed annotations. |
org.springframework.beans.factory.parsing.AliasDefinition |
Representation of an alias that has been registered during the parsing process. |
org.springframework.http.converter.support.AllEncompassingFormHttpMessageConverter |
Extension of org.springframework.http.converter.FormHttpMessageConverter, adding support for XML and JSON-based parts. |
org.springframework.util.AlternativeJdkIdGenerator |
An IdGenerator that uses SecureRandom for the initial seed and Random thereafter, instead of calling |
org.springframework.beans.factory.annotation.AnnotatedBeanDefinition |
Extended org.springframework.beans.factory.config.BeanDefinition interface that exposes org.springframework.core.type.AnnotationMetadata about its bean class - without requiring the class to be loaded yet. |
org.springframework.context.annotation.AnnotatedBeanDefinitionReader |
Convenient adapter for programmatic registration of annotated bean classes. This is an alternative to ClassPathBeanDefinitionScanner, applying the same resolution of annotations but for explicitly registered classes only. |
org.springframework.core.annotation.AnnotatedElementUtils |
General utility methods for finding annotations, meta-annotations, and repeatable annotations on AnnotatedElement.
Note that the features of this class are not provided by the JDK's introspection facilities themselves. Annotation Attribute OverridesSupport for meta-annotations with attribute overrides in composed annotations is provided by all variants of the The search algorithms used by methods in this class follow either find or get semantics. Consult the javadocs for each individual method for details on which search algorithm is used. Get semantics are limited to searching for annotations that are either present on an Find semantics are much more exhaustive, providing get semantics plus support for the following:
@Inherited
Methods following get semantics will honor the contract of Java's java.lang.annotation.Inherited annotation except that locally declared annotations (including custom composed annotations) will be favored over inherited annotations. In contrast, methods following find semantics will completely ignore the presence of |
org.springframework.web.socket.client.standard.AnnotatedEndpointConnectionManager |
A WebSocket connection manager that is given a URI, a javax.websocket.ClientEndpoint-annotated endpoint, connects to a WebSocket server through the |
org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition |
Extension of the org.springframework.beans.factory.support.GenericBeanDefinition class, adding support for annotation metadata exposed through the AnnotatedBeanDefinition interface. This GenericBeanDefinition variant is mainly useful for testing code that expects to operate on an AnnotatedBeanDefinition, for example strategy implementations in Spring's component scanning support (where the default definition class is org.springframework.context.annotation.ScannedGenericBeanDefinition, which also implements the AnnotatedBeanDefinition interface). |
org.springframework.scheduling.annotation.AnnotationAsyncExecutionInterceptor |
Specialization of AsyncExecutionInterceptor that delegates method execution to an |
org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator |
AspectJAwareAdvisorAutoProxyCreator subclass that processes all AspectJ annotation aspects in the current application context, as well as Spring Advisors. Any AspectJ annotated classes will automatically be recognized, and their advice applied if Spring AOP's proxy-based model is capable of applying it. This covers method execution joinpoints. If the <aop:include> element is used, only @AspectJ beans with names matched by an include pattern will be considered as defining aspects to use for Spring auto-proxying. Processing of Spring Advisors follows the rules established in org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator. |
org.springframework.context.annotation.AnnotationBeanNameGenerator |
org.springframework.beans.factory.support.BeanNameGenerator implementation for bean classes annotated with the org.springframework.stereotype.Component annotation or with another annotation that is itself annotated with org.springframework.stereotype.Component as a meta-annotation. For example, Spring's stereotype annotations (such as org.springframework.stereotype.Repository) are themselves annotated with org.springframework.stereotype.Component. Also supports Java EE 6's javax.annotation.ManagedBean and JSR-330's javax.inject.Named annotations, if available. Note that Spring component annotations always override such standard annotations. If the annotation's value doesn't indicate a bean name, an appropriate name will be built based on the short name of the class (with the first letter lower-cased). For example:
|
org.springframework.beans.annotation.AnnotationBeanUtils |
General utility methods for working with annotations in JavaBeans style. |
org.springframework.beans.factory.annotation.AnnotationBeanWiringInfoResolver |
org.springframework.beans.factory.wiring.BeanWiringInfoResolver that uses the Configurable annotation to identify which classes need autowiring. The bean name to look up will be taken from the Configurable annotation if specified; otherwise the default will be the fully-qualified name of the class being configured. |
org.springframework.cache.annotation.AnnotationCacheOperationSource |
Implementation of the org.springframework.cache.interceptor.CacheOperationSource interface for working with caching metadata in annotation format. This class reads Spring's Cacheable, CachePut and CacheEvict annotations and exposes corresponding caching operation definition to Spring's cache infrastructure. This class may also serve as base class for a custom |
org.springframework.context.annotation.AnnotationConfigBeanDefinitionParser |
Parser for the <context:annotation-config/> element. |
org.springframework.test.context.support.AnnotationConfigContextLoader |
Concrete implementation of AbstractGenericContextLoader that loads bean definitions from annotated classes. See the Javadoc for org.springframework.test.context.ContextConfiguration for a definition of annotated class. Note: |
org.springframework.test.context.support.AnnotationConfigContextLoaderUtils |
Utility methods for SmartContextLoader that deal with annotated classes (e.g., Configuration classes). |
org.springframework.web.context.support.AnnotationConfigWebApplicationContext |
org.springframework.web.context.WebApplicationContext implementation which accepts annotated classes as input - in particular org.springframework.context.annotation.Configuration-annotated classes, but also plain org.springframework.stereotype.Component classes and JSR-330 compliant classes using This is essentially the equivalent of org.springframework.context.annotation.AnnotationConfigApplicationContext for a web environment. To make use of this application context, the "contextClass" context-param for ContextLoader and/or "contextClass" init-param for FrameworkServlet must be set to the fully-qualified name of this class. As of Spring 3.1, this class may also be directly instantiated and injected into Spring's Unlike XmlWebApplicationContext, no default configuration class locations are assumed. Rather, it is a requirement to set the "contextConfigLocation" context-param for ContextLoader and/or "contextConfigLocation" init-param for FrameworkServlet. The param-value may contain both fully-qualified class names and base packages to scan for components. See As an alternative to setting the "contextConfigLocation" parameter, users may implement an org.springframework.context.ApplicationContextInitializer and set the "contextInitializerClasses" context-param / init-param. In such cases, users should favor the Note: In case of multiple |
org.springframework.test.context.web.AnnotationConfigWebContextLoader |
Concrete implementation of AbstractGenericWebContextLoader that loads bean definitions from annotated classes. See the Javadoc for org.springframework.test.context.ContextConfiguration for a definition of annotated class. Note: |
org.springframework.core.annotation.AnnotationConfigurationException |
Thrown by AnnotationUtils and synthesized annotations if an annotation is improperly configured. |
org.springframework.scheduling.config.AnnotationDrivenBeanDefinitionParser |
Parser for the 'annotation-driven' element of the 'task' namespace. |
org.springframework.messaging.handler.annotation.support.AnnotationExceptionHandlerMethodResolver |
A sub-class of AbstractExceptionHandlerMethodResolver that looks for MessageExceptionHandler-annotated methods in a given class. The actual exception types handled are extracted either from the annotation, if present, or from the method signature as a fallback option. |
org.springframework.jmx.export.annotation.AnnotationJmxAttributeSource |
Implementation of the |
org.springframework.aop.support.annotation.AnnotationMatchingPointcut |
Simple Pointcut that looks for a specific Java 5 annotation being present on a |
org.springframework.core.type.classreading.AnnotationMetadataReadingVisitor |
ASM class visitor which looks for the class name and implemented types as well as for the annotations defined on the class, exposing them through the org.springframework.core.type.AnnotationMetadata interface. |
org.springframework.context.annotation.AnnotationScopeMetadataResolver |
A ScopeMetadataResolver implementation that by default checks for the presence of Spring's Scope annotation on the bean class. The exact type of annotation that is checked for is configurable via |
org.springframework.transaction.annotation.AnnotationTransactionAttributeSource |
Implementation of the org.springframework.transaction.interceptor.TransactionAttributeSource interface for working with transaction metadata in JDK 1.5+ annotation format. This class reads Spring's JDK 1.5+ Transactional annotation and exposes corresponding transaction attributes to Spring's transaction infrastructure. Also supports JTA 1.2's javax.transaction.Transactional and EJB3's javax.ejb.TransactionAttribute annotation (if present). This class may also serve as base class for a custom TransactionAttributeSource, or get customized through TransactionAnnotationParser strategies. |
org.springframework.aop.config.AopConfigUtils |
Utility class for handling registration of AOP auto-proxy creators. Only a single auto-proxy creator can be registered yet multiple concrete implementations are available. Therefore this class wraps a simple escalation protocol, allowing classes to request a particular auto-proxy creator and know that class, |
org.springframework.aop.framework.AopContext |
Class containing static methods used to obtain information about the current AOP invocation. The Spring's AOP framework does not expose proxies by default, as there is a performance cost in doing so. The functionality in this class might be used by a target object that needed access to resources on the invocation. However, this approach should not be used when there is a reasonable alternative, as it makes application code dependent on usage under AOP and the Spring AOP framework in particular. |
org.springframework.aop.AopInvocationException |
Exception that gets thrown when an AOP invocation failed because of misconfiguration or unexpected runtime issues. |
org.springframework.aop.config.AopNamespaceHandler |
Provides a org.springframework.beans.factory.xml.BeanDefinitionParser for the The
Using the
|
org.springframework.aop.config.AopNamespaceUtils |
Utility class for handling registration of auto-proxy creators used internally by the ' Only a single auto-proxy creator can be registered and multiple tags may wish to register different concrete implementations. As such this class delegates to AopConfigUtils which wraps a simple escalation protocol. Therefore classes may request a particular auto-proxy creator and know that class, or a subclass thereof, will eventually be resident in the application context. |
org.springframework.aop.support.AopUtils |
Utility methods for AOP support code. Mainly for internal use within Spring's AOP support. See org.springframework.aop.framework.AopProxyUtils for a collection of framework-specific AOP utility methods which depend on internals of Spring's AOP framework implementation. |
org.springframework.web.reactive.resource.AppCacheManifestTransformer |
A ResourceTransformer HTML5 AppCache manifests. This transformer:
All files with an ".appcache" file extension (or the extension given to the constructor) will be transformed by this class. The hash is computed using the content of the appcache manifest so that changes in the manifest should invalidate the browser cache. This should also work with changes in referenced resources whose links are also versioned. |
org.springframework.web.servlet.resource.AppCacheManifestTransformer |
A ResourceTransformer implementation that helps handling resources within HTML5 AppCache manifests for HTML5 offline applications. This transformer:
All files that have the ".appcache" file extension, or the extension given in the constructor, will be transformed by this class. This hash is computed using the content of the appcache manifest and the content of the linked resources; so changing a resource linked in the manifest or the manifest itself should invalidate the browser cache. In order to serve manifest files with the proper |
org.springframework.context.ApplicationContextException |
Exception thrown during application context initialization. |
org.springframework.context.event.ApplicationListenerMethodAdapter |
GenericApplicationListener adapter that delegates the processing of an event to an EventListener annotated method. Delegates to |
org.springframework.context.support.ApplicationObjectSupport |
Convenient superclass for application objects that want to be aware of the application context, e.g. for custom lookup of collaborating beans or for context-specific resource access. It saves the application context reference and provides an initialization callback method. Furthermore, it offers numerous convenience methods for message lookup. There is no requirement to subclass this class: It just makes things a little easier if you need access to the context, e.g. for access to file resources or to the message source. Note that many application objects do not need to be aware of the application context at all, as they can receive collaborating beans via bean references. Many framework classes are derived from this class, particularly within the web support. |
org.springframework.web.context.annotation.ApplicationScope |
Specifically,
|
org.springframework.beans.support.ArgumentConvertingMethodInvoker |
Subclass of MethodInvoker that tries to convert the given arguments for the actual target method via a TypeConverter. Supports flexible argument conversions, in particular for invoking a specific overloaded method. |
org.springframework.jdbc.core.ArgumentPreparedStatementSetter |
Simple adapter for PreparedStatementSetter that applies a given array of arguments. |
org.springframework.web.servlet.tags.ArgumentTag |
The This tag must be nested under an argument aware tag. Attribute Summary Attribute Required? Runtime Expression? Description value false true The value of the argument. |
org.springframework.jdbc.core.ArgumentTypePreparedStatementSetter |
Simple adapter for PreparedStatementSetter that applies given arrays of arguments and JDBC argument types. |
org.springframework.aop.config.AspectComponentDefinition |
org.springframework.beans.factory.parsing.ComponentDefinition that holds an aspect definition, including its nested pointcuts. |
org.springframework.aop.config.AspectEntry |
ParseState entry representing an aspect. |
org.aopalliance.aop.AspectException |
Superclass for all AOP infrastructure exceptions. Unchecked, as such exceptions are fatal and end user code shouldn't be forced to catch them. |
org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer |
ParameterNameDiscoverer implementation that tries to deduce parameter names for an advice method from the pointcut expression, returning, and throwing clauses. If an unambiguous interpretation is not available, it returns This class interprets arguments in the following way:
The behavior on raising an Was that perfectly clear? ;) Short version: If an unambiguous binding can be deduced, then it is. If the advice requirements cannot possibly be satisfied, then |
org.springframework.aop.aspectj.AspectJAopUtils |
Utility methods for dealing with AspectJ advisors. |
org.springframework.scheduling.aspectj.AspectJAsyncConfiguration |
|
org.springframework.cache.aspectj.AspectJCachingConfiguration |
|
org.springframework.aop.aspectj.AspectJExpressionPointcut |
Spring org.springframework.aop.Pointcut implementation that uses the AspectJ weaver to evaluate a pointcut expression. The pointcut expression value is an AspectJ expression. This can reference other pointcuts and use composition and other operations. Naturally, as this is to be processed by Spring AOP's proxy-based model, only method execution pointcuts are supported. |
org.springframework.aop.aspectj.AspectJExpressionPointcutAdvisor |
Spring AOP Advisor that can be used for any AspectJ pointcut expression. |
org.springframework.cache.aspectj.AspectJJCacheConfiguration |
|
org.springframework.aop.aspectj.AspectJPointcutAdvisor |
AspectJPointcutAdvisor that adapts an AbstractAspectJAdvice to the org.springframework.aop.PointcutAdvisor interface. |
org.springframework.aop.aspectj.annotation.AspectJProxyFactory |
AspectJ-based proxy factory, allowing for programmatic building of proxies which include AspectJ aspects (code style as well Java 5 annotation style). |
org.springframework.aop.aspectj.AspectJProxyUtils |
Utility methods for working with AspectJ proxies. |
org.springframework.transaction.aspectj.AspectJTransactionManagementConfiguration |
|
org.springframework.aop.aspectj.AspectJWeaverMessageHandler |
Implementation of AspectJ's IMessageHandler interface that routes AspectJ weaving messages through the same logging system as the regular Spring messages. Pass the option...
to the weaver; for example, specifying the following in a "
|
org.springframework.context.weaving.AspectJWeavingEnabler |
Post-processor that registers AspectJ's org.aspectj.weaver.loadtime.ClassPreProcessorAgentAdapter with the Spring application context's default org.springframework.instrument.classloading.LoadTimeWeaver. |
org.springframework.aop.aspectj.annotation.AspectMetadata |
Metadata for an AspectJ aspect class, with an additional Spring AOP pointcut for the per clause. Uses AspectJ 5 AJType reflection API, enabling us to work with different AspectJ instantiation models such as "singleton", "pertarget" and "perthis". |
org.springframework.util.Assert |
Assertion utility class that assists in validating arguments. Useful for identifying programmer errors early and clearly at runtime. For example, if the contract of a public method states it does not allow Typically used to validate method arguments rather than configuration properties, to check for cases that are usually programmer errors rather than configuration errors. In contrast to configuration initialization code, there is usually no point in falling back to defaults in such methods. This class is similar to JUnit's assertion library. If an argument value is deemed invalid, an IllegalArgumentException is thrown (typically). For example:
Mainly for internal use within the framework; consider Apache's Commons Lang for a more comprehensive suite of |
org.springframework.expression.spel.ast.Assign |
Represents assignment. An alternative to calling setValue() for an expression is to use an assign. Example: 'someNumberProperty=42' |
org.springframework.expression.spel.ast.AstUtils |
Utilities methods for use in the Ast classes. |
org.springframework.scheduling.annotation.AsyncAnnotationAdvisor |
Advisor that activates asynchronous method execution through the Async annotation. This annotation can be used at the method and type level in implementation classes as well as in service interfaces. This advisor detects the EJB 3.1 |
org.springframework.http.client.AsyncClientHttpRequestExecution |
Represents the context of a client-side HTTP request execution. Used to invoke the next interceptor in the interceptor chain, or - if the calling interceptor is last - execute the request itself. |
org.springframework.scheduling.annotation.AsyncConfigurerSupport |
A convenience AsyncConfigurer that implements all methods so that the defaults are used. Provides a backward compatible alternative of implementing AsyncConfigurer directly. |
org.springframework.aop.interceptor.AsyncExecutionAspectSupport |
Base class for asynchronous method execution aspects, such as Provides support for executor qualification on a method-by-method basis. |
org.springframework.aop.interceptor.AsyncExecutionInterceptor |
AOP Alliance In terms of target method signatures, any parameter types are supported. However, the return type is constrained to either When the return type is As of Spring 3.1.2 the |
org.springframework.web.servlet.AsyncHandlerInterceptor |
Extends When a handler starts an asynchronous request, the DispatcherServlet exits without invoking When asynchronous handling completes, the request is dispatched to the container for further processing. At this stage the Note that |
org.springframework.web.method.support.AsyncHandlerMethodReturnValueHandler |
A return value handler that supports async types. Such return value types need to be handled with priority so the async value can be "unwrapped". Note: implementing this contract is not required but it should be implemented when the handler needs to be prioritized ahead of others. For example custom (async) handlers, by default ordered after built-in handlers, should take precedence over |
org.springframework.web.client.AsyncRequestCallback |
Callback interface for code that operates on an org.springframework.http.client.AsyncClientHttpRequest. Allows to manipulate the request headers, and write to the request body. Used internally by the AsyncRestTemplate, but also useful for application code. |
org.springframework.web.context.request.async.AsyncRequestTimeoutException |
Exception to be thrown when an async request times out. Alternatively an applications can register a DeferredResultProcessingInterceptor or a CallableProcessingInterceptor to handle the timeout through the MVC Java config or the MVC XML namespace or directly through properties of the By default the exception will be handled as a 503 error. |
org.springframework.scheduling.annotation.AsyncResult |
A pass-through As of Spring 4.1, this class implements ListenableFuture, not just plain java.util.concurrent.Future, along with the corresponding support in As of Spring 4.2, this class also supports passing execution exceptions back to the caller. |
org.springframework.web.servlet.mvc.method.annotation.AsyncTaskMethodReturnValueHandler |
Handles return values of type WebAsyncTask. |
org.springframework.web.context.request.async.AsyncWebRequest |
Extends NativeWebRequest with methods for asynchronous request processing. |
org.springframework.http.converter.feed.AtomFeedHttpMessageConverter |
Implementation of org.springframework.http.converter.HttpMessageConverter that can read and write Atom feeds. Specifically, this converter can handle Feed objects from the ROME project. >NOTE: As of Spring 4.1, this is based on the By default, this converter reads and writes the media type ( |
org.springframework.util.AutoPopulatingList |
Simple List wrapper class that allows for elements to be automatically populated as they are requested. This is particularly useful for data binding to List, allowing for elements to be created and added to the List in a "just in time" fashion. Note: This class is not thread-safe. To create a thread-safe version, use the Inspired by |
org.springframework.context.annotation.AutoProxyRegistrar |
Registers an auto proxy creator against the current BeanDefinitionRegistry as appropriate based on an |
org.springframework.beans.factory.support.AutowireCandidateResolver |
Strategy interface for determining whether a specific bean definition qualifies as an autowire candidate for a specific dependency. |
org.springframework.beans.factory.annotation.Autowired |
Marks a constructor, field, setter method or config method as to be autowired by Spring's dependency injection facilities. Only one constructor (at max) of any given bean class may carry this annotation, indicating the constructor to autowire when used as a Spring bean. Such a constructor does not have to be public. Fields are injected right after construction of a bean, before any config methods are invoked. Such a config field does not have to be public. Config methods may have an arbitrary name and any number of arguments; each of those arguments will be autowired with a matching bean in the Spring container. Bean property setter methods are effectively just a special case of such a general config method. Such config methods do not have to be public. In the case of a multi-arg constructor or method, the 'required' parameter is applicable to all arguments. Individual parameters may be declared as Java-8-style java.util.Optional or, as of Spring Framework 5.0, also as In case of a java.util.Collection or java.util.Map dependency type, the container autowires all beans matching the declared value type. For such purposes, the map keys must be declared as type String which will be resolved to the corresponding bean names. Such a container-provided collection will be ordered, taking into account org.springframework.core.Ordered/org.springframework.core.annotation.Order values of the target components, otherwise following their registration order in the container. Alternatively, a single matching target bean may also be a generally typed Note that actual injection is performed through a org.springframework.beans.factory.config.BeanPostProcessor which in turn means that you cannot use |
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor |
org.springframework.beans.factory.config.BeanPostProcessor implementation that autowires annotated fields, setter methods and arbitrary config methods. Such members to be injected are detected through a Java 5 annotation: by default, Spring's Autowired and Value annotations. Also supports JSR-330's javax.inject.Inject annotation, if available, as a direct alternative to Spring's own Only one constructor (at max) of any given bean class may carry this annotation with the 'required' parameter set to Fields are injected right after construction of a bean, before any config methods are invoked. Such a config field does not have to be public. Config methods may have an arbitrary name and any number of arguments; each of those arguments will be autowired with a matching bean in the Spring container. Bean property setter methods are effectively just a special case of such a general config method. Config methods do not have to be public. Note: A default AutowiredAnnotationBeanPostProcessor will be registered by the "context:annotation-config" and "context:component-scan" XML tags. Remove or turn off the default annotation configuration there if you intend to specify a custom AutowiredAnnotationBeanPostProcessor bean definition. NOTE: Annotation injection will be performed before XML injection; thus the latter configuration will override the former for properties wired through both approaches. In addition to regular injection points as discussed above, this post-processor also handles Spring's Lookup annotation which identifies lookup methods to be replaced by the container at runtime. This is essentially a type-safe version of |
org.springframework.jdbc.BadSqlGrammarException |
Exception thrown when SQL specified is invalid. Such exceptions always have a It would be possible to have subclasses for no such table, no such column etc. A custom SQLExceptionTranslator could create such more specific exceptions, without affecting code using this class. |
org.springframework.util.Base64Utils |
A simple utility class for Base64 encoding and decoding. Adapts to Java 8's java.util.Base64 in a convenience fashion. |
org.springframework.http.client.support.BasicAuthorizationInterceptor |
ClientHttpRequestInterceptor to apply a BASIC authorization header. |
org.springframework.cache.interceptor.BasicOperation |
The base interface that all cache operations must implement. |
org.springframework.jdbc.object.BatchSqlUpdate |
SqlUpdate subclass that performs batch update operations. Encapsulates queuing up records to be updated, and adds them as a single batch once Note that this class is a non-thread-safe object, in contrast to all other JDBC operations objects in this package. You need to create a new instance of it for each use, or call |
org.springframework.jdbc.core.BatchUpdateUtils |
Generic utility methods for working with JDBC batch statements. Mainly for internal use within the framework. |
org.springframework.beans.factory.parsing.BeanComponentDefinition |
ComponentDefinition based on a standard BeanDefinition, exposing the given bean definition as well as inner bean definitions and bean references for the given bean. |
org.springframework.beans.factory.wiring.BeanConfigurerSupport |
Convenient base class for bean configurers that can perform Dependency Injection on objects (however they may be created). Typically subclassed by AspectJ aspects. Subclasses may also need a custom metadata resolution strategy, in the BeanWiringInfoResolver interface. The default implementation looks for a bean with the same name as the fully-qualified class name. (This is the default name of the bean in a Spring XML file if the ' |
org.springframework.beans.factory.BeanCreationNotAllowedException |
Exception thrown in case of a bean being requested despite bean creation currently not being allowed (for example, during the shutdown phase of a bean factory). |
org.springframework.beans.factory.BeanCurrentlyInCreationException |
Exception thrown in case of a reference to a bean that's currently in creation. Typically happens when constructor autowiring matches the currently constructed bean. |
org.springframework.beans.factory.support.BeanDefinitionBuilder |
Programmatic means of constructing org.springframework.beans.factory.config.BeanDefinition using the builder pattern. Intended primarily for use when implementing Spring 2.0 org.springframework.beans.factory.xml.NamespaceHandler. |
org.springframework.beans.factory.support.BeanDefinitionDefaults |
A simple holder for |
org.springframework.beans.factory.xml.BeanDefinitionDocumentReader |
SPI for parsing an XML document that contains Spring bean definitions. Used by XmlBeanDefinitionReader for actually parsing a DOM document. Instantiated per document to parse: implementations can hold state in instance variables during the execution of the |
org.springframework.context.support.BeanDefinitionDsl |
Class implementing functional bean definition Kotlin DSL. |
org.springframework.beans.factory.parsing.BeanDefinitionParsingException |
Exception thrown when a bean definition reader encounters an error during the parsing process. |
org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor |
Extension to the standard BeanFactoryPostProcessor SPI, allowing for the registration of further bean definitions before regular BeanFactoryPostProcessor detection kicks in. In particular, BeanDefinitionRegistryPostProcessor may register further bean definitions which in turn define BeanFactoryPostProcessor instances. |
org.springframework.beans.factory.support.BeanDefinitionValidationException |
Exception thrown when the validation of a bean definition failed. |
org.springframework.beans.factory.config.BeanDefinitionVisitor |
Visitor class for traversing BeanDefinition objects, in particular the property values and constructor argument values contained in them, resolving bean metadata values. Used by PropertyPlaceholderConfigurer to parse all String values contained in a BeanDefinition, resolving any placeholders found. |
org.springframework.beans.factory.parsing.BeanEntry |
ParseState entry representing a bean definition. |
org.springframework.context.expression.BeanExpressionContextAccessor |
EL property accessor that knows how to traverse the beans and contextual objects of a Spring org.springframework.beans.factory.config.BeanExpressionContext. |
org.springframework.beans.factory.BeanExpressionException |
Exception that indicates an expression evaluation attempt having failed. |
org.springframework.beans.factory.config.BeanExpressionResolver |
Strategy interface for resolving a value through evaluating it as an expression, if applicable. A raw org.springframework.beans.factory.BeanFactory does not contain a default implementation of this strategy. However, org.springframework.context.ApplicationContext implementations will provide expression support out of the box. |
org.springframework.context.expression.BeanFactoryAccessor |
EL property accessor that knows how to traverse the beans of a Spring org.springframework.beans.factory.BeanFactory. |
org.springframework.beans.factory.annotation.BeanFactoryAnnotationUtils |
Convenience methods performing bean lookups related to annotations, for example Spring's Qualifier annotation. |
org.springframework.jdbc.datasource.lookup.BeanFactoryDataSourceLookup |
DataSourceLookup implementation based on a Spring BeanFactory. Will lookup Spring managed beans identified by bean name, expecting them to be of type |
org.springframework.jms.support.destination.BeanFactoryDestinationResolver |
DestinationResolver implementation based on a Spring BeanFactory. Will lookup Spring managed beans identified by bean name, expecting them to be of type |
org.springframework.messaging.core.BeanFactoryMessageChannelDestinationResolver |
An implementation of DestinationResolver that interprets a destination name as the bean name of a MessageChannel and looks up the bean in the configured BeanFactory. |
org.springframework.aop.target.dynamic.BeanFactoryRefreshableTargetSource |
Refreshable TargetSource that fetches fresh target beans from a BeanFactory. Can be subclassed to override |
org.springframework.context.expression.BeanFactoryResolver |
EL bean resolver that operates against a Spring org.springframework.beans.factory.BeanFactory. |
org.springframework.beans.factory.BeanFactoryUtils |
Convenience methods operating on bean factories, in particular on the ListableBeanFactory interface. Returns bean counts, bean names or bean instances, taking into account the nesting hierarchy of a bean factory (which the methods defined on the ListableBeanFactory interface don't, in contrast to the methods defined on the BeanFactory interface). |
org.springframework.beans.factory.BeanInitializationException |
Exception that a bean implementation is suggested to throw if its own factory-aware initialization code fails. BeansExceptions thrown by bean factory methods themselves should simply be propagated as-is. Note that |
org.springframework.beans.BeanInstantiationException |
Exception thrown when instantiation of a bean failed. Carries the offending bean class. |
org.springframework.beans.factory.BeanIsAbstractException |
Exception thrown when a bean instance has been requested for a bean definition which has been marked as abstract. |
org.springframework.beans.factory.BeanIsNotAFactoryException |
Exception thrown when a bean is not a factory, but a user tries to get at the factory for the given bean name. Whether a bean is a factory is determined by whether it implements the FactoryBean interface. |
org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator |
Auto proxy creator that identifies beans to proxy via a list of names. Checks for direct, "xxx*", and "*xxx" matches. For configuration details, see the javadoc of the parent class AbstractAutoProxyCreator. Typically, you will specify a list of interceptor names to apply to all identified beans, via the "interceptorNames" property. |
org.springframework.web.servlet.view.BeanNameViewResolver |
A simple implementation of org.springframework.web.servlet.ViewResolver that interprets a view name as a bean name in the current application context, i.e. typically in the XML file of the executing This resolver can be handy for small applications, keeping all definitions ranging from controllers to views in the same place. For larger applications, XmlViewResolver will be the better choice, as it separates the XML view bean definitions into a dedicated views file. Note: Neither this Note: This |
org.springframework.beans.factory.BeanNotOfRequiredTypeException |
Thrown when a bean doesn't match the expected type. |
org.springframework.jdbc.core.BeanPropertyRowMapper |
RowMapper implementation that converts a row into a new instance of the specified mapped target class. The mapped target class must be a top-level class and it must have a default or no-arg constructor. Column values are mapped based on matching the column name as obtained from result set metadata to public setters for the corresponding properties. The names are matched either directly or by transforming a name separating the parts with underscores to the same name using "camel" case. Mapping is provided for fields in the target class for many common types, e.g.: String, boolean, Boolean, byte, Byte, short, Short, int, Integer, long, Long, float, Float, double, Double, BigDecimal, To facilitate mapping between columns and fields that don't have matching names, try using column aliases in the SQL statement like "select fname as first_name from customer". For 'null' values read from the database, we will attempt to call the setter, but in the case of Java primitives, this causes a TypeMismatchException. This class can be configured (using the primitivesDefaultedForNullValue property) to trap this exception and use the primitives default value. Be aware that if you use the values from the generated bean to update the database the primitive value will have been set to the primitive's default value instead of null. Please note that this class is designed to provide convenience rather than high performance. For best performance, consider using a custom RowMapper implementation. |
org.springframework.jdbc.core.namedparam.BeanPropertySqlParameterSource |
SqlParameterSource implementation that obtains parameter values from bean properties of a given JavaBean object. The names of the bean properties have to match the parameter names. Uses a Spring BeanWrapper for bean property access underneath. |
org.springframework.expression.spel.ast.BeanReference |
Represents a bean reference to a type, for example @foo or @'foo.bar'. For a FactoryBean the syntax &foo can be used to access the factory itself. |
org.springframework.beans.BeanUtils |
Static convenience methods for JavaBeans: for instantiating beans, checking bean property types, copying bean properties, etc. Mainly for use within the framework, but to some degree also useful for application classes. |
org.springframework.validation.beanvalidation.BeanValidationPostProcessor |
Simple BeanPostProcessor that checks JSR-303 constraint annotations in Spring-managed beans, throwing an initialization exception in case of constraint violations right before calling the bean's init method (if any). |
org.springframework.beans.factory.xml.BeansDtdResolver |
EntityResolver implementation for the Spring beans DTD, to load the DTD from the Spring class path (or JAR file). Fetches "spring-beans.dtd" from the class path resource "/org/springframework/beans/factory/xml/spring-beans.dtd", no matter whether specified as some local URL that includes "spring-beans" in the DTD name or as "http://www.springframework.org/dtd/spring-beans-2.0.dtd". |
org.springframework.test.context.transaction.BeforeTransaction |
Test annotation which indicates that the annotated As of Spring Framework 4.3,
As of Spring Framework 4.0, this annotation may be used as a meta-annotation to create custom composed annotations. |
org.springframework.web.socket.handler.BinaryWebSocketHandler |
A convenient base class for WebSocketHandler implementations that process binary messages only. Text messages are rejected with |
org.springframework.web.servlet.tags.BindErrorsTag |
This |
org.springframework.validation.BindException |
Thrown when binding errors are considered fatal. Implements the BindingResult interface (and its super-interface Errors) to allow for the direct analysis of binding errors. As of Spring 2.0, this is a special-purpose class. Normally, application code will work with the BindingResult interface, or with a DataBinder that in turn exposes a BindingResult via |
org.springframework.web.reactive.result.view.BindStatus |
Simple adapter to expose the bind status of a field or object. Set as a variable by FreeMarker macros and other tag libraries. Obviously, object status representations (i.e. errors at the object level rather than the field level) do not have an expression and a value but only error codes and messages. For simplicity's sake and to be able to use the same tags and macros, the same status class is used for both scenarios. |
org.springframework.validation.support.BindingAwareConcurrentModel |
Subclass of ConcurrentModel that automatically removes the BindingResult object when its corresponding target attribute is replaced through regular Map operations. This is the class exposed to handler methods by Spring WebFlux, typically consumed through a declaration of the org.springframework.ui.Model interface as a parameter type. There is typically no need to create it within user code. If necessary a handler method can return a regular |
org.springframework.validation.support.BindingAwareModelMap |
Subclass of org.springframework.ui.ExtendedModelMap that automatically removes a org.springframework.validation.BindingResult object if the corresponding target attribute gets replaced through regular Map operations. This is the class exposed to handler methods by Spring MVC, typically consumed through a declaration of the org.springframework.ui.Model interface. There is no need to build it within user code; a plain org.springframework.ui.ModelMap or even a just a regular Map with String keys will be good enough to return a user model. |
org.springframework.validation.BindingResultUtils |
Convenience methods for looking up BindingResults in a model Map. |
org.springframework.web.reactive.function.BodyExtractors |
Implementations of BodyExtractor that read various bodies, such a reactive streams. |
org.springframework.web.reactive.function.BodyInserters |
Implementations of BodyInserter that write various bodies, such a reactive streams, server-sent events, resources, etc. |
org.springframework.util.comparator.BooleanComparator |
A Comparator for Boolean objects that can sort either |
org.springframework.expression.spel.ast.BooleanLiteral |
Represents the literal values |
org.springframework.expression.spel.support.BooleanTypedValue | |
org.springframework.jca.context.BootstrapContextAware |
Interface to be implemented by any object that wishes to be notified of the BootstrapContext (typically determined by the ResourceAdapterApplicationContext) that it runs in. |
org.springframework.test.context.BootstrapWith |
This annotation may also be used as a meta-annotation to create custom composed annotations. |
org.springframework.core.BridgeMethodResolver |
Helper for resolving synthetic Given a synthetic See The Java Language Specification for more details on the use of bridge methods. |
org.springframework.messaging.simp.broker.BrokerAvailabilityEvent |
Event raised when a broker's availabilty changes |
org.springframework.jms.core.BrowserCallback |
Callback for browsing the messages in a JMS queue. To be used with JmsTemplate's callback methods that take a BrowserCallback argument, often implemented as an anonymous inner class or as a lambda expression. |
org.springframework.scripting.bsh.BshScriptEvaluator |
BeanShell-based implementation of Spring's ScriptEvaluator strategy interface. |
org.springframework.scripting.bsh.BshScriptFactory |
org.springframework.scripting.ScriptFactory implementation for a BeanShell script. Typically used in combination with a org.springframework.scripting.support.ScriptFactoryPostProcessor; see the latter's javadoc for a configuration example. |
org.springframework.http.converter.BufferedImageHttpMessageConverter |
Implementation of HttpMessageConverter that can read and write BufferedImage. By default, this converter can read all media types that are supported by the registered image readers, and writes using the media type of the first available registered image writer. The latter can be overridden by setting the If the The |
org.springframework.http.client.BufferingClientHttpRequestFactory |
Wrapper for a ClientHttpRequestFactory that buffers all outgoing and incoming streams in memory. Using this wrapper allows for multiple reads of the |
org.springframework.messaging.simp.stomp.BufferingStompDecoder |
An extension of org.springframework.messaging.simp.stomp.StompDecoder that buffers content remaining in the input ByteBuffer after the parent class has read all (complete) STOMP frames from it. The remaining content represents an incomplete STOMP frame. When called repeatedly with additional data, the decode method returns one or more messages or, if there is not enough data still, continues to buffer. A single instance of this decoder can be invoked repeatedly to read all messages from a single stream (e.g. WebSocket session) as long as decoding does not fail. If there is an exception, StompDecoder instance should not be used any more as its internal state is not guaranteed to be consistent. It is expected that the underlying session is closed at that point. |
org.springframework.web.servlet.tags.form.ButtonTag |
The Attribute Summary Attribute Required? Runtime Expression? Description disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. id false true HTML Standard Attribute name false true The name attribute for the HTML button tag value false true The name attribute for the HTML button tag |
org.springframework.core.codec.ByteArrayDecoder |
Decoder for |
org.springframework.core.codec.ByteArrayEncoder |
Encoder for |
org.springframework.http.converter.ByteArrayHttpMessageConverter |
Implementation of HttpMessageConverter that can read and write byte arrays. By default, this converter supports all media types ( |
org.springframework.web.multipart.support.ByteArrayMultipartFileEditor |
Custom java.beans.PropertyEditor for converting MultipartFile to byte arrays. |
org.springframework.beans.propertyeditors.ByteArrayPropertyEditor |
Editor for byte arrays. Strings will simply be converted to their corresponding byte representations. |
org.springframework.core.io.ByteArrayResource |
Resource implementation for a given byte array. Creates a ByteArrayInputStream for the given byte array. Useful for loading content from any given byte array, without having to resort to a single-use InputStreamResource. Particularly useful for creating mail attachments from local content, where JavaMail needs to be able to read the stream multiple times. |
org.springframework.core.codec.ByteBufferDecoder |
Decoder for ByteBuffers. |
org.springframework.core.codec.ByteBufferEncoder |
Encoder for ByteBuffers. |
org.springframework.cache.interceptor.CacheAspectSupport |
Base class for caching aspects, such as the CacheInterceptor or an AspectJ aspect. This enables the underlying Spring caching infrastructure to be used easily to implement an aspect for any aspect system. Subclasses are responsible for calling methods in this class in the correct order. Uses the Strategy design pattern. A CacheResolver implementation will resolve the actual cache(s) to use, and a CacheOperationSource is used for determining caching operations. A cache aspect is serializable if its |
org.springframework.cache.config.CacheNamespaceHandler |
This namespace handler is the central piece of functionality in the Spring cache management facilities. |
org.springframework.cache.interceptor.CacheProxyFactoryBean |
Proxy factory bean for simplified declarative caching handling. This is a convenient alternative to a standard AOP org.springframework.aop.framework.ProxyFactoryBean with a separate CacheInterceptor definition. This class is designed to facilitate declarative cache demarcation: namely, wrapping a singleton target object with a caching proxy, proxying all the interfaces that the target implements. Exists primarily for third-party framework integration. Users should favor the |
org.springframework.cache.annotation.CachePut |
Annotation indicating that a method (or all methods on a class) triggers a In contrast to the Cacheable annotation, this annotation does not cause the advised method to be skipped. Rather, it always causes the method to be invoked and its result to be stored in the associated cache. Note that Java8's This annotation may be used as a meta-annotation to create custom composed annotations with attribute overrides. |
org.springframework.cache.interceptor.CachePutOperation |
Class describing a cache 'put' operation. |
org.springframework.context.expression.CachedExpressionEvaluator |
Shared utility class used to evaluate and cache SpEL expressions that are defined on java.lang.reflect.AnnotatedElement. |
org.springframework.beans.CachedIntrospectionResults |
Internal class that caches JavaBeans java.beans.PropertyDescriptor information for a Java class. Not intended for direct use by application code. Necessary for own caching of descriptors within the application's ClassLoader, rather than rely on the JDK's system-wide BeanInfo cache (in order to avoid leaks on ClassLoader shutdown). Information is cached statically, so we don't need to create new objects of this class for every JavaBean we manipulate. Hence, this class implements the factory design pattern, using a private constructor and a static Note that for caching to work effectively, some preconditions need to be met: Prefer an arrangement where the Spring jars live in the same ClassLoader as the application classes, which allows for clean caching along with the application's lifecycle in any case. For a web application, consider declaring a local org.springframework.web.util.IntrospectorCleanupListener in In case of a non-clean ClassLoader arrangement without a cleanup listener having been set up, this class will fall back to a weak-reference-based caching model that recreates much-requested entries every time the garbage collector removed them. In such a scenario, consider the |
org.springframework.cache.annotation.Caching |
Group annotation for multiple cache annotations (of different or the same type). This annotation may be used as a meta-annotation to create custom composed annotations with attribute overrides. |
org.springframework.cache.annotation.CachingConfigurationSelector |
Selects which implementation of AbstractCachingConfiguration should be used based on the value of Detects the presence of JSR-107 and enables JCache support accordingly. |
org.springframework.cache.annotation.CachingConfigurerSupport |
An implementation of CachingConfigurer with empty methods allowing sub-classes to override only the methods they're interested in. |
org.springframework.jms.connection.CachingConnectionFactory |
SingleConnectionFactory subclass that adds javax.jms.Session caching as well javax.jms.MessageProducer caching. This ConnectionFactory also switches the By default, only one single Session will be cached, with further requested Sessions being created and disposed on demand. Consider raising the When using the JMS 1.0.2 API, this ConnectionFactory will switch into queue/topic mode according to the JMS API methods used at runtime: NOTE: This ConnectionFactory requires explicit closing of all Sessions obtained from its shared Connection. This is the usual recommendation for native JMS access code anyway. However, with this ConnectionFactory, its use is mandatory in order to actually allow for Session reuse. Note also that MessageConsumers obtained from a cached Session won't get closed until the Session will eventually be removed from the pool. This may lead to semantic side effects in some cases. For a durable subscriber, the logical |
org.springframework.jms.support.destination.CachingDestinationResolver |
Extension of the DestinationResolver interface, exposing methods for clearing the cache. |
org.springframework.messaging.core.CachingDestinationResolverProxy |
DestinationResolver implementation that proxies a target DestinationResolver, caching its |
org.springframework.web.reactive.resource.CachingResourceResolver |
A ResourceResolver that resolves resources from a Cache or otherwise delegates to the resolver chain and caches the result. |
org.springframework.web.servlet.resource.CachingResourceResolver |
A org.springframework.web.servlet.resource.ResourceResolver that resolves resources from a org.springframework.cache.Cache or otherwise delegates to the resolver chain and saves the result in the cache. |
org.springframework.web.reactive.resource.CachingResourceTransformer |
A ResourceTransformer that checks a Cache to see if a previously transformed resource exists in the cache and returns it if found, or otherwise delegates to the resolver chain and caches the result. |
org.springframework.web.servlet.resource.CachingResourceTransformer |
A org.springframework.web.servlet.resource.ResourceTransformer that checks a org.springframework.cache.Cache to see if a previously transformed resource exists in the cache and returns it if found, and otherwise delegates to the resolver chain and saves the result in the cache. |
org.springframework.cache.caffeine.CaffeineCache |
Spring org.springframework.cache.Cache adapter implementation on top of a Caffeine com.github.benmanes.caffeine.cache.Cache instance. Requires Caffeine 2.1 or higher. |
org.springframework.cache.caffeine.CaffeineCacheManager |
CacheManager implementation that lazily builds CaffeineCache instances for each The configuration of the underlying cache can be fine-tuned through a Caffeine builder or CaffeineSpec, passed into this CacheManager through Requires Caffeine 2.1 or higher. |
org.springframework.jdbc.core.metadata.CallMetaDataContext |
Class to manage context metadata used for the configuration and execution of the call. |
org.springframework.jdbc.core.metadata.CallMetaDataProvider |
Interface specifying the API to be implemented by a class providing call metadata. This is intended for internal use by Spring's org.springframework.jdbc.core.simple.SimpleJdbcCall. |
org.springframework.jdbc.core.metadata.CallMetaDataProviderFactory |
Factory used to create a CallMetaDataProvider implementation based on the type of database being used. |
org.springframework.web.servlet.mvc.method.annotation.CallableMethodReturnValueHandler |
Handles return values of type Callable. |
org.springframework.web.context.request.async.CallableProcessingInterceptorAdapter |
Abstract adapter class for the CallableProcessingInterceptor interface, for simplified implementation of individual methods. |
org.springframework.jdbc.core.CallableStatementCreatorFactory |
Helper class that efficiently creates multiple CallableStatementCreator objects with different parameters based on a SQL statement and a single set of parameter declarations. |
org.springframework.transaction.support.CallbackPreferringPlatformTransactionManager |
Extension of the org.springframework.transaction.PlatformTransactionManager interface, exposing a method for executing a given callback within a transaction. Implementors of this interface automatically express a preference for callbacks over programmatic Spring's TransactionTemplate and org.springframework.transaction.interceptor.TransactionInterceptor detect and use this PlatformTransactionManager variant automatically. |
org.springframework.context.index.CandidateComponentsIndexLoader |
Candidate components index loading mechanism for internal use within the framework. |
org.springframework.context.index.CandidateComponentsIndexer |
Annotation Processor that writes CandidateComponentsMetadata file for spring components. |
org.springframework.dao.CannotAcquireLockException |
Exception thrown on failure to aquire a lock during an update, for example during a "select for update" statement. |
org.springframework.jca.cci.CannotCreateRecordException |
Exception thrown when the creating of a CCI Record failed for connector-internal reasons. |
org.springframework.transaction.CannotCreateTransactionException |
Exception thrown when a transaction can't be created using an underlying transaction API such as JTA. |
org.springframework.jca.cci.CannotGetCciConnectionException |
Fatal exception thrown when we can't connect to an EIS using CCI. |
org.springframework.jdbc.CannotGetJdbcConnectionException |
Fatal exception thrown when we can't connect to an RDBMS using JDBC. |
org.springframework.beans.factory.CannotLoadBeanClassException |
Exception thrown when the BeanFactory cannot load the specified class of a given bean. |
org.springframework.jdbc.datasource.init.CannotReadScriptException |
Thrown by ScriptUtils if an SQL script cannot be read. |
org.springframework.dao.CannotSerializeTransactionException |
Exception thrown on failure to complete a transaction in serialized mode due to update conflicts. |
org.springframework.oxm.castor.CastorMappingException |
Exception thrown by CastorMarshaller whenever it encounters a mapping problem. |
org.springframework.oxm.castor.CastorMarshaller |
Implementation of the If a target class is specified using Due to limitations of Castor's API, it is required to set the encoding used for writing to output streams. It defaults to |
org.springframework.oxm.xstream.CatchAllConverter |
XStream Converter that supports all classes, but throws exceptions for (un)marshalling. The main purpose of this class is to register this converter as a catch-all last converter with a normal or higher priority, in addition to converters that explicitly handle the domain classes that should be supported. As a result, default XStream converters with lower priorities and possible security vulnerabilities do not get invoked. For instance:
|
org.springframework.jca.cci.core.support.CciDaoSupport |
Convenient super class for CCI-based data access objects. Requires a javax.resource.cci.ConnectionFactory to be set, providing a org.springframework.jca.cci.core.CciTemplate based on it to subclasses through the This base class is mainly intended for CciTemplate usage but can also be used when working with a Connection directly or when using |
org.springframework.jca.cci.connection.CciLocalTransactionManager |
org.springframework.transaction.PlatformTransactionManager implementation that manages local transactions for a single CCI ConnectionFactory. Binds a CCI Connection from the specified ConnectionFactory to the thread, potentially allowing for one thread-bound Connection per ConnectionFactory. Application code is required to retrieve the CCI Connection via Alternatively, you can allow application code to work with the standard Java EE lookup pattern |
org.springframework.jca.cci.CciOperationNotSupportedException |
Exception thrown when the connector doesn't support a specific CCI operation. |
org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy |
Default object instantiation strategy for use in BeanFactories. Uses CGLIB to generate subclasses dynamically if methods need to be overridden by the container to implement Method Injection. |
org.springframework.jms.connection.ChainedExceptionListener |
Implementation of the JMS ExceptionListener interface that supports chaining, allowing the addition of multiple ExceptionListener instances in order. |
org.springframework.dao.support.ChainedPersistenceExceptionTranslator |
Implementation of PersistenceExceptionTranslator that supports chaining, allowing the addition of PersistenceExceptionTranslator instances in order. Returns |
org.springframework.messaging.support.ChannelInterceptorAdapter |
A ChannelInterceptor base class with empty method implementations as a convenience. |
org.springframework.http.server.reactive.ChannelSendOperator |
Given a write function that accepts a source |
org.springframework.beans.propertyeditors.CharArrayPropertyEditor |
Editor for char arrays. Strings will simply be converted to their corresponding char representations. |
org.springframework.core.codec.CharSequenceEncoder |
Encode from a |
org.springframework.beans.propertyeditors.CharacterEditor |
Editor for a Character, to populate a property of type Note that the JDK does not contain a default java.beans.PropertyEditor for Also supports conversion from a Unicode character sequence; e.g. |
org.springframework.web.filter.CharacterEncodingFilter |
Servlet Filter that allows one to specify a character encoding for requests. This is useful because current browsers typically do not set a character encoding even if specified in the HTML page or form. This filter can either apply its encoding if the request does not already specify an encoding, or enforce this filter's encoding in any case ("forceEncoding"="true"). In the latter case, the encoding will also be applied as default response encoding (although this will usually be overridden by a full content type set in the view). |
org.springframework.beans.propertyeditors.CharsetEditor |
Editor for Expects the same syntax as Charset's |
org.springframework.web.servlet.tags.form.CheckboxTag |
The Attribute Summary Attribute Required? Runtime Expression? Description accesskey false true HTML Standard Attribute cssClass false true HTML Optional Attribute cssErrorClass false true HTML Optional Attribute. Used when the bound field has errors. cssStyle false true HTML Optional Attribute dir false true HTML Standard Attribute disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. htmlEscape false true Enable/disable HTML escaping of rendered values. id false true HTML Standard Attribute label false true Value to be displayed as part of the tag lang false true HTML Standard Attribute onblur false true HTML Event Attribute onchange false true HTML Event Attribute onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onfocus false true HTML Event Attribute onkeydown false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onmousedown false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onmouseover false true HTML Event Attribute onmouseup false true HTML Event Attribute path true true Path to property for data binding tabindex false true HTML Standard Attribute title false true HTML Standard Attribute value false true HTML Optional Attribute |
org.springframework.web.servlet.tags.form.CheckboxesTag |
The Attribute Summary Attribute Required? Runtime Expression? Description accesskey false true HTML Standard Attribute cssClass false true HTML Optional Attribute cssErrorClass false true HTML Optional Attribute. Used when the bound field has errors. cssStyle false true HTML Optional Attribute delimiter false true Delimiter to use between each 'input' tag with type 'checkbox'. There is no delimiter by default. dir false true HTML Standard Attribute disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. element false true Specifies the HTML element that is used to enclose each 'input' tag with type 'checkbox'. Defaults to 'span'. htmlEscape false true Enable/disable HTML escaping of rendered values. id false true HTML Standard Attribute itemLabel false true Value to be displayed as part of the 'input' tags with type 'checkbox' items true true The Collection, Map or array of objects used to generate the 'input' tags with type 'checkbox' itemValue false true Name of the property mapped to 'value' attribute of the 'input' tags with type 'checkbox' lang false true HTML Standard Attribute onblur false true HTML Event Attribute onchange false true HTML Event Attribute onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onfocus false true HTML Event Attribute onkeydown false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onmousedown false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onmouseover false true HTML Event Attribute onmouseup false true HTML Event Attribute path true true Path to property for data binding tabindex false true HTML Standard Attribute title false true HTML Standard Attribute |
org.springframework.beans.factory.support.ChildBeanDefinition |
Bean definition for beans which inherit settings from their parent. Child bean definitions have a fixed dependency on a parent bean definition. A child bean definition will inherit constructor argument values, property values and method overrides from the parent, with the option to add new values. If init method, destroy method and/or static factory method are specified, they will override the corresponding parent settings. The remaining settings will always be taken from the child definition: depends on, autowire mode, dependency check, singleton, lazy init. NOTE: Since Spring 2.5, the preferred way to register bean definitions programmatically is the GenericBeanDefinition class, which allows to dynamically define parent dependencies through the |
org.springframework.beans.propertyeditors.ClassArrayEditor |
Property editor for an array of Class, to enable the direct population of a Also supports "java.lang.String[]"-style array class names, in contrast to the standard |
org.springframework.beans.propertyeditors.ClassEditor |
Property editor for Class, to enable the direct population of a Also supports "java.lang.String[]"-style array class names, in contrast to the standard |
org.springframework.aop.support.ClassFilters |
Static utility methods for composing ClassFilter. |
org.springframework.beans.factory.wiring.ClassNameBeanWiringInfoResolver |
Simple default implementation of the BeanWiringInfoResolver interface, looking for a bean with the same name as the fully-qualified class name. This matches the default name of the bean in a Spring XML file if the bean tag's "id" attribute is not used. |
org.springframework.context.annotation.ClassPathBeanDefinitionScanner |
A bean definition scanner that detects bean candidates on the classpath, registering corresponding bean definitions with a given registry ( Candidate classes are detected through configurable type filters. The default filters include classes that are annotated with Spring's org.springframework.stereotype.Component, org.springframework.stereotype.Repository, org.springframework.stereotype.Service, or org.springframework.stereotype.Controller stereotype. Also supports Java EE 6's javax.annotation.ManagedBean and JSR-330's javax.inject.Named annotations, if available. |
org.springframework.context.support.ClassPathXmlApplicationContext |
Standalone XML application context, taking the context definition files from the class path, interpreting plain paths as class path resource names that include the package path (e.g. "mypackage/myresource.txt"). Useful for test harnesses as well as for application contexts embedded within JARs. The config location defaults can be overridden via Note: In case of multiple config locations, later bean definitions will override ones defined in earlier loaded files. This can be leveraged to deliberately override certain bean definitions via an extra XML file. This is a simple, one-stop shop convenience ApplicationContext. Consider using the GenericApplicationContext class in combination with an org.springframework.beans.factory.xml.XmlBeanDefinitionReader for more flexible context setup. |
org.springframework.core.io.ClassRelativeResourceLoader |
ResourceLoader implementation that interprets plain resource paths as relative to a given |
org.springframework.asm.ClassWriter |
A ClassVisitor that generates classes in bytecode form. More precisely this visitor generates a byte array conforming to the Java class file format. It can be used alone, to generate a Java class "from scratch", or with one or more ClassReader and adapter class visitor to generate a modified class from one or more existing Java classes. |
org.springframework.dao.CleanupFailureDataAccessException |
Exception thrown when we couldn't cleanup after a data access operation, but the actual operation went OK. For example, this exception or a subclass might be thrown if a JDBC Connection couldn't be closed after it had been used successfully. Note that data access code might perform resources cleanup in a finally block and therefore log cleanup failure rather than rethrow it, to keep the original data access exception, if any. |
org.springframework.http.client.reactive.ClientHttpRequestDecorator |
Wraps another ClientHttpRequest and delegates all methods to it. Sub-classes can override specific methods selectively. |
org.springframework.http.client.ClientHttpRequestInterceptor |
Intercepts client-side HTTP requests. Implementations of this interface can be registered with the org.springframework.web.client.RestTemplate, as to modify the outgoing ClientHttpRequest and/or the incoming ClientHttpResponse. The main entry point for interceptors is |
org.springframework.http.client.reactive.ClientHttpResponseDecorator |
Wraps another ClientHttpResponse and delegates all methods to it. Sub-classes can override specific methods selectively. |
org.springframework.web.reactive.function.client.ClientRequest |
Represents a typed, immutable, client-side HTTP request, as executed by the ExchangeFunction. Instances of this interface can be created via static builder methods. Note that applications are more likely to perform requests through WebClient rather than using this directly. |
org.springframework.remoting.rmi.CodebaseAwareObjectInputStream |
Special ObjectInputStream subclass that falls back to a specified codebase to load classes from if not found locally. In contrast to standard RMI conventions for dynamic class download, it is the client that determines the codebase URL here, rather than the "java.rmi.server.codebase" system property on the server. Uses the JDK's RMIClassLoader to load classes from the specified codebase. The codebase can consist of multiple URLs, separated by spaces. Note that RMIClassLoader requires a SecurityManager to be set, like when using dynamic class download with standard RMI! (See the RMI documentation for details.) Despite residing in the RMI package, this class is not used for RmiClientInterceptor, which uses the standard RMI infrastructure instead and thus is only able to rely on RMI's standard dynamic class download via "java.rmi.server.codebase". CodebaseAwareObjectInputStream is used by HttpInvokerClientInterceptor (see the "codebaseUrl" property there). Thanks to Lionel Mestre for suggesting the option and providing a prototype! |
org.springframework.core.codec.CodecException |
General error that indicates a problem while encoding and decoding to and from an Object stream. |
org.springframework.core.CollectionFactory |
Factory for collections that is aware of Java 5, Java 6, and Spring collection types. Mainly for internal use within the framework. |
org.springframework.util.CollectionUtils |
Miscellaneous collection utility methods. Mainly for internal use within the framework. |
org.springframework.jdbc.core.ColumnMapRowMapper |
RowMapper implementation that creates a The Map implementation to use and the key to use for each column in the column Map can be customized through overriding Note: By default, ColumnMapRowMapper will try to build a linked Map with case-insensitive keys, to preserve column order as well as allow any casing to be used for column names. This requires Commons Collections on the classpath (which will be autodetected). Else, the fallback is a standard linked HashMap, which will still preserve column order but requires the application to specify the column names in the same casing as exposed by the driver. |
org.springframework.jca.cci.core.support.CommAreaRecord |
CCI Record implementation for a COMMAREA, holding a byte array. |
org.springframework.core.env.CommandLinePropertySource |
Abstract base class for PropertySource implementations backed by command line arguments. The parameterized type With the bootstrap logic above, the AppConfig class may @Inject the Spring Environment and query it directly for properties: Because the CommandLinePropertySource was added to the Environment 's set of MutablePropertySources using the #addFirst method, it has highest search precedence, meaning that while "db.hostname" and other properties may exist in other property sources such as the system environment variables, it will be chosen from the command line property source first. This is a reasonable approach given that arguments specified on the command line are naturally more specific than those specified as environment variables.
As an alternative to injecting the Working with option arguments
Individual command line arguments are represented as properties through the usual 'o1' and 'o2' are treated as "option arguments", and the following assertions would evaluate true: Note that the 'o2' option has no argument, but getProperty("o2") resolves to empty string ("" ) as opposed to null , while getProperty("o3") resolves to null because it was not specified. This behavior is consistent with the general contract to be followed by all PropertySource implementations.
Note also that while "--" was used in the examples above to denote an option argument, this syntax may vary across individual command line argument libraries. For example, a JOpt- or Commons CLI-based implementation may allow for single dash ("-") "short" option arguments, etc. Working with non-option argumentsNon-option arguments are also supported through this abstraction. Any arguments supplied without an option-style prefix such as "-" or "--" are considered "non-option arguments" and available through the special property. If multiple non-option arguments are specified, the value of this property will be a comma-delimited string containing all of the arguments. This approach ensures a simple and consistent return type (String) for all properties from a In this example, "o1" and "o2" would be considered "option arguments", while the two filesystem paths qualify as "non-option arguments". As such, the following assertions will evaluate true:
As mentioned above, when used in conjunction with the Spring
The name of the special "non-option arguments" property may be customized through the Limitations This abstraction is not intended to expose the full power of underlying command line parsing APIs such as JOpt or Commons CLI. It's intent is rather just the opposite: to provide the simplest possible abstraction for accessing command line arguments after they have been parsed. So the typical case will involve fully configuring the underlying command line parsing API, parsing the String[] of arguments coming into the main method, and then simply providing the parsing results to an implementation of CommandLinePropertySource . At that point, all arguments can be considered either 'option' or 'non-option' arguments and as described above can be accessed through the normal PropertySource and Environment APIs.
|
org.springframework.test.annotation.Commit |
Consult the class-level Javadoc for org.springframework.test.context.transaction.TransactionalTestExecutionListener for an explanation of test-managed transactions. When declared as a class-level annotation, Warning: |
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor |
org.springframework.beans.factory.config.BeanPostProcessor implementation that supports common Java annotations out of the box, in particular the JSR-250 annotations in the This post-processor includes support for the javax.annotation.PostConstruct and javax.annotation.PreDestroy annotations - as init annotation and destroy annotation, respectively - through inheriting from InitDestroyAnnotationBeanPostProcessor with pre-configured annotation types. The central element is the javax.annotation.Resource annotation for annotation-driven injection of named beans, by default from the containing Spring BeanFactory, with only The JAX-WS javax.xml.ws.WebServiceRef annotation is supported too, analogous to javax.annotation.Resource but with the capability of creating specific JAX-WS service endpoints. This may either point to an explicitly defined resource by name or operate on a locally specified JAX-WS service class. Finally, this post-processor also supports the EJB 3 javax.ejb.EJB annotation, analogous to javax.annotation.Resource as well, with the capability to specify both a local bean name and a global JNDI name for fallback retrieval. The target beans can be plain POJOs as well as EJB 3 Session Beans in this case. The common annotations supported by this post-processor are available in Java 6 (JDK 1.6) as well as in Java EE 5/6 (which provides a standalone jar for its common annotations as well, allowing for use in any Java 5 based application). For default usage, resolving resource names as Spring bean names, simply define the following in your application context: For direct JNDI access, resolving resource names as JNDI resource references within the Java EE application's "java:comp/env/" namespace, use the following: mappedName references will always be resolved in JNDI, allowing for global JNDI names (including "java:" prefix) as well. The "alwaysUseJndiLookup" flag just affects name references and default names (inferred from the field name / property name).
NOTE: A default CommonAnnotationBeanPostProcessor will be registered by the "context:annotation-config" and "context:component-scan" XML tags. Remove or turn off the default annotation configuration there if you intend to specify a custom CommonAnnotationBeanPostProcessor bean definition! NOTE: Annotation injection will be performed before XML injection; thus the latter configuration will override the former for properties wired through both approaches. |
org.springframework.util.CommonsLogWriter |
|
org.springframework.web.multipart.commons.CommonsMultipartFile |
MultipartFile implementation for Apache Commons FileUpload. |
org.springframework.aop.target.CommonsPool2TargetSource |
org.springframework.aop.TargetSource implementation that holds objects in a configurable Apache Commons2 Pool. By default, an instance of Provides many configuration properties mirroring those of the Commons Pool The Compatible with Apache Commons Pool 2.4, as of Spring 4.2. |
org.springframework.web.filter.CommonsRequestLoggingFilter |
Simple request logging filter that writes the request URI (and optionally the query string) to the Commons Log. |
org.springframework.util.comparator.ComparableComparator |
Comparator that adapts Comparables to the Comparator interface. Mainly for internal use in other Comparators, when supposed to work on Comparables. |
org.springframework.messaging.handler.invocation.CompletableFutureReturnValueHandler |
Support for CompletableFuture (and as of 4.3.7 also CompletionStage) as a return value type. |
org.springframework.util.concurrent.CompletableToListenableFutureAdapter |
Adapts a CompletableFuture or CompletionStage into a Spring ListenableFuture. |
org.springframework.context.annotation.ComponentScanBeanDefinitionParser |
Parser for the |
org.springframework.context.annotation.ComponentScans |
Container annotation that aggregates several ComponentScan annotations. Can be used natively, declaring several nested ComponentScan annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, where ComponentScan can simply be declared several times on the same method, implicitly generating this container annotation. |
org.springframework.aop.support.ComposablePointcut |
Convenient class for building up pointcuts. All methods return ComposablePointcut, so we can use a concise idiom like: |
org.springframework.cache.support.CompositeCacheManager |
Composite CacheManager implementation that iterates over a given collection of delegate CacheManager instances. Allows NoOpCacheManager to be automatically added to the end of the list for handling cache declarations without a backing store. Otherwise, any custom CacheManager may play that role of the last delegate as well, lazily creating cache regions for any requested name. Note: Regular CacheManagers that this composite manager delegates to need to return |
org.springframework.cache.interceptor.CompositeCacheOperationSource |
Composite CacheOperationSource implementation that iterates over a given array of |
org.springframework.jdbc.datasource.init.CompositeDatabasePopulator |
Composite DatabasePopulator that delegates to a list of given |
org.springframework.web.filter.CompositeFilter |
A generic composite servlet Filter that just delegates its behavior to a chain (list) of user-supplied filters, achieving the functionality of a FilterChain, but conveniently using only Filter instances. This is useful for filters that require dependency injection, and can therefore be set up in a Spring application context. Typically, this composite would be used in conjunction with DelegatingFilterProxy, so that it can be declared in Spring but applied to a servlet context. |
org.springframework.util.CompositeIterator |
Composite iterator that combines multiple other iterators, as registered via This implementation maintains a linked set of iterators which are invoked in sequence until all iterators are exhausted. |
org.springframework.core.env.CompositePropertySource |
Composite PropertySource implementation that iterates over a set of PropertySource instances. Necessary in cases where multiple property sources share the same name, e.g. when multiple values are supplied to As of Spring 4.1.2, this class extends EnumerablePropertySource instead of plain PropertySource, exposing |
org.springframework.web.reactive.result.condition.CompositeRequestCondition |
Implements the RequestCondition contract by delegating to multiple When |
org.springframework.web.servlet.mvc.condition.CompositeRequestCondition |
Implements the RequestCondition contract by delegating to multiple When |
org.springframework.expression.common.CompositeStringExpression |
Represents a template expression broken into pieces. Each piece will be an Expression but pure text parts to the template will be represented as LiteralExpression objects. An example of a template expression might be: which will be represented as a CompositeStringExpression of two parts. The first part being a LiteralExpression representing 'Hello ' and the second part being a real expression that will call getName() when invoked.
|
org.springframework.transaction.interceptor.CompositeTransactionAttributeSource |
Composite TransactionAttributeSource implementation that iterates over a given array of TransactionAttributeSource instances. |
org.springframework.web.method.support.CompositeUriComponentsContributor |
A UriComponentsContributor containing a list of other contributors to delegate and also encapsulating a specific ConversionService to use for formatting method argument values to Strings. |
org.springframework.util.comparator.CompoundComparator |
A comparator that chains a sequence of one or more Comparators. A compound comparator calls each Comparator in sequence until a single Comparator returns a non-zero result, or the comparators are exhausted and zero is returned. This facilitates in-memory sorting similar to multi-column sorting in SQL. The order of any single Comparator in the list can also be reversed. |
org.springframework.expression.spel.ast.CompoundExpression |
Represents a DOT separated expression sequence, such as 'property1.property2.methodOne()' |
org.springframework.aop.interceptor.ConcurrencyThrottleInterceptor |
Interceptor that throttles concurrent access, blocking invocations if a specified concurrency limit is reached. Can be applied to methods of local services that involve heavy use of system resources, in a scenario where it is more efficient to throttle concurrency for a specific service rather than restricting the entire thread pool (e.g. the web container's thread pool). The default concurrency limit of this interceptor is 1. Specify the "concurrencyLimit" bean property to change this value. |
org.springframework.core.task.support.ConcurrentExecutorAdapter |
Adapter that exposes the java.util.concurrent.Executor interface for any Spring org.springframework.core.task.TaskExecutor. This is less useful as of Spring 3.0, since TaskExecutor itself extends the Executor interface. The adapter is only relevant for hiding the TaskExecutor nature of a given object now, solely exposing the standard Executor interface to a client. |
org.springframework.cache.concurrent.ConcurrentMapCacheFactoryBean |
FactoryBean for easy configuration of a ConcurrentMapCache when used within a Spring container. Can be configured through bean properties; uses the assigned Spring bean name as the default cache name. Useful for testing or simple caching scenarios, typically in combination with org.springframework.cache.support.SimpleCacheManager or dynamically through ConcurrentMapCacheManager. |
org.springframework.scheduling.concurrent.ConcurrentTaskExecutor |
Adapter that takes a Autodetects a JSR-236 javax.enterprise.concurrent.ManagedExecutorService in order to expose javax.enterprise.concurrent.ManagedTask adapters for it, exposing a long-running hint based on SchedulingAwareRunnable and an identity name based on the given Runnable/Callable's Note that there is a pre-built ThreadPoolTaskExecutor that allows for defining a java.util.concurrent.ThreadPoolExecutor in bean style, exposing it as a Spring org.springframework.core.task.TaskExecutor directly. This is a convenient alternative to a raw ThreadPoolExecutor definition with a separate definition of the present adapter class. |
org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator |
Wrap a org.springframework.web.socket.WebSocketSession to guarantee only one thread can send messages at a time. If a send is slow, subsequent attempts to send more messages from other threads will not be able to acquire the flush lock and messages will be buffered instead. At that time, the specified buffer-size limit and send-time limit will be checked and the session will be closed if the limits are exceeded. |
org.springframework.context.annotation.Conditional |
Indicates that a component is only eligible for registration when all specified conditions match. A condition is any state that can be determined programmatically before the bean definition is due to be registered (see Condition for details). The
If a NOTE: Inheritance of |
org.springframework.core.convert.converter.ConditionalConverter |
Allows a Converter, GenericConverter or ConverterFactory to conditionally execute based on attributes of the Often used to selectively match custom conversion logic based on the presence of a field or class-level characteristic, such as an annotation or method. For example, when converting from a String field to a Date field, an implementation might return As another example, when converting from a String field to an |
org.springframework.mail.javamail.ConfigurableMimeFileTypeMap |
Spring-configurable The mapping file should be in the following format, as specified by the Java Activation Framework: Lines starting with # are treated as comments and are ignored. All other lines are treated as mappings. Each mapping line should contain the MIME type as the first entry and then each file extension to map to that MIME type as subsequent entries. Each entry is separated by spaces or tabs.
By default, the mappings in the Additional mappings can be added via the |
org.springframework.test.web.servlet.setup.ConfigurableMockMvcBuilder |
Defines common methods for building a |
org.springframework.beans.factory.aspectj.ConfigurableObject |
Marker interface for domain object that need DI through aspects. |
org.springframework.web.bind.support.ConfigurableWebBindingInitializer |
Convenient WebBindingInitializer for declarative configuration in a Spring application context. Allows for reusing pre-configured initializers with multiple controller/handlers. |
org.springframework.context.annotation.ConfigurationClassPostProcessor |
BeanFactoryPostProcessor used for bootstrapping processing of Configuration classes. Registered by default when using This post processor is |
org.springframework.context.annotation.ConfigurationCondition |
A Condition that offers more fine-grained control when used with |
org.springframework.jms.connection.ConnectionFactoryUtils |
Helper class for managing a JMS javax.jms.ConnectionFactory, in particular for obtaining transactional JMS resources for a given ConnectionFactory. Mainly for internal use within the framework. Used by org.springframework.jms.core.JmsTemplate as well as org.springframework.jms.listener.DefaultMessageListenerContainer. |
org.springframework.jca.cci.connection.ConnectionHolder |
Connection holder, wrapping a CCI Connection. CciLocalTransactionManager binds instances of this class to the thread, for a given ConnectionFactory. Note: This is an SPI class, not intended to be used by applications. |
org.springframework.messaging.simp.stomp.ConnectionLostException |
Raised when the connection for a STOMP session is lost rather than closed. |
org.springframework.jdbc.datasource.ConnectionProxy |
Subinterface of java.sql.Connection to be implemented by Connection proxies. Allows access to the underlying target Connection. This interface can be checked when there is a need to cast to a native JDBC Connection such as Oracle's OracleConnection. Alternatively, all such connections also support JDBC 4.0's |
org.springframework.jca.cci.connection.ConnectionSpecConnectionFactoryAdapter |
An adapter for a target CCI javax.resource.cci.ConnectionFactory, applying the given ConnectionSpec to every standard Can be used to proxy a target JNDI ConnectionFactory that does not have a ConnectionSpec configured. Client code can work with the ConnectionFactory without passing in a ConnectionSpec on every In the following example, client code can simply transparently work with the preconfigured "myConnectionFactory", implicitly accessing "myTargetConnectionFactory" with the specified user credentials.
If the "connectionSpec" is empty, this proxy will simply delegate to the standard |
org.springframework.jmx.support.ConnectorServerFactoryBean |
FactoryBean that creates a JSR-160 JMXConnectorServer, optionally registers it with the MBeanServer and then starts it. The The |
org.springframework.beans.factory.parsing.ConstructorArgumentEntry |
ParseState entry representing a (possibly indexed) constructor argument. |
org.aopalliance.intercept.ConstructorInterceptor |
Intercepts the construction of a new object. The user should implement the
|
org.springframework.expression.spel.ast.ConstructorReference |
Represents the invocation of a constructor. Either a constructor on a regular type or construction of an array. When an array is constructed, an initializer can be specified. Examples: new String('hello world') new int[]{1,2,3,4} new int[3] new int[3]{1,2,3} |
org.springframework.web.util.ContentCachingRequestWrapper |
javax.servlet.http.HttpServletRequest wrapper that caches all content read from the input stream and reader, and allows this content to be retrieved via a Used e.g. by org.springframework.web.filter.AbstractRequestLoggingFilter. Note: As of Spring Framework 5.0, this wrapper is built on the Servlet 3.1 API. |
org.springframework.web.util.ContentCachingResponseWrapper |
javax.servlet.http.HttpServletResponse wrapper that caches all content written to the output stream and writer, and allows this content to be retrieved via a Used e.g. by org.springframework.web.filter.ShallowEtagHeaderFilter. Note: As of Spring Framework 5.0, this wrapper is built on the Servlet 3.1 API. |
org.springframework.http.ContentDisposition |
Represent the Content-Disposition type and parameters as defined in RFC 2183. |
org.springframework.web.servlet.view.ContentNegotiatingViewResolver |
Implementation of ViewResolver that resolves a view based on the request file name or The This view resolver uses the requested MediaType to select a suitable View for a request. The requested media type is determined through the configured ContentNegotiationManager. Once the requested media type has been determined, this resolver queries each delegate view resolver for a View and determines if the requested media type is compatible with the view's content type). The most compatible view is returned. Additionally, this view resolver exposes the For example, if the request path is |
org.springframework.web.accept.ContentNegotiationManager |
Central class to determine requested MediaType for a request. This is done by delegating to a list of configured Also provides methods to look up file extensions for a media type. This is done by delegating to the list of configured |
org.springframework.web.accept.ContentNegotiationManagerFactoryBean |
Factory to create a As of 5.0 you can set the exact strategies to use via As an alternative you can also rely on the set of defaults described below which can be turned on or off or customized through the methods of this builder: Property Setter Underlying Strategy Default Setting#setFavorPathExtension PathExtensionContentNegotiationStrategy On favorParameter ParameterContentNegotiationStrategy Off ignoreAcceptHeader HeaderContentNegotiationStrategy On defaultContentType FixedContentNegotiationStrategy Not set defaultContentTypeStrategy ContentNegotiationStrategy Not set Note: if you must use URL-based content type resolution, the use of a query parameter is simpler and preferable to the use of a path extension since the latter can cause issues with URI variables, path parameters, and URI decoding. Consider setting #setFavorPathExtension to false or otherwise set the strategies to use explicitly via #setStrategies(List) .
|
org.springframework.test.web.servlet.result.ContentResultMatchers |
Factory for response content assertions. An instance of this class is typically accessed via |
org.springframework.web.reactive.resource.ContentVersionStrategy |
A |
org.springframework.web.servlet.resource.ContentVersionStrategy |
A |
org.springframework.context.annotation.ContextAnnotationAutowireCandidateResolver |
Complete implementation of the org.springframework.beans.factory.support.AutowireCandidateResolver strategy interface, providing support for qualifier annotations as well as for lazy resolution driven by the Lazy annotation in the |
org.springframework.test.context.cache.ContextCacheUtils |
Collection of utilities for working with ContextCache. |
org.springframework.web.context.ContextCleanupListener |
Web application listener that cleans up remaining disposable attributes in the ServletContext, i.e. attributes which implement DisposableBean and haven't been removed before. This is typically used for destroying objects in "application" scope, for which the lifecycle implies destruction at the very end of the web application's shutdown phase. |
org.springframework.context.event.ContextClosedEvent |
Event raised when an |
org.springframework.web.context.support.ContextExposingHttpServletRequest |
HttpServletRequest decorator that makes all Spring beans in a given WebApplicationContext accessible as request attributes, through lazy checking once an attribute gets accessed. |
org.springframework.test.context.ContextHierarchy |
The following JUnit-based examples demonstrate common configuration scenarios for integration tests that require the use of context hierarchies. Single Test Class with Context Hierarchy
Class Hierarchy with Implicit Parent Context
The following test classes define a context hierarchy within a test class hierarchy. Class Hierarchy with Merged Context Hierarchy Configuration
The following classes demonstrate the use of named hierarchy levels in order to merge the configuration for specific levels in a context hierarchy. Class Hierarchy with Overridden Context Hierarchy Configuration
In contrast to the previous example, this example demonstrates how to override the configuration for a given named level in a context hierarchy by setting the
As of Spring Framework 4.0, this annotation may be used as a meta-annotation to create custom composed annotations. |
org.springframework.scheduling.config.ContextLifecycleScheduledTaskRegistrar |
ScheduledTaskRegistrar subclass which redirects the actual scheduling of tasks to the |
org.springframework.web.context.ContextLoaderListener |
Bootstrap listener to start up and shut down Spring's root WebApplicationContext. Simply delegates to ContextLoader as well as to ContextCleanupListener. As of Spring 3.1, |
org.springframework.context.config.ContextNamespaceHandler |
org.springframework.beans.factory.xml.NamespaceHandler for the ' |
org.springframework.http.server.reactive.ContextPathCompositeHandler |
This is intended as a coarse-grained mechanism for delegating requests to one of several applications -- each represented by an |
org.springframework.context.event.ContextRefreshedEvent |
Event raised when an |
org.springframework.core.io.ContextResource |
Extended interface for a resource that is loaded from an enclosing 'context', e.g. from a javax.servlet.ServletContext but also from plain classpath paths or relative file system paths (specified without an explicit prefix, hence applying relative to the local ResourceLoader's context). |
org.springframework.context.event.ContextStartedEvent |
Event raised when an |
org.springframework.context.event.ContextStoppedEvent |
Event raised when an |
org.springframework.aop.support.ControlFlowPointcut |
Pointcut and method matcher for use in simple cflow-style pointcut. Note that evaluating such pointcuts is 10-15 times slower than evaluating normal pointcuts, but they are useful in some cases. |
org.springframework.web.bind.annotation.ControllerAdvice |
Specialization of Component for classes that declare ExceptionHandler, InitBinder, or ModelAttribute methods to be shared across multiple Classes with Note: For By default the methods in an |
org.springframework.web.method.ControllerAdviceBean |
Encapsulates information about an ControllerAdvice Spring-managed bean without necessarily requiring it to be instantiated. The |
org.springframework.core.convert.ConversionFailedException |
Exception to be thrown when an actual type conversion attempt fails. |
org.springframework.beans.ConversionNotSupportedException |
Exception thrown when no suitable editor or converter can be found for a bean property. |
org.springframework.web.servlet.handler.ConversionServiceExposingInterceptor |
Interceptor that places the configured ConversionService in request scope so it's available during request processing. The request attribute name is "org.springframework.core.convert.ConversionService", the value of Mainly for use within JSP tags such as the spring:eval tag. |
org.springframework.core.convert.support.ConversionServiceFactory |
A factory for common org.springframework.core.convert.ConversionService configurations. |
org.springframework.context.support.ConversionServiceFactoryBean |
A factory providing convenient access to a ConversionService configured with converters appropriate for most environments. Set the This implementation creates a DefaultConversionService. Subclasses may override Like all |
org.springframework.core.convert.ConverterNotFoundException |
Exception to be thrown when a suitable converter could not be found in a given conversion service. |
org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport |
Base class that can be used to implement a standard javax.websocket.Encoder and/or javax.websocket.Decoder. It provides encode and decode method implementations that delegate to a Spring ConversionService. By default, this class looks up a ConversionService registered in the Subclasses can extend this class and should also implement one or both of javax.websocket.Encoder and javax.websocket.Decoder. For convenience ConvertingEncoderDecoderSupport.BinaryEncoder, ConvertingEncoderDecoderSupport.BinaryDecoder, ConvertingEncoderDecoderSupport.TextEncoder and ConvertingEncoderDecoderSupport.TextDecoder subclasses are provided. Since JSR-356 only allows Encoder/Decoder to be registered by type, instances of this class are therefore managed by the WebSocket runtime, and do not need to be registered as Spring Beans. They can, however, by injected with Spring-managed dependencies via Autowired. Converters to convert between the |
org.springframework.core.convert.support.ConvertingPropertyEditorAdapter |
Adapter that exposes a java.beans.PropertyEditor for any given org.springframework.core.convert.ConversionService and specific target type. |
org.springframework.web.util.CookieGenerator |
Helper class for cookie generation, carrying cookie descriptor settings as bean properties and being able to add and remove cookie to/from a given response. Can serve as base class for components that generate specific cookies, such as CookieLocaleResolver and CookieThemeResolver. |
org.springframework.web.servlet.i18n.CookieLocaleResolver |
LocaleResolver implementation that uses a cookie sent back to the user in case of a custom setting, with a fallback to the specified default locale or the request's accept-header locale. This is particularly useful for stateless applications without user sessions. The cookie may optionally contain an associated time zone value as well; alternatively, you may specify a default time zone. Custom controllers can override the user's locale and time zone by calling |
org.springframework.test.web.servlet.result.CookieResultMatchers |
Factory for response cookie assertions. An instance of this class is typically accessed via |
org.springframework.web.servlet.theme.CookieThemeResolver |
ThemeResolver implementation that uses a cookie sent back to the user in case of a custom setting, with a fallback to the default theme. This is particularly useful for stateless applications without user sessions. Custom controllers can thus override the user's theme by calling |
org.springframework.web.reactive.result.method.annotation.CookieValueMethodArgumentResolver |
Resolve method arguments annotated with An |
org.springframework.web.server.session.CookieWebSessionIdResolver |
Cookie-based WebSessionIdResolver. |
org.springframework.web.servlet.config.CorsBeanDefinitionParser |
org.springframework.beans.factory.xml.BeanDefinitionParser that parses a |
org.springframework.web.filter.CorsFilter |
javax.servlet.Filter that handles CORS preflight requests and intercepts CORS simple and actual requests thanks to a CorsProcessor implementation (DefaultCorsProcessor by default) in order to add the relevant CORS response headers (like This is an alternative to Spring MVC Java config and XML namespace CORS configuration, useful for applications depending only on spring-web (not on spring-webmvc) or for security constraints requiring CORS checks to be performed at javax.servlet.Filter level. This filter could be used in conjunction with DelegatingFilterProxy in order to help with its initialization. |
org.springframework.web.reactive.config.CorsRegistration |
Assists with the creation of a CorsConfiguration instance mapped to a path pattern. By default all origins, headers, and credentials for |
org.springframework.web.servlet.config.annotation.CorsRegistration |
Assists with the creation of a CorsConfiguration instance mapped to a path pattern. By default all origins, headers, and credentials for |
org.springframework.web.cors.CorsUtils |
Utility class for CORS request handling based on the CORS W3C recommandation. |
org.springframework.web.cors.reactive.CorsUtils |
Utility class for CORS reactive request handling based on the CORS W3C recommendation. |
org.springframework.web.cors.reactive.CorsWebFilter |
WebFilter that handles CORS preflight requests and intercepts CORS simple and actual requests thanks to a CorsProcessor implementation (DefaultCorsProcessor by default) in order to add the relevant CORS response headers (like This is an alternative to Spring WebFlux Java config CORS configuration, mostly useful for applications using the functional API. |
org.springframework.scheduling.support.CronSequenceGenerator |
Date sequence generator for a Crontab pattern, allowing clients to specify a pattern that the sequence matches. The pattern is a list of six single space-separated fields: representing second, minute, hour, day, month, weekday. Month and weekday names can be given as the first three letters of the English names. Example patterns:
|
org.springframework.scheduling.config.CronTask |
TriggerTask implementation defining a |
org.springframework.scheduling.quartz.CronTriggerFactoryBean |
A Spring FactoryBean for creating a Quartz org.quartz.CronTrigger instance, supporting bean-style usage for trigger configuration.
This class will also register the trigger with the job name and group of a given org.quartz.JobDetail. This allows SchedulerFactoryBean to automatically register a trigger for the corresponding JobDetail, instead of registering the JobDetail separately. |
org.springframework.web.bind.annotation.CrossOrigin |
Marks the annotated method or type as permitting cross origin requests. By default all origins and headers are permitted, credentials are not allowed, and the maximum age is set to 1800 seconds (30 minutes). The list of HTTP methods is set to the methods on the NOTE: |
org.springframework.web.reactive.resource.CssLinkResourceTransformer |
A ResourceTransformer implementation that modifies links in a CSS file to match the public URL paths that should be exposed to clients (e.g. with an MD5 content-based hash inserted in the URL). The implementation looks for links in CSS |
org.springframework.web.servlet.resource.CssLinkResourceTransformer |
A ResourceTransformer implementation that modifies links in a CSS file to match the public URL paths that should be exposed to clients (e.g. with an MD5 content-based hash inserted in the URL). The implementation looks for links in CSS |
org.springframework.beans.propertyeditors.CurrencyEditor |
Editor for |
org.springframework.format.number.money.CurrencyUnitFormatter |
Formatter for JSR-354 javax.money.CurrencyUnit values, from and to currency code Strings. |
org.springframework.beans.factory.annotation.CustomAutowireConfigurer |
A org.springframework.beans.factory.config.BeanFactoryPostProcessor implementation that allows for convenient registration of custom autowire qualifier types.
|
org.springframework.beans.propertyeditors.CustomBooleanEditor |
Property editor for Boolean/boolean properties. This is not meant to be used as system PropertyEditor but rather as locale-specific Boolean editor within custom controller code, to parse UI-caused boolean strings into boolean properties of beans and check them in the UI form. In web MVC code, this editor will typically be registered with |
org.springframework.beans.propertyeditors.CustomCollectionEditor |
Property editor for Collections, converting any source Collection to a given target Collection type. By default registered for Set, SortedSet and List, to automatically convert any given Collection to one of those target types if the type does not match the target property. |
org.springframework.beans.propertyeditors.CustomDateEditor |
Property editor for This is not meant to be used as system PropertyEditor but rather as locale-specific date editor within custom controller code, parsing user-entered number strings into Date properties of beans and rendering them in the UI form. In web MVC code, this editor will typically be registered with |
org.springframework.beans.factory.config.CustomEditorConfigurer |
BeanFactoryPostProcessor implementation that allows for convenient registration of custom PropertyEditor. In case you want to register PropertyEditor instances, the recommended usage as of Spring 2.0 is to use custom PropertyEditorRegistrar implementations that in turn register any desired editor instances on a given org.springframework.beans.PropertyEditorRegistry. Each PropertyEditorRegistrar can register any number of custom editors.
It's perfectly fine to register PropertyEditor classes via the
Note, that you shouldn't register PropertyEditor bean instances via the Also supports "java.lang.String[]"-style array class names and primitive class names (e.g. "boolean"). Delegates to ClassUtils for actual class name resolution. NOTE: Custom property editors registered with this configurer do not apply to data binding. Custom editors for data binding need to be registered on the org.springframework.validation.DataBinder: Use a common base class or delegate to common PropertyEditorRegistrar implementations to reuse editor registration there. |
org.springframework.beans.propertyeditors.CustomMapEditor |
Property editor for Maps, converting any source Map to a given target Map type. |
org.springframework.beans.propertyeditors.CustomNumberEditor |
Property editor for any Number subclass such as Short, Integer, Long, BigInteger, Float, Double, BigDecimal. Can use a given NumberFormat for (locale-specific) parsing and rendering, or alternatively the default This is not meant to be used as system PropertyEditor but rather as locale-specific number editor within custom controller code, parsing user-entered number strings into Number properties of beans and rendering them in the UI form. In web MVC code, this editor will typically be registered with |
org.springframework.jdbc.support.CustomSQLErrorCodesTranslation |
JavaBean for holding custom JDBC error codes translation for a particular database. The "exceptionClass" property defines which exception will be thrown for the list of error codes specified in the errorCodes property. |
org.springframework.jdbc.support.CustomSQLExceptionTranslatorRegistrar |
Registry for registering custom org.springframework.jdbc.support.SQLExceptionTranslator instances for specific databases. |
org.springframework.jdbc.support.CustomSQLExceptionTranslatorRegistry |
Registry for custom org.springframework.jdbc.support.SQLExceptionTranslator instances associated with specific databases allowing for overriding translation based on values contained in the configuration file named "sql-error-codes.xml". |
org.springframework.beans.factory.config.CustomScopeConfigurer |
Simple BeanFactoryPostProcessor implementation that registers custom Scope with the containing ConfigurableBeanFactory. Will register all of the supplied This class allows for declarative registration of custom scopes. Alternatively, consider implementing a custom BeanFactoryPostProcessor that calls |
org.springframework.validation.beanvalidation.CustomValidatorBean |
Configurable bean class that exposes a specific JSR-303 Validator through its original interface as well as through the Spring org.springframework.validation.Validator interface. |
org.springframework.aop.interceptor.CustomizableTraceInterceptor |
Trace messages are written on method entry, and if the method invocation succeeds on method exit. If an invocation results in an exception, then an exception message is written. The contents of these trace messages is fully customizable and special placeholders are available to allow you to include runtime information in your log messages. The placeholders available are:
There are restrictions on which placeholders can be used in which messages: see the individual message properties for details on the valid placeholders. |
org.springframework.jdbc.support.incrementer.DB2MainframeSequenceMaxValueIncrementer |
DataFieldMaxValueIncrementer that retrieves the next value of a given sequence on DB2/390 or DB2/400. Thanks to Jens Eickmeyer for the suggestion! |
org.springframework.jdbc.support.incrementer.DB2SequenceMaxValueIncrementer |
DataFieldMaxValueIncrementer that retrieves the next value of a given sequence on DB2 UDB (for Unix and Windows). Thanks to Mark MacMahon for the suggestion! |
org.springframework.dao.support.DataAccessUtils |
Miscellaneous utility methods for DAO implementations. Useful with any data access technology. |
org.springframework.core.codec.DataBufferDecoder |
Simple pass-through decoder for DataBuffers. Note that the "decoded" buffers returned by instances of this class should be released after usage by calling |
org.springframework.core.codec.DataBufferEncoder |
Simple pass-through encoder for DataBuffers. |
org.springframework.core.io.buffer.DataBufferFactory |
A factory for DataBuffers, allowing for allocation and wrapping of data buffers. |
org.springframework.core.io.buffer.DataBufferUtils |
Utility class for working with DataBuffers. |
org.springframework.jdbc.datasource.lookup.DataSourceLookupFailureException |
Exception to be thrown by a DataSourceLookup implementation, indicating that the specified DataSource could not be obtained. |
org.springframework.jdbc.datasource.DataSourceTransactionManager |
org.springframework.transaction.PlatformTransactionManager implementation for a single JDBC javax.sql.DataSource. This class is capable of working in any environment with any JDBC driver, as long as the setup uses a Note: The DataSource that this transaction manager operates on needs to return independent Connections. The Connections may come from a pool (the typical case), but the DataSource must not return thread-scoped / request-scoped Connections or the like. This transaction manager will associate Connections with thread-bound transactions itself, according to the specified propagation behavior. It assumes that a separate, independent Connection can be obtained even during an ongoing transaction. Application code is required to retrieve the JDBC Connection via Alternatively, you can allow application code to work with the standard Java EE-style lookup pattern Supports custom isolation levels, and timeouts which get applied as appropriate JDBC statement timeouts. To support the latter, application code must either use org.springframework.jdbc.core.JdbcTemplate, call Consider defining a LazyConnectionDataSourceProxy for your target DataSource, pointing both this transaction manager and your DAOs to it. This will lead to optimized handling of "empty" transactions, i.e. of transactions without any JDBC statements executed. A LazyConnectionDataSourceProxy will not fetch an actual JDBC Connection from the target DataSource until a Statement gets executed, lazily applying the specified transaction settings to the target Connection. This transaction manager supports nested transactions via the JDBC 3.0 java.sql.Savepoint mechanism. The This transaction manager can be used as a replacement for the org.springframework.transaction.jta.JtaTransactionManager in the single resource case, as it does not require a container that supports JTA, typically in combination with a locally defined JDBC DataSource (e.g. an Apache Commons DBCP connection pool). Switching between this local strategy and a JTA environment is just a matter of configuration! As of 4.3.4, this transaction manager triggers flush callbacks on registered transaction synchronizations (if synchronization is generally active), assuming resources operating on the underlying JDBC |
org.springframework.jdbc.datasource.init.DatabasePopulatorUtils |
Utility methods for executing a DatabasePopulator. |
org.springframework.jdbc.support.DatabaseStartupValidator |
Bean that checks if a database has already started up. To be referenced via "depends-on" from beans that depend on database startup, like a Hibernate SessionFactory or custom data access objects that access a DataSource directly. Useful to defer application initialization until a database has started up. Particularly appropriate for waiting on a slowly starting Oracle database. |
org.springframework.format.datetime.DateFormatter |
A formatter for java.util.Date types. Allows the configuration of an explicit date pattern and locale. |
org.springframework.format.datetime.DateFormatterRegistrar |
Configures basic date formatting for use with Spring, primarily for org.springframework.format.annotation.DateTimeFormat declarations. Applies to fields of type Date, Calendar and Designed for direct instantiation but also exposes the static |
org.springframework.format.datetime.standard.DateTimeContext |
A context that holds user-specific |
org.springframework.format.datetime.DateTimeFormatAnnotationFormatterFactory |
Formats fields annotated with the DateTimeFormat annotation using a DateFormatter. |
org.springframework.format.datetime.joda.DateTimeFormatterFactoryBean |
FactoryBean that creates a Joda-Time DateTimeFormatter. See the DateTimeFormatterFactory for configuration details. |
org.springframework.format.datetime.standard.DateTimeFormatterFactoryBean |
FactoryBean that creates a JSR-310 java.time.format.DateTimeFormatter. See the DateTimeFormatterFactory for configuration details. |
org.springframework.format.datetime.standard.DateTimeFormatterRegistrar |
Configures the JSR-310 |
org.springframework.format.datetime.joda.DateTimeParser |
Parses Joda DateTime instances using a DateTimeFormatter. |
org.springframework.jdbc.core.metadata.Db2CallMetaDataProvider |
DB2 specific implementation for the CallMetaDataProvider interface. This class is intended for internal use by the Simple JDBC classes. |
org.springframework.aop.interceptor.DebugInterceptor |
AOP Alliance Logs full invocation details on method entry and method exit, including invocation arguments and invocation count. This is only intended for debugging purposes; use |
org.springframework.http.codec.DecoderHttpMessageReader |
Also a |
org.springframework.core.codec.DecodingException |
Indicates an issue with decoding the input stream with a focus on content related issues such as a parse failure. As opposed to more general I/O errors, illegal state, or a CodecException such as a configuration issue that a Decoder may choose to raise. For example in server web application, a |
org.springframework.web.jsf.DecoratingNavigationHandler |
Base class for JSF NavigationHandler implementations that want to be capable of decorating an original NavigationHandler. Supports the standard JSF style of decoration (through a constructor argument) as well as an overloaded |
org.springframework.core.DecoratingProxy |
Interface to be implemented by decorating proxies, in particular Spring AOP proxies but potentially also custom proxies with decorator semantics. Note that this interface should just be implemented if the decorated class is not within the hierarchy of the proxy class to begin with. In particular, a "target-class" proxy such as a Spring AOP CGLIB proxy should not implement it since any lookup on the target class can simply be performed on the proxy class there anyway. Defined in the core module in order to allow #org.springframework.core.annotation.AnnotationAwareOrderComparator (and potential other candidates without spring-aop dependencies) to use it for introspection purposes, in particular annotation lookups. |
org.springframework.test.context.support.DefaultActiveProfilesResolver |
Default implementation of the ActiveProfilesResolver strategy that resolves active bean definition profiles based solely on profiles configured declaratively via |
org.springframework.aop.framework.adapter.DefaultAdvisorAdapterRegistry |
Default implementation of the AdvisorAdapterRegistry interface. Supports org.aopalliance.intercept.MethodInterceptor, org.springframework.aop.MethodBeforeAdvice, org.springframework.aop.AfterReturningAdvice, org.springframework.aop.ThrowsAdvice. |
org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator |
It's possible to filter out advisors - for example, to use multiple post processors of this type in the same factory - by setting the |
org.springframework.aop.framework.DefaultAdvisorChainFactory |
A simple but definitive way of working out an advice chain for a Method, given an Advised object. Always rebuilds each advice chain; caching can be provided by subclasses. |
org.springframework.aop.framework.DefaultAopProxyFactory |
Default AopProxyFactory implementation, creating either a CGLIB proxy or a JDK dynamic proxy. Creates a CGLIB proxy if one the following is true for a given AdvisedSupport instance:
In general, specify |
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader |
Default implementation of the BeanDefinitionDocumentReader interface that reads bean definitions according to the "spring-beans" DTD and XSD format (Spring's default XML bean definition format). The structure, elements, and attribute names of the required XML document are hard-coded in this class. (Of course a transform could be run if necessary to produce this format). |
org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor |
Concrete BeanFactory-based PointcutAdvisor that allows for any Advice to be configured as reference to an Advice bean in the BeanFactory, as well as the Pointcut to be configured through a bean property. Specifying the name of an advice bean instead of the advice object itself (if running within a BeanFactory) increases loose coupling at initialization time, in order to not initialize the advice object until the pointcut actually matches. |
org.springframework.beans.factory.support.DefaultBeanNameGenerator |
Default implementation of the BeanNameGenerator interface, delegating to |
org.springframework.validation.DefaultBindingErrorProcessor |
Default BindingErrorProcessor implementation. Uses the "required" error code and the field name to resolve message codes for a missing field error. Creates a |
org.springframework.test.context.support.DefaultBootstrapContext |
Default implementation of the BootstrapContext interface. |
org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate |
Default implementation of the CacheAwareContextLoaderDelegate interface. To use a static |
org.springframework.http.codec.support.DefaultClientCodecConfigurer |
Default implementation of ClientCodecConfigurer. |
org.springframework.messaging.converter.DefaultContentTypeResolver |
A default ContentTypeResolver that checks the The header value is expected to be a org.springframework.util.MimeType or a |
org.springframework.test.context.cache.DefaultContextCache |
Default implementation of the ContextCache API. Uses a synchronized Map configured with a maximum size and a least recently used (LRU) eviction policy to cache ApplicationContext instances. The maximum size may be supplied as a constructor argument or set via a system property or Spring property named |
org.springframework.web.cors.DefaultCorsProcessor |
The default implementation of CorsProcessor, as defined by the CORS W3C recommendation. Note that when input CorsConfiguration is |
org.springframework.web.cors.reactive.DefaultCorsProcessor |
The default implementation of CorsProcessor, as defined by the CORS W3C recommendation. Note that when input CorsConfiguration is |
org.springframework.web.bind.support.DefaultDataBinderFactory |
Create a WebRequestDataBinder instance and initialize it with a WebBindingInitializer. |
org.springframework.core.io.buffer.DefaultDataBufferFactory |
Default implementation of the |
org.springframework.beans.factory.xml.DefaultDocumentLoader |
Spring's default DocumentLoader implementation. Simply loads Document using the standard JAXP-configured XML parser. If you want to change the DocumentBuilder that is used to load documents, then one strategy is to define a corresponding Java system property when starting your JVM. For example, to use the Oracle DocumentBuilder, you might start your application like as follows:
|
org.springframework.context.event.DefaultEventListenerFactory |
Default EventListenerFactory implementation that supports the regular EventListener annotation. Used as "catch-all" implementation by default. |
org.springframework.format.support.DefaultFormattingConversionService |
A specialization of FormattingConversionService configured by default with converters and formatters appropriate for most applications. Designed for direct instantiation but also exposes the static Automatically registers formatters for JSR-354 Money & Currency, JSR-310 Date-Time and/or Joda-Time, depending on the presence of the corresponding API on the classpath. |
org.springframework.aop.support.DefaultIntroductionAdvisor |
Simple org.springframework.aop.IntroductionAdvisor implementation that by default applies to any class. |
org.springframework.cache.jcache.interceptor.DefaultJCacheOperationSource |
The default JCacheOperationSource implementation delegating default operations to configurable services with sensible defaults when not present. |
org.springframework.jms.config.DefaultJcaListenerContainerFactory |
A JmsListenerContainerFactory implementation to build a JCA-based JmsMessageEndpointManager. |
org.springframework.jms.listener.endpoint.DefaultJmsActivationSpecFactory |
Default implementation of the JmsActivationSpecFactory interface. Supports the standard JMS properties as defined by the JCA 1.5 specification, as well as Spring's extended "maxConcurrency" and "prefetchSize" settings through autodetection of well-known vendor-specific provider properties. An ActivationSpec factory is effectively dependent on the concrete JMS provider, e.g. on ActiveMQ. This default implementation simply guesses the ActivationSpec class name from the provider's class name ("ActiveMQResourceAdapter" -> "ActiveMQActivationSpec" in the same package, or "ActivationSpecImpl" in the same package as the ResourceAdapter class), and populates the ActivationSpec properties as suggested by the JCA 1.5 specification (Appendix B). Specify the 'activationSpecClass' property explicitly if these default naming rules do not apply. Note: ActiveMQ, JORAM and WebSphere are supported in terms of extended settings (through the detection of their bean property naming conventions). The default ActivationSpec class detection rules may apply to other JMS providers as well. Thanks to Agim Emruli and Laurie Chan for pointing out WebSphere MQ settings and contributing corresponding tests! |
org.springframework.jms.config.DefaultJmsListenerContainerFactory |
A JmsListenerContainerFactory implementation to build a regular DefaultMessageListenerContainer. This should be the default for most users and a good transition paths for those that are used to build such container definition manually. |
org.springframework.orm.jpa.DefaultJpaDialect |
Default implementation of the JpaDialect interface. Used as default dialect by JpaTransactionManager. Simply begins a standard JPA transaction in NOTE: Spring's JPA support requires JPA 2.1 or higher, as of Spring 5.0. |
org.springframework.context.support.DefaultLifecycleProcessor |
Default implementation of the LifecycleProcessor strategy. |
org.springframework.scheduling.concurrent.DefaultManagedAwareThreadFactory |
JNDI-based variant of CustomizableThreadFactory, performing a default lookup for JSR-236's "java:comp/DefaultManagedThreadFactory" in a Java EE 7 environment, falling back to the local CustomizableThreadFactory setup if not found. This is a convenient way to use managed threads when running in a Java EE 7 environment, simply using regular local threads otherwise - without conditional setup (i.e. without profiles). Note: This class is not strictly JSR-236 based; it can work with any regular java.util.concurrent.ThreadFactory that can be found in JNDI. Therefore, the default JNDI name "java:comp/DefaultManagedThreadFactory" can be customized through the |
org.springframework.scheduling.concurrent.DefaultManagedTaskExecutor |
JNDI-based variant of ConcurrentTaskExecutor, performing a default lookup for JSR-236's "java:comp/DefaultManagedExecutorService" in a Java EE 7 environment. Note: This class is not strictly JSR-236 based; it can work with any regular java.util.concurrent.Executor that can be found in JNDI. The actual adapting to javax.enterprise.concurrent.ManagedExecutorService happens in the base class ConcurrentTaskExecutor itself. |
org.springframework.scheduling.concurrent.DefaultManagedTaskScheduler |
JNDI-based variant of ConcurrentTaskScheduler, performing a default lookup for JSR-236's "java:comp/DefaultManagedScheduledExecutorService" in a Java EE 7 environment. Note: This class is not strictly JSR-236 based; it can work with any regular java.util.concurrent.ScheduledExecutorService that can be found in JNDI. The actual adapting to javax.enterprise.concurrent.ManagedScheduledExecutorService happens in the base class ConcurrentTaskScheduler itself. |
org.springframework.validation.DefaultMessageCodesResolver |
Default implementation of the MessageCodesResolver interface. Will create two message codes for an object error, in the following order (when using the
Will create four message codes for a field specification, in the following order:
For example, in case of code "typeMismatch", object name "user", field "age":
This resolution algorithm thus can be leveraged for example to show specific messages for binding errors like "required" and "typeMismatch":
In case of array, List or java.util.Map properties, both codes for specific elements and for the whole collection are generated. Assuming a field "name" of an array "groups" in object "user":
By default the In order to group all codes into a specific category within your resource bundles, e.g. "validation.typeMismatch.name" instead of the default "typeMismatch.name", consider specifying a |
org.springframework.context.support.DefaultMessageSourceResolvable |
Default implementation of the MessageSourceResolvable interface. Offers an easy way to store all the necessary values needed to resolve a message via a org.springframework.context.MessageSource. |
org.springframework.test.web.servlet.setup.DefaultMockMvcBuilder |
A concrete implementation of AbstractMockMvcBuilder that provides the WebApplicationContext supplied to it as a constructor argument. In addition, if the ServletContext in the supplied |
org.springframework.web.multipart.support.DefaultMultipartHttpServletRequest |
Default implementation of the org.springframework.web.multipart.MultipartHttpServletRequest interface. Provides management of pre-generated parameter values. Used by org.springframework.web.multipart.commons.CommonsMultipartResolver. |
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver |
Default implementation of the NamespaceHandlerResolver interface. Resolves namespace URIs to implementation classes based on the mappings contained in mapping file. By default, this implementation looks for the mapping file at |
org.springframework.aop.support.DefaultPointcutAdvisor |
Convenient Pointcut-driven Advisor implementation. This is the most commonly used Advisor implementation. It can be used with any pointcut and advice type, except for introductions. There is normally no need to subclass this class, or to implement custom Advisors. |
org.springframework.core.io.support.DefaultPropertySourceFactory |
The default implementation for PropertySourceFactory, wrapping every resource in a ResourcePropertySource. |
org.springframework.remoting.support.DefaultRemoteInvocationExecutor |
Default implementation of the RemoteInvocationExecutor interface. Simply delegates to RemoteInvocation's invoke method. |
org.springframework.remoting.support.DefaultRemoteInvocationFactory |
Default implementation of the RemoteInvocationFactory interface. Simply creates a new standard RemoteInvocation object. |
org.springframework.test.web.client.DefaultRequestExpectation |
Default implementation of |
org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator |
RequestToViewNameTranslator that simply transforms the URI of the incoming request into a view name. Can be explicitly defined as the The default transformation simply strips leading and trailing slashes as well as the file extension of the URI, and returns the result as the view name with the configured The stripping of the leading slash and file extension can be disabled using the Find below some examples of request to view name translation.
|
org.springframework.aop.scope.DefaultScopedObject |
Default implementation of the ScopedObject interface. Simply delegates the calls to the underlying ConfigurableBeanFactory ( |
org.springframework.http.codec.support.DefaultServerCodecConfigurer |
Default implementation of ServerCodecConfigurer. |
org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler |
An HttpRequestHandler for serving static files using the Servlet container's "default" Servlet. This handler is intended to be used with a "/*" mapping when the org.springframework.web.servlet.DispatcherServlet is mapped to "/", thus overriding the Servlet container's default handling of static resources. The mapping to this handler should generally be ordered as the last in the chain so that it will only execute when no other more specific mappings (i.e., to controllers) can be matched. Requests are handled by forwarding through the RequestDispatcher obtained via the name specified through the |
org.springframework.web.bind.support.DefaultSessionAttributeStore |
Default implementation of the SessionAttributeStore interface, storing the attributes in the WebRequest session (i.e. HttpSession or PortletSession). |
org.springframework.messaging.simp.stomp.DefaultStompSession |
Default implementation of ConnectionHandlingStompSession. |
org.springframework.test.context.support.DefaultTestContext |
Default implementation of the TestContext interface. |
org.springframework.test.context.support.DefaultTestContextBootstrapper |
Default implementation of the TestContextBootstrapper SPI. Uses DelegatingSmartContextLoader as the default ContextLoader. |
org.springframework.core.style.DefaultToStringStyler |
Spring's default This class is used by ToStringCreator to style |
org.springframework.transaction.support.DefaultTransactionDefinition |
Default implementation of the TransactionDefinition interface, offering bean-style configuration and sensible default values (PROPAGATION_REQUIRED, ISOLATION_DEFAULT, TIMEOUT_DEFAULT, readOnly=false). Base class for both TransactionTemplate and org.springframework.transaction.interceptor.DefaultTransactionAttribute. |
org.springframework.web.util.DefaultUriBuilderFactory |
Default implementation of UriBuilderFactory providing options to pre-configure all UriBuilder instances with common properties such as a base URI, encoding mode, and default URI variables. Uses UriComponentsBuilder for URI building. |
org.springframework.web.util.DefaultUriTemplateHandler |
Default implementation of UriTemplateHandler based on the use of UriComponentsBuilder for expanding and encoding variables. There are also several properties to customize how URI template handling is performed, including a |
org.springframework.core.style.DefaultValueStyler |
Converts objects to String form, generally for debugging purposes, using Spring's Uses the reflective visitor pattern underneath the hood to nicely encapsulate styling algorithms for each type of styled object. |
org.springframework.web.server.handler.DefaultWebFilterChain |
Default implementation of WebFilterChain. |
org.springframework.context.annotation.DeferredImportSelector |
A variation of ImportSelector that runs after all Implementations can also extend the org.springframework.core.Ordered interface or use the org.springframework.core.annotation.Order annotation to indicate a precedence against other DeferredImportSelectors. |
org.springframework.web.servlet.mvc.method.annotation.DeferredResultMethodReturnValueHandler |
Handler for return values of type DeferredResult, ListenableFuture, and CompletionStage. |
org.springframework.web.context.request.async.DeferredResultProcessingInterceptorAdapter |
Abstract adapter class for the DeferredResultProcessingInterceptor interface for simplified implementation of individual methods. |
org.springframework.aop.support.DelegatePerTargetObjectIntroductionInterceptor |
Convenient implementation of the org.springframework.aop.IntroductionInterceptor interface. This differs from DelegatingIntroductionInterceptor in that a single instance of this class can be used to advise multiple target objects, and each target object will have its own delegate (whereas DelegatingIntroductionInterceptor shares the same delegate, and hence the same state across all targets). The An instance of this class is serializable if the delegates are. Note: There are some implementation similarities between this class and DelegatingIntroductionInterceptor that suggest a possible refactoring to extract a common ancestor class in the future. |
org.springframework.jms.connection.DelegatingConnectionFactory |
javax.jms.ConnectionFactory implementation that delegates all calls to a given target javax.jms.ConnectionFactory, adapting specific This class allows for being subclassed, with subclasses overriding only those methods (such as Can also be defined as-is, wrapping a specific target ConnectionFactory, using the "shouldStopConnections" flag to indicate whether Connections obtained from the target factory are supposed to be stopped before closed. The latter may be necessary for some connection pools that simply return released connections to the pool, not stopping them while they sit in the pool. |
org.springframework.web.filter.DelegatingFilterProxy |
Proxy for a standard Servlet Filter, delegating to a Spring-managed bean that implements the Filter interface. Supports a "targetBeanName" filter init-param in
This approach is particularly useful for Filter implementation with complex setup needs, allowing to apply the full Spring bean definition machinery to Filter instances. Alternatively, consider standard Filter setup in combination with looking up service beans from the Spring root application context. NOTE: The lifecycle methods defined by the Servlet Filter interface will by default not be delegated to the target bean, relying on the Spring application context to manage the lifecycle of that bean. Specifying the "targetFilterLifecycle" filter init-param as "true" will enforce invocation of the As of Spring 3.1, This class was originally inspired by Spring Security's |
org.springframework.aop.support.DelegatingIntroductionInterceptor |
Convenient implementation of the org.springframework.aop.IntroductionInterceptor interface. Subclasses merely need to extend this class and implement the interfaces to be introduced themselves. In this case the delegate is the subclass instance itself. Alternatively a separate delegate may implement the interface, and be set via the delegate bean property. Delegates or subclasses may implement any number of interfaces. All interfaces except IntroductionInterceptor are picked up from the subclass or delegate by default. The An instance of this class is serializable if the delegate is. |
org.springframework.scheduling.quartz.DelegatingJob |
Simple Quartz org.quartz.Job adapter that delegates to a given java.lang.Runnable instance. Typically used in combination with property injection on the Runnable instance, receiving parameters from the Quartz JobDataMap that way instead of via the JobExecutionContext. |
org.springframework.context.support.DelegatingMessageSource |
Empty MessageSource that delegates all calls to the parent MessageSource. If no parent is available, it simply won't resolve any message. Used as placeholder by AbstractApplicationContext, if the context doesn't define its own MessageSource. Not intended for direct use in applications. |
org.springframework.web.jsf.DelegatingNavigationHandlerProxy |
JSF NavigationHandler implementation that delegates to a NavigationHandler bean obtained from the Spring root WebApplicationContext. Configure this handler proxy in your By default, the Spring ApplicationContext will be searched for the NavigationHandler under the bean name "jsfNavigationHandler". In the simplest case, this is a plain Spring bean definition like the following. However, all of Spring's bean configuration power can be applied to such a bean, in particular all flavors of dependency injection. The target NavigationHandler bean will typically extend the standard JSF NavigationHandler class. However, note that decorating the original NavigationHandler (the JSF provider's default handler) is not supported in such a scenario, since we can't inject the original handler in standard JSF style (that is, as constructor argument).
For decorating the original NavigationHandler, make sure that your target bean extends Spring's DecoratingNavigationHandler class. This allows to pass in the original handler as method argument, which this proxy automatically detects. Note that a DecoratingNavigationHandler subclass will still work as standard JSF NavigationHandler as well! This proxy may be subclassed to change the bean name used to search for the navigation handler, change the strategy used to obtain the target handler, or change the strategy used to access the ApplicationContext (normally obtained via |
org.springframework.web.jsf.DelegatingPhaseListenerMulticaster |
JSF PhaseListener implementation that delegates to one or more Spring-managed PhaseListener beans coming from the Spring root WebApplicationContext. Configure this listener multicaster in your The multicaster will delegate all beforePhase and afterPhase events to all target PhaseListener beans. By default, those will simply be obtained by type: All beans in the Spring root WebApplicationContext that implement the PhaseListener interface will be fetched and invoked.
Note: This multicaster's This multicaster may be subclassed to change the strategy used to obtain the listener beans, or to change the strategy used to access the ApplicationContext (normally obtained via |
org.springframework.mock.web.DelegatingServletInputStream |
Delegating implementation of javax.servlet.ServletInputStream. Used by MockHttpServletRequest; typically not directly used for testing application controllers. |
org.springframework.mock.web.DelegatingServletOutputStream |
Delegating implementation of javax.servlet.ServletOutputStream. Used by MockHttpServletResponse; typically not directly used for testing application controllers. |
org.springframework.test.context.support.DelegatingSmartContextLoader |
|
org.springframework.ui.context.support.DelegatingThemeSource |
Empty ThemeSource that delegates all calls to the parent ThemeSource. If no parent is available, it simply won't resolve any theme. Used as placeholder by UiApplicationContextUtils, if a context doesn't define its own ThemeSource. Not intended for direct use in applications. |
org.springframework.scheduling.commonj.DelegatingTimerListener |
Simple TimerListener adapter that delegates to a given Runnable. |
org.springframework.transaction.support.DelegatingTransactionDefinition |
TransactionDefinition implementation that delegates all calls to a given target TransactionDefinition instance. Abstract because it is meant to be subclassed, with subclasses overriding specific methods that are not supposed to simply delegate to the target instance. |
org.springframework.test.web.servlet.htmlunit.DelegatingWebConnection |
Implementation of WebConnection that allows delegating to various For example, if you host your JavaScript on the domain
|
org.springframework.web.socket.config.annotation.DelegatingWebSocketConfiguration |
A variation of WebSocketConfigurationSupport that detects implementations of WebSocketConfigurer in Spring configuration and invokes them in order to configure WebSocket request handling. |
org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration |
A WebSocketMessageBrokerConfigurationSupport extension that detects beans of type WebSocketMessageBrokerConfigurer and delegates to all of them allowing callback style customization of the configuration provided in WebSocketMessageBrokerConfigurationSupport. This class is typically imported via EnableWebSocketMessageBroker. |
org.springframework.scheduling.commonj.DelegatingWork |
Simple Work adapter that delegates to a given Runnable. |
org.springframework.jca.work.DelegatingWork |
Simple Work adapter that delegates to a given Runnable. |
org.springframework.web.bind.annotation.DeleteMapping |
Annotation for mapping HTTP Specifically, |
org.springframework.context.annotation.DependsOn |
Beans on which the current bean depends. Any beans specified are guaranteed to be created by the container before this bean. Used infrequently in cases where a bean does not explicitly depend on another through properties or constructor arguments, but rather depends on the side effects of another bean's initialization. May be used on any class directly or indirectly annotated with org.springframework.stereotype.Component or on methods annotated with Bean. Using DependsOn at the class level has no effect unless component-scanning is being used. If a DependsOn-annotated class is declared via XML, DependsOn annotation metadata is ignored, and |
org.springframework.beans.factory.config.DeprecatedBeanWarner |
Bean factory post processor that logs a warning for Deprecated beans. |
org.springframework.jdbc.core.metadata.DerbyCallMetaDataProvider |
Derby specific implementation for the CallMetaDataProvider interface. This class is intended for internal use by the Simple JDBC classes. |
org.springframework.jdbc.support.incrementer.DerbyMaxValueIncrementer |
DataFieldMaxValueIncrementer that increments the maximum value of a given Derby table with the equivalent of an auto-increment column. Note: If you use this class, your Derby key column should NOT be defined as an IDENTITY column, as the sequence table does the job. The sequence is kept in a table. There should be one sequence table per table that needs an auto-generated key. Derby requires an additional column to be used for the insert since it is impossible to insert a null into the identity column and have the value generated. This is solved by providing the name of a dummy column that also must be created in the sequence table. Example: If "cacheSize" is set, the intermediate values are served without querying the database. If the server or your application is stopped or crashes or a transaction is rolled back, the unused values will never be served. The maximum hole size in numbering is consequently the value of cacheSize. HINT: Since Derby supports the JDBC 3.0 getGeneratedKeys method, it is recommended to use IDENTITY columns directly in the tables and then utilizing a org.springframework.jdbc.support.KeyHolder when calling the with the update(PreparedStatementCreator psc, KeyHolder generatedKeyHolder) method of the org.springframework.jdbc.core.JdbcTemplate.
Thanks to Endre Stolsvik for the suggestion! |
org.springframework.jdbc.core.metadata.DerbyTableMetaDataProvider |
The Derby specific implementation of the org.springframework.jdbc.core.metadata.TableMetaDataProvider. Overrides the Derby metadata info regarding retrieving generated keys. It seems to work OK so not sure why they claim it's not supported. |
org.springframework.context.annotation.Description |
Adds a textual description to bean definitions derived from org.springframework.stereotype.Component or Bean. |
org.springframework.core.serializer.support.DeserializingConverter |
A Converter that delegates to a org.springframework.core.serializer.Deserializer to convert data in a byte array to an object. |
org.springframework.messaging.handler.DestinationPatternsMessageCondition |
A MessageCondition for matching the destination of a Message against one or more destination patterns using a PathMatcher. |
org.springframework.jms.support.destination.DestinationResolutionException |
Thrown by a DestinationResolver when it cannot resolve a destination name. |
org.springframework.messaging.core.DestinationResolutionException |
Thrown by a DestinationResolver when it cannot resolve a destination. |
org.springframework.messaging.simp.user.DestinationUserNameProvider |
A java.security.Principal can also implement this contract when |
org.springframework.messaging.handler.annotation.DestinationVariable |
Annotation that indicates a method parameter should be bound to a template variable in a destination template string. Supported on message handling methods such as MessageMapping. A |
org.springframework.messaging.handler.annotation.support.DestinationVariableMethodArgumentResolver |
Resolves method parameters annotated with org.springframework.messaging.handler.annotation.DestinationVariable. |
org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor |
Subinterface of BeanPostProcessor that adds a before-destruction callback. The typical usage will be to invoke custom destruction callbacks on specific bean types, matching corresponding initialization callbacks. |
org.springframework.web.context.request.DestructionCallbackBindingListener |
Adapter that implements the Servlet HttpSessionBindingListener interface, wrapping a session destruction callback. |
org.springframework.util.DigestUtils |
Miscellaneous methods for calculating digests. Mainly for internal use within the framework; consider Apache Commons Codec for a more comprehensive suite of digest utilities. |
org.springframework.beans.DirectFieldAccessor |
ConfigurablePropertyAccessor implementation that directly accesses instance fields. Allows for direct binding to fields instead of going through JavaBean setters. As of Spring 4.2, the vast majority of the BeanWrapper features have been merged to AbstractPropertyAccessor, which means that property traversal as well as collections and map access is now supported here as well. A DirectFieldAccessor's default for the "extractOldValueForEditor" setting is "true", since a field can always be read without side effects. |
org.springframework.validation.DirectFieldBindingResult |
Special implementation of the Errors and BindingResult interfaces, supporting registration and evaluation of binding errors on value objects. Performs direct field access instead of going through JavaBean getters. Since Spring 4.1 this implementation is able to traverse nested fields. |
org.springframework.test.annotation.DirtiesContext |
Test annotation which indicates that the org.springframework.context.ApplicationContext associated with a test is dirty and should therefore be closed and removed from the context cache. Use this annotation if a test has modified the context — for example, by modifying the state of a singleton bean, modifying the state of an embedded database, etc. Subsequent tests that request the same context will be supplied a new context.
As of Spring Framework 4.0, this annotation may be used as a meta-annotation to create custom composed annotations. Supported Test Phases
|
org.springframework.test.context.junit.jupiter.DisabledIf |
When applied at the class level, all test methods within that class are automatically disabled as well. For basic examples, see the Javadoc for This annotation may be used as a meta-annotation to create custom composed annotations. For example, a custom
|
org.springframework.web.servlet.handler.DispatcherServletWebRequest |
ServletWebRequest subclass that is aware of org.springframework.web.servlet.DispatcherServlet's request context, such as the Locale determined by the configured org.springframework.web.servlet.LocaleResolver. |
org.springframework.beans.factory.xml.DocumentDefaultsDefinition |
Simple JavaBean that holds the defaults specified at the |
org.springframework.util.xml.DomUtils |
Convenience methods for working with the DOM API, in particular for working with DOM Nodes and DOM Elements. |
org.springframework.jdbc.datasource.DriverManagerDataSource |
Simple implementation of the standard JDBC javax.sql.DataSource interface, configuring the plain old JDBC java.sql.DriverManager via bean properties, and returning a new java.sql.Connection from every NOTE: This class is not an actual connection pool; it does not actually pool Connections. It just serves as simple replacement for a full-blown connection pool, implementing the same standard interface, but creating new Connections on every call. Useful for test or standalone environments outside of a Java EE container, either as a DataSource bean in a corresponding ApplicationContext or in conjunction with a simple JNDI environment. Pool-assuming NOTE: Within special class loading environments such as OSGi, this class is effectively superseded by SimpleDriverDataSource due to general class loading issues with the JDBC DriverManager that be resolved through direct Driver usage (which is exactly what SimpleDriverDataSource does). In a Java EE container, it is recommended to use a JNDI DataSource provided by the container. Such a DataSource can be exposed as a DataSource bean in a Spring ApplicationContext via org.springframework.jndi.JndiObjectFactoryBean, for seamless switching to and from a local DataSource bean like this class. For tests, you can then either set up a mock JNDI environment through Spring's org.springframework.mock.jndi.SimpleNamingContextBuilder, or switch the bean definition to a local DataSource (which is simpler and thus recommended). If you need a "real" connection pool outside of a Java EE container, consider Apache Commons DBCP or C3P0. Commons DBCP's BasicDataSource and C3P0's ComboPooledDataSource are full connection pool beans, supporting the same basic properties as this class plus specific settings (such as minimal/maximal pool size etc). |
org.springframework.dao.DuplicateKeyException |
Exception thrown when an attempt to insert or update data results in violation of an primary key or unique constraint. Note that this is not necessarily a purely relational concept; unique primary keys are required by most database types. |
org.springframework.aop.support.DynamicMethodMatcherPointcut |
Convenient superclass when we want to force subclasses to implement MethodMatcher interface, but subclasses will want to be pointcuts. The getClassFilter() method can be overriden to customize ClassFilter behaviour as well. |
org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter |
org.springframework.orm.jpa.JpaVendorAdapter implementation for Eclipse Persistence Services (EclipseLink). Developed and tested against EclipseLink 2.4. Exposes EclipseLink's persistence provider and EntityManager extension interface, and adapts AbstractJpaVendorAdapter's common configuration settings. No support for the detection of annotated packages (through |
org.springframework.cache.ehcache.EhCacheCache |
Cache implementation on top of an Ehcache instance. |
org.springframework.cache.ehcache.EhCacheCacheManager |
CacheManager backed by an EhCache net.sf.ehcache.CacheManager. |
org.springframework.cache.ehcache.EhCacheFactoryBean |
FactoryBean that creates a named EhCache net.sf.ehcache.Cache instance (or a decorator that implements the net.sf.ehcache.Ehcache interface), representing a cache region within an EhCache net.sf.ehcache.CacheManager. If the specified named cache is not configured in the cache configuration descriptor, this FactoryBean will construct an instance of a Cache with the provided name and the specified cache properties and add it to the CacheManager for later retrieval. If some or all properties are not set at configuration time, this FactoryBean will use defaults. Note: If the named Cache instance is found, the properties will be ignored and the Cache instance will be retrieved from the CacheManager. Note: As of Spring 5.0, Spring's EhCache support requires EhCache 2.10 or higher. |
org.springframework.cache.ehcache.EhCacheManagerFactoryBean |
FactoryBean that exposes an EhCache net.sf.ehcache.CacheManager instance (independent or shared), configured from a specified config location. If no config location is specified, a CacheManager will be configured from "ehcache.xml" in the root of the class path (that is, default EhCache initialization - as defined in the EhCache docs - will apply). Setting up a separate EhCacheManagerFactoryBean is also advisable when using EhCacheFactoryBean, as it provides a (by default) independent CacheManager instance and cares for proper shutdown of the CacheManager. EhCacheManagerFactoryBean is also necessary for loading EhCache configuration from a non-default config location. Note: As of Spring 5.0, Spring's EhCache support requires EhCache 2.10 or higher. |
org.springframework.cache.ehcache.EhCacheManagerUtils |
Convenient builder methods for EhCache 2.5+ CacheManager setup, providing easy programmatic bootstrapping from a Spring-provided resource. This is primarily intended for use within These methods are a simple alternative to custom CacheManager setup code. For any advanced purposes, consider using |
org.springframework.jca.cci.object.EisOperation |
Base class for EIS operation objects that work with the CCI API. Encapsulates a CCI ConnectionFactory and a CCI InteractionSpec. Works with a CciTemplate instance underneath. EIS operation objects are an alternative to working with a CciTemplate directly. |
org.springframework.transaction.annotation.Ejb3TransactionAnnotationParser |
Strategy implementation for parsing EJB3's javax.ejb.TransactionAttribute annotation. |
org.springframework.ejb.access.EjbAccessException |
Exception that gets thrown when an EJB stub cannot be accessed properly. |
org.springframework.expression.spel.ast.Elvis |
Represents the elvis operator ?:. For an expression "a?:b" if a is not null, the value of the expression is "a", if a is null then the value of the expression is "b". |
org.springframework.jdbc.datasource.embedded.EmbeddedDatabase |
An |
org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder |
A builder that provides a convenient API for constructing an embedded database. Usage Example
|
org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurer |
|
org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory |
Factory for creating an EmbeddedDatabase instance. Callers are guaranteed that the returned database has been fully initialized and populated. The factory can be configured as follows:
After configuring the factory, call |
org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactoryBean |
A subclass of EmbeddedDatabaseFactory that implements FactoryBean for registration as a Spring bean. Returns the actual DataSource that provides connectivity to the embedded database to Spring. The target DataSource is returned instead of an EmbeddedDatabase proxy since the FactoryBean will manage the initialization and destruction lifecycle of the embedded database instance. Implements DisposableBean to shutdown the embedded database when the managing Spring container is being closed. |
org.springframework.context.support.EmbeddedValueResolutionSupport |
Convenient base class for components with a need for embedded value resolution (i.e. org.springframework.context.EmbeddedValueResolverAware consumers). |
org.springframework.beans.factory.config.EmbeddedValueResolver |
StringValueResolver adapter for resolving placeholders and expressions against a ConfigurableBeanFactory. Note that this adapter resolves expressions as well, in contrast to the |
org.springframework.context.EmbeddedValueResolverAware |
Interface to be implemented by any object that wishes to be notified of a StringValueResolver for the resolution of embedded definition values.
This is an alternative to a full ConfigurableBeanFactory dependency via the ApplicationContextAware/BeanFactoryAware interfaces. |
org.springframework.beans.factory.parsing.EmptyReaderEventListener |
Empty implementation of the ReaderEventListener interface, providing no-op implementations of all callback methods. |
org.springframework.dao.EmptyResultDataAccessException |
Data access exception thrown when a result was expected to have at least one row (or element) but zero rows (or elements) were actually returned. |
org.springframework.jdbc.core.namedparam.EmptySqlParameterSource |
A simple empty implementation of the SqlParameterSource interface. |
org.springframework.aop.target.EmptyTargetSource |
Canonical |
org.springframework.context.annotation.EnableAspectJAutoProxy |
Enables support for handling components marked with AspectJ's Where FooService is a typical POJO component and MyAspect is an @Aspect -style aspect: In the scenario above, @EnableAspectJAutoProxy ensures that MyAspect will be properly processed and that FooService will be proxied mixing in the advice that it contributes.
Users can control the type of proxy that gets created for
Note that Then use the @ComponentScan annotation to pick both up:
|
org.springframework.scheduling.annotation.EnableAsync |
Enables Spring's asynchronous method execution capability, similar to functionality found in Spring's To be used together with @Configuration classes as follows, enabling annotation-driven async processing for an entire Spring application context: MyAsyncBean is a user-defined type with one or more methods annotated with either Spring's @Async annotation, the EJB 3.1 @javax.ejb.Asynchronous annotation, or any custom annotation specified via the #annotation attribute. The aspect is added transparently for any registered bean, for instance via this configuration:
By default, Spring will be searching for an associated thread pool definition: either a unique org.springframework.core.task.TaskExecutor bean in the context, or an java.util.concurrent.Executor bean named "taskExecutor" otherwise. If neither of the two is resolvable, a org.springframework.core.task.SimpleAsyncTaskExecutor will be used to process async method invocations. Besides, annotated methods having a To customize all this, implement AsyncConfigurer and provide:
If only one item needs to be customized, Note: In the above example the For reference, the example above can be compared to the following Spring XML configuration: The above XML-based and JavaConfig-based examples are equivalent except for the setting of the thread name prefix of the Executor ; this is because the <task:executor> element does not expose such an attribute. This demonstrates how the JavaConfig-based approach allows for maximum configurability through direct access to actual componentry.
The Note that if the #mode is set to |
org.springframework.jms.annotation.EnableJms |
Enable JMS listener annotated endpoints that are created under the cover by a org.springframework.jms.config.JmsListenerContainerFactory. To be used on org.springframework.context.annotation.Configuration classes as follows: The JmsListenerContainerFactory is responsible to create the listener container responsible for a particular endpoint. Typical implementations, as the org.springframework.jms.config.DefaultJmsListenerContainerFactory used in the sample above, provides the necessary configuration options that are supported by the underlying org.springframework.jms.listener.MessageListenerContainer.
The container factory to use is identified by the containerFactory attribute defining the name of the JmsListenerContainerFactory bean to use. When none is set a JmsListenerContainerFactory bean with name jmsListenerContainerFactory is assumed to be present.
the following configuration would ensure that every time a javax.jms.Message is received on the javax.jms.Destination named "myQueue", Alternatively, if MyService were annotated with @Component , the following configuration would ensure that its @JmsListener annotated method is invoked with a matching incoming message: Note that the created containers are not registered against the application context but can be easily located for management purposes using the org.springframework.jms.config.JmsListenerEndpointRegistry.
Annotated methods can use flexible signature; in particular, it is possible to use the org.springframework.messaging.Message abstraction and related annotations, see JmsListener Javadoc for more details. For instance, the following would inject the content of the message and a custom "myCounter" JMS header: These features are abstracted by the org.springframework.messaging.handler.annotation.support.MessageHandlerMethodFactory that is responsible to build the necessary invoker to process the annotated method. By default, org.springframework.messaging.handler.annotation.support.DefaultMessageHandlerMethodFactory is used.
When more control is desired, a For reference, the example above can be compared to the following Spring XML configuration: It is also possible to specify a custom org.springframework.jms.config.JmsListenerEndpointRegistry in case you need more control on the way the containers are created and managed. The example below also demonstrates how to customize the JmsHandlerMethodFactory to use with a custom org.springframework.validation.Validator so that payloads annotated with org.springframework.validation.annotation.Validated are first validated against a custom Validator . For reference, the example above can be compared to the following Spring XML configuration: Implementing JmsListenerConfigurer also allows for fine-grained control over endpoints registration via the JmsListenerEndpointRegistrar . For example, the following configures an extra endpoint: Note that all beans implementing JmsListenerConfigurer will be detected and invoked in a similar fashion. The example above can be translated in a regular bean definition registered in the context in case you use the XML configuration.
|
org.springframework.context.annotation.EnableLoadTimeWeaving |
Activates a Spring LoadTimeWeaver for this application context, available as a bean with the name "loadTimeWeaver", similar to the To be used on @org.springframework.context.annotation.Configuration classes; the simplest possible example of which follows: The example above is equivalent to the following Spring XML configuration: The LoadTimeWeaverAware interface Any bean that implements the interface will then receive the LoadTimeWeaver reference automatically; for example, Spring's JPA bootstrap support. Customizing the LoadTimeWeaver The default weaver is determined automatically: see DefaultContextLoadTimeWeaver.
To customize the weaver used, the
The example above can be compared to the following Spring XML configuration:
The code example differs from the XML example in that it actually instantiates the #aspectjWeaving() attribute, which will cause the to be registered through LoadTimeWeaver#addTransformer . AspectJ weaving will be activated by default if a "META-INF/aop.xml" resource is present on the classpath. Example:
The example above can be compared to the following Spring XML configuration:
The two examples are equivalent with one significant exception: in the XML case, the functionality of |
org.springframework.context.annotation.EnableMBeanExport |
Enables default exporting of all standard The resulting org.springframework.jmx.export.MBeanExporter bean is defined under the name "mbeanExporter". Alternatively, consider defining a custom AnnotationMBeanExporter bean explicitly. This annotation is modeled after and functionally equivalent to Spring XML's |
org.springframework.scheduling.annotation.EnableScheduling |
Enables Spring's scheduled task execution capability, similar to functionality found in Spring's This enables detection of @Scheduled annotations on any Spring-managed bean in the container. For example, given a class MyTask the following configuration would ensure that MyTask.work() is called once every 1000 ms: Alternatively, if MyTask were annotated with @Component , the following configuration would ensure that its @Scheduled method is invoked at the desired interval: Methods annotated with @Scheduled may even be declared directly within @Configuration classes:
By default, will be searching for an associated scheduler definition: either a unique org.springframework.scheduling.TaskScheduler bean in the context, or a When more control is desired, a
Note in the example above the use of Implementing
For reference, the example above can be compared to the following Spring XML configuration: The examples are equivalent save that in XML a fixed-rate period is used instead of a custom Trigger implementation; this is because the task: namespace scheduled cannot easily expose such support. This is but one demonstration how the code-based approach allows for maximum configurability through direct access to actual componentry.
|
org.springframework.context.annotation.aspectj.EnableSpringConfigured |
Signals the current application context to apply dependency injection to non-managed classes that are instantiated outside of the Spring bean factory (typically classes annotated with the org.springframework.beans.factory.annotation.Configurable annotation). Similar to functionality found in Spring's |
org.springframework.transaction.annotation.EnableTransactionManagement |
Enables Spring's annotation-driven transaction management capability, similar to the support found in Spring's
For reference, the example above can be compared to the following Spring XML configuration: In both of the scenarios above, @EnableTransactionManagement and <tx:annotation-driven/> are responsible for registering the necessary Spring components that power annotation-driven transaction management, such as the TransactionInterceptor and the proxy- or AspectJ-based advice that weave the interceptor into the call stack when JdbcFooRepository 's @Transactional methods are invoked.
A minor difference between the two examples lies in the naming of the For those that wish to establish a more direct relationship between This approach may be desirable simply because it is more explicit, or it may be necessary in order to distinguish between two PlatformTransactionManager beans present in the same container. As the name suggests, the annotationDrivenTransactionManager() will be the one used for processing @Transactional methods. See TransactionManagementConfigurer Javadoc for further details.
The Note that if the #mode is set to |
org.springframework.web.reactive.config.EnableWebFlux |
Adding this annotation to an
To customize the imported configuration implement WebFluxConfigurer and override individual methods as shown below:
Note: only one If WebFluxConfigurer does not expose some more advanced setting that needs to be configured consider removing the |
org.springframework.web.servlet.config.annotation.EnableWebMvc |
Adding this annotation to an
To customize the imported configuration, implement the interface WebMvcConfigurer and override individual methods, e.g.:
Note: only one If WebMvcConfigurer does not expose some more advanced setting that needs to be configured consider removing the
|
org.springframework.web.socket.config.annotation.EnableWebSocket |
Add this annotation to an
Customize the imported configuration by implementing the WebSocketConfigurer interface:
|
org.springframework.web.socket.config.annotation.EnableWebSocketMessageBroker |
Add this annotation to an
Customize the imported configuration by implementing the WebSocketMessageBrokerConfigurer interface or more likely extend the convenient base class AbstractWebSocketMessageBrokerConfigurer:
|
org.springframework.test.context.junit.jupiter.EnabledIf |
When applied at the class level, all test methods within that class are automatically enabled by default as well. For basic examples, see the Javadoc for This annotation may be used as a meta-annotation to create custom composed annotations. For example, a custom
|
org.springframework.core.codec.EncodingException |
Indicates an issue with encoding the input Object stream with a focus on not being able to encode Objects. As opposed to a more general I/O errors or a CodecException such as a configuration issue that an Encoder may also choose to raise. |
org.springframework.web.socket.client.standard.EndpointConnectionManager |
A WebSocket connection manager that is given a URI, an Endpoint, connects to a WebSocket server through the |
org.springframework.orm.jpa.EntityManagerFactoryAccessor |
Base class for any class that needs to access a JPA EntityManagerFactory, usually in order to obtain a JPA EntityManager. Defines common properties. |
org.springframework.orm.jpa.EntityManagerHolder |
Holder wrapping a JPA EntityManager. JpaTransactionManager binds instances of this class to the thread, for a given EntityManagerFactory. Note: This is an SPI class, not intended to be used by applications. |
org.springframework.orm.jpa.EntityManagerProxy |
Subinterface of javax.persistence.EntityManager to be implemented by EntityManager proxies. Allows access to the underlying target EntityManager. This interface is mainly intended for framework usage. Application code should prefer the use of the |
org.springframework.web.reactive.function.server.EntityResponse |
Entity-specific subtype of ServerResponse that exposes entity data. |
org.springframework.context.expression.EnvironmentAccessor |
Read-only EL property accessor that knows how to retrieve keys of a Spring Environment instance. |
org.springframework.messaging.support.ErrorMessage |
A GenericMessage with a Throwable payload. The payload is typically a org.springframework.messaging.MessagingException with the message at the point of failure in its Consider some code that starts with a message, invokes some process that performs transformation on that message and then fails for some reason, throwing the exception. The exception is caught and an error message produced that contains both the original message, and the transformed message that failed. |
org.springframework.web.method.annotation.ErrorsMethodArgumentResolver |
Resolves Errors method arguments. An |
org.springframework.web.reactive.result.method.annotation.ErrorsMethodArgumentResolver |
Resolve Errors or BindingResult method arguments. An |
org.springframework.web.servlet.tags.form.ErrorsTag |
The This tag supports three main usage patterns:
Attribute Summary Attribute Required? Runtime Expression? Description cssClass false true HTML Optional Attribute cssStyle false true HTML Optional Attribute delimiter false true Delimiter for displaying multiple error messages. Defaults to the br tag. dir false true HTML Standard Attribute element false true Specifies the HTML element that is used to render the enclosing errors. htmlEscape false true Enable/disable HTML escaping of rendered values. id false true HTML Standard Attribute lang false true HTML Standard Attribute onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onkeydown false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onmousedown false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onmouseover false true HTML Event Attribute onmouseup false true HTML Event Attribute path false true Path to errors object for data binding tabindex false true HTML Standard Attribute title false true HTML Standard Attribute |
org.springframework.web.servlet.tags.EscapeBodyTag |
The Provides a "htmlEscape" property for explicitly specifying whether to apply HTML escaping. If not set, a page-level default (e.g. from the HtmlEscapeTag) or an application-wide default (the "defaultHtmlEscape" context-param in web.xml) is used. Provides a "javaScriptEscape" property for specifying whether to apply JavaScript escaping. Can be combined with HTML escaping or used standalone. Attribute Summary Attribute Required? Runtime Expression? Description htmlEscape false true Set HTML escaping for this tag, as boolean value. Overrides the default HTML escaping setting for the current page. javaScriptEscape false true Set JavaScript escaping for this tag, as boolean value. Default is false. |
org.springframework.web.bind.EscapedErrors |
Errors wrapper that adds automatic HTML escaping to the wrapped instance, for convenient usage in HTML views. Can be retrieved easily via RequestContext's Note that BindTag does not use this class to avoid unnecessary creation of ObjectError instances. It just escapes the messages and values that get copied into the respective BindStatus instance. |
org.springframework.web.servlet.tags.EvalTag |
The |
org.springframework.expression.EvaluationException |
Represent an exception that occurs during expression evaluation. |
org.springframework.context.event.EventListener |
Annotation that marks a method as a listener for application events. If an annotated method supports a single event type, the method may declare a single parameter that reflects the event type to listen to. If an annotated method supports multiple event types, this annotation may refer to one or more supported event types using the Events can be ApplicationEvent instances as well as arbitrary objects. Processing of Annotated methods may have a non- It is also possible to define the order in which listeners for a certain event are to be invoked. To do so, add Spring's common org.springframework.core.annotation.Order annotation alongside this event listener annotation. While it is possible for an event listener to declare that it throws arbitrary exception types, any checked exceptions thrown from an event listener will be wrapped in an java.lang.reflect.UndeclaredThrowableException since the event publisher can only handle runtime exceptions. |
org.springframework.context.event.EventListenerMethodProcessor |
Register EventListener annotated method as individual ApplicationListener instances. |
org.springframework.context.event.EventPublicationInterceptor |
MethodInterceptor that publishes an Note that this interceptor is only capable of publishing stateless events configured via the |
org.springframework.web.socket.sockjs.transport.handler.EventSourceTransportHandler |
A TransportHandler for sending messages via Server-Sent events: http://dev.w3.org/html5/eventsource/. |
org.springframework.core.ExceptionDepthComparator |
Comparator capable of sorting exceptions based on their depth from the thrown exception type. |
org.springframework.web.bind.annotation.ExceptionHandler |
Annotation for handling exceptions in specific handler classes and/or handler methods. Handler methods which are annotated with this annotation are allowed to have very flexible signatures. They may have parameters of the following types, in arbitrary order:
The following return types are supported for handler methods:
In Servlet environments, you can combine the |
org.springframework.web.method.annotation.ExceptionHandlerMethodResolver |
Discovers ExceptionHandler methods in a given class, including all of its superclasses, and helps to resolve a given Exception to the exception types supported by a given Method. |
org.springframework.web.server.handler.ExceptionHandlingWebHandler |
WebHandler decorator that invokes one or more WebExceptionHandlers after the delegate WebHandler. |
org.springframework.util.ExceptionTypeFilter |
An InstanceFilter implementation that handles exception types. A type will match against a given candidate if it is assignable to that candidate. |
org.springframework.web.socket.handler.ExceptionWebSocketHandlerDecorator |
An exception handling WebSocketHandlerDecorator. Traps all Throwable instances that escape from the decorated handler and closes the session with |
org.springframework.web.reactive.function.client.ExchangeFilterFunctions |
Implementations of ExchangeFilterFunction that provide various useful request filter operations, such as basic authentication, error handling, etc. |
org.springframework.web.reactive.function.client.ExchangeFunctions |
Exposes request-response exchange functionality, such as to create an |
org.springframework.test.web.reactive.server.ExchangeResult |
Container for request and response details for exchanges performed through WebTestClient. Note that a decoded response body is not exposed at this level since the body may not have been decoded and consumed yet. Sub-types EntityExchangeResult and FluxExchangeResult provide access to a decoded response entity and a decoded (but not consumed) response body respectively. |
org.springframework.scheduling.config.ExecutorBeanDefinitionParser |
Parser for the 'executor' element of the 'task' namespace. |
org.springframework.messaging.support.ExecutorChannelInterceptor |
An extension of ChannelInterceptor with callbacks to intercept the asynchronous sending of a org.springframework.messaging.Message to a specific subscriber through an java.util.concurrent.Executor. Supported on org.springframework.messaging.MessageChannel implementations that can be configured with an Executor. |
org.springframework.core.task.support.ExecutorServiceAdapter |
Adapter that takes a Spring org.springframework.core.task.TaskExecutor) and exposes a full This is primarily for adapting to client components that communicate via the NOTE: This ExecutorService adapter does not support the lifecycle methods in the |
org.springframework.messaging.support.ExecutorSubscribableChannel |
A SubscribableChannel that sends messages to each of its subscribers. |
org.springframework.mock.jndi.ExpectedLookupTemplate |
Simple extension of the JndiTemplate class that always returns a given object. Very useful for testing. Effectively a mock object. |
org.springframework.util.backoff.ExponentialBackOff |
Implementation of BackOff that increases the back off period for each retry attempt. When the interval has reached the Example: The default interval is {@value #DEFAULT_INITIAL_INTERVAL} ms, the default multiplier is {@value #DEFAULT_MULTIPLIER}, and the default max interval is {@value #DEFAULT_MAX_INTERVAL}. For 10 attempts the sequence will be as follows:
Note that the default max elapsed time is |
org.springframework.aop.interceptor.ExposeBeanNameAdvisors |
Convenient methods for creating advisors that may be used when autoproxying beans created with the Spring IoC container, binding the bean name to the current invocation. May support a Typically used in Spring auto-proxying, where the bean name is known at proxy creation time. |
org.springframework.aop.interceptor.ExposeInvocationInterceptor |
Interceptor that exposes the current org.aopalliance.intercept.MethodInvocation as a thread-local object. We occasionally need to do this; for example, when a pointcut (e.g. an AspectJ expression pointcut) needs to know the full invocation context. Don't use this interceptor unless this is really necessary. Target objects should not normally know about Spring AOP, as this creates a dependency on Spring API. Target objects should be plain POJOs as far as possible. If used, this interceptor will normally be the first in the interceptor chain. |
org.springframework.expression.ExpressionInvocationTargetException |
This exception wraps (as cause) a checked exception thrown by some method that SpEL invokes. It differs from a SpelEvaluationException because this indicates the occurrence of a checked exception that the invoked method was defined to throw. SpelEvaluationExceptions are for handling (and wrapping) unexpected exceptions. |
org.springframework.aop.support.ExpressionPointcut |
Interface to be implemented by pointcuts that use String expressions. |
org.springframework.expression.common.ExpressionUtils |
Common utility functions that may be used by any Expression Language provider. |
org.springframework.web.method.annotation.ExpressionValueMethodArgumentResolver |
Resolves method arguments annotated with An A WebDataBinder may be invoked to apply type conversion to resolved argument value. |
org.springframework.web.reactive.result.method.annotation.ExpressionValueMethodArgumentResolver |
Resolves method arguments annotated with An |
org.springframework.beans.ExtendedBeanInfoFactory |
BeanInfoFactory implementation that evaluates whether bean classes have "non-standard" JavaBeans setter methods and are thus candidates for introspection by Spring's (package-visible) Ordered at |
org.springframework.orm.jpa.ExtendedEntityManagerCreator |
Delegate for creating a variety of javax.persistence.EntityManager proxies that follow the JPA spec's semantics for "extended" EntityManagers. Supports several different variants of "extended" EntityManagers: in particular, an "application-managed extended EntityManager", as defined by The original difference between "application-managed" and "container-managed" was the need for explicit joining of an externally managed transaction through the |
org.springframework.web.servlet.mvc.method.annotation.ExtendedServletRequestDataBinder |
Subclass of ServletRequestDataBinder that adds URI template variables to the values used for data binding. |
org.springframework.web.client.ExtractingResponseErrorHandler |
Implementation of ResponseErrorHandler that uses HttpMessageConverters to convert HTTP error responses to RestClientException. To use this error handler, you must specify a status mapping and/or a series mapping. If either of these mappings has a match for the status code of a given If there is no match, this error handler will default to the behavior of DefaultResponseErrorHandler. Note that you can override this default behavior by specifying a series mapping from |
org.springframework.web.context.request.FacesWebRequest |
WebRequest adapter for a JSF javax.faces.context.FacesContext. Requires JSF 2.0 or higher, as of Spring 4.0. |
org.springframework.beans.factory.FactoryBeanNotInitializedException |
Exception to be thrown from a FactoryBean's Note: A circular reference with a FactoryBean cannot be solved by eagerly caching singleton instances like with normal beans. The reason is that every FactoryBean needs to be fully initialized before it can return the created bean, while only specific normal beans need to be initialized - that is, if a collaborating bean actually invokes them on initialization instead of just storing the reference. |
org.springframework.beans.factory.parsing.FailFastProblemReporter |
Simple ProblemReporter implementation that exhibits fail-fast behavior when errors are encountered. The first error encountered results in a BeanDefinitionParsingException being thrown. Warnings are written to |
org.springframework.util.FastByteArrayOutputStream |
A speedy alternative to java.io.ByteArrayOutputStream. Note that this variant does not extend Unlike java.io.ByteArrayOutputStream, this implementation is backed by a java.util.LinkedList of The initial buffer is only created when the stream is first written. There is also no copying of the internal buffer if its contents is extracted with the |
org.springframework.beans.FatalBeanException |
Thrown on an unrecoverable problem encountered in the beans packages or sub-packages, e.g. bad class or field. |
org.springframework.beans.factory.config.FieldRetrievingFactoryBean |
FactoryBean which retrieves a static or non-static field value. Typically used for retrieving public static final constants. Usage example:
If you are using Spring 2.0, you can also use the following style of configuration for public static fields.
|
org.springframework.util.FileCopyUtils |
Simple utility methods for file and stream copying. All copy methods use a block size of 4096 bytes, and close all affected streams when done. A variation of the copy methods from this class that leave streams open can be found in StreamUtils. Mainly for use within the framework, but also useful for application code. |
org.springframework.beans.propertyeditors.FileEditor |
Editor for Supports Spring-style URL notation: any fully qualified standard URL ("file:", "http:", etc) and Spring's special "classpath:" pseudo-URL. NOTE: The behavior of this editor has changed in Spring 2.0. Previously, it created a File instance directly from a filename. As of Spring 2.0, it takes a standard Spring resource location as input; this is consistent with URLEditor and InputStreamEditor now. NOTE: In Spring 2.5 the following modification was made. If a file name is specified without a URL prefix or without an absolute path then we try to locate the file using standard ResourceLoader semantics. If the file was not found, then a File instance is created assuming the file name refers to a relative file location. |
org.springframework.http.codec.multipart.FilePart |
Specialization of Part for a file upload. |
org.springframework.core.io.FileSystemResourceLoader |
ResourceLoader implementation that resolves plain paths as file system resources rather than as class path resources (the latter is DefaultResourceLoader's default strategy). NOTE: Plain paths will always be interpreted as relative to the current VM working directory, even if they start with a slash. (This is consistent with the semantics in a Servlet container.) Use an explicit "file:" prefix to enforce an absolute file path. org.springframework.context.support.FileSystemXmlApplicationContext is a full-fledged ApplicationContext implementation that provides the same resource path resolution strategy. |
org.springframework.util.FileSystemUtils |
Utility methods for working with the file system. |
org.springframework.context.support.FileSystemXmlApplicationContext |
Standalone XML application context, taking the context definition files from the file system or from URLs, interpreting plain paths as relative file system locations (e.g. "mydir/myfile.txt"). Useful for test harnesses as well as for standalone environments. NOTE: Plain paths will always be interpreted as relative to the current VM working directory, even if they start with a slash. (This is consistent with the semantics in a Servlet container.) Use an explicit "file:" prefix to enforce an absolute file path. The config location defaults can be overridden via Note: In case of multiple config locations, later bean definitions will override ones defined in earlier loaded files. This can be leveraged to deliberately override certain bean definitions via an extra XML file. This is a simple, one-stop shop convenience ApplicationContext. Consider using the GenericApplicationContext class in combination with an org.springframework.beans.factory.xml.XmlBeanDefinitionReader for more flexible context setup. |
org.springframework.core.io.FileUrlResource |
Subclass of UrlResource which assumes file resolution, to the degree of implementing the WritableResource interface for it. This is the class resolved by DefaultResourceLoader for a "file:..." URL location, allowing a downcast to WritableResource for it. Alternatively, for direct construction from a java.io.File handle, consider using FileSystemResource. For an NIO java.nio.file.Path, consider using PathResource instead. |
org.springframework.context.annotation.FilterType |
Enumeration of the type filters that may be used in conjunction with ComponentScan. |
org.springframework.web.server.handler.FilteringWebHandler |
WebHandler decorator that invokes a chain of WebFilters before the delegate WebHandler. |
org.springframework.util.backoff.FixedBackOff |
A simple BackOff implementation that provides a fixed interval between two attempts and a maximum number of retries. |
org.springframework.web.accept.FixedContentNegotiationStrategy |
A |
org.springframework.web.reactive.accept.FixedContentTypeResolver |
Resolver that always resolves to a fixed list of media types. This can be used as the "last in line" strategy providing a fallback for when the client has not requested any media types. |
org.springframework.messaging.tcp.FixedIntervalReconnectStrategy |
A simple strategy for making reconnect attempts at a fixed interval. |
org.springframework.web.server.i18n.FixedLocaleContextResolver |
LocaleContextResolver implementation that always returns a fixed default locale and optionally time zone. Default is the current JVM's default locale. Note: Does not support |
org.springframework.web.servlet.i18n.FixedLocaleResolver |
org.springframework.web.servlet.LocaleResolver implementation that always returns a fixed default locale and optionally time zone. Default is the current JVM's default locale. Note: Does not support |
org.springframework.web.servlet.theme.FixedThemeResolver |
org.springframework.web.servlet.ThemeResolver implementation that simply uses a fixed theme. The fixed name can be defined via the "defaultThemeName" property; out of the box, it is "theme". Note: Does not support |
org.springframework.web.reactive.resource.FixedVersionStrategy |
A This is useful for example when ContentVersionStrategy cannot be used such as when using JavaScript module loaders which are in charge of loading the JavaScript resources and need to know their relative paths. |
org.springframework.web.servlet.resource.FixedVersionStrategy |
A This is useful for example when ContentVersionStrategy cannot be used such as when using JavaScript module loaders which are in charge of loading the JavaScript resources and need to know their relative paths. |
org.springframework.test.web.servlet.result.FlashAttributeResultMatchers |
Factory for "output" flash attribute assertions. An instance of this class is typically accessed via |
org.springframework.expression.spel.ast.FloatLiteral |
Expression language AST node that represents a float literal. |
org.springframework.scheduling.concurrent.ForkJoinPoolFactoryBean |
A Spring FactoryBean that builds and exposes a preconfigured ForkJoinPool. For details on the ForkJoinPool API and its use with RecursiveActions, see the JDK 7 javadoc.
|
org.springframework.http.codec.multipart.FormFieldPart |
Specialization of Part for a form field. |
org.springframework.http.codec.FormHttpMessageReader |
Implementation of an HttpMessageReader to read HTML form data, i.e. request body with media type |
org.springframework.expression.spel.ast.FormatHelper |
Utility methods (formatters, etc) used during parsing and evaluation. |
org.springframework.format.support.FormatterPropertyEditorAdapter |
Adapter that bridges between Formatter and PropertyEditor. |
org.springframework.format.FormatterRegistrar |
Registers Converter and Formatter with a FormattingConversionService through the FormatterRegistry SPI. |
org.springframework.format.support.FormattingConversionService |
A org.springframework.core.convert.ConversionService implementation designed to be configured as a FormatterRegistry. |
org.springframework.format.support.FormattingConversionServiceFactoryBean |
A factory providing convenient access to a Additional converters and formatters can be registered declaratively through A good example for registering converters and formatters in code is Like all |
org.springframework.web.filter.ForwardedHeaderFilter |
Extract values from "Forwarded" and "X-Forwarded-*" headers in order to wrap and override the following from the request and response: Note: This filter can also be used in a |
org.springframework.web.filter.reactive.ForwardedHeaderFilter |
Extract values from "Forwarded" and "X-Forwarded-*" headers in order to change and override Note: This filter can also be used in a |
org.springframework.ui.freemarker.FreeMarkerConfigurationFactory |
Factory that configures a FreeMarker Configuration. Can be used standalone, but typically you will either use FreeMarkerConfigurationFactoryBean for preparing a Configuration as bean reference, or FreeMarkerConfigurer for web views. The optional "configLocation" property sets the location of a FreeMarker properties file, within the current application. FreeMarker properties can be overridden via "freemarkerSettings". All of these properties will be set by calling FreeMarker's The "freemarkerVariables" property can be used to specify a Map of shared variables that will be applied to the Configuration via the The simplest way to use this class is to specify a "templateLoaderPath"; FreeMarker does not need any further configuration then. Note: Spring's FreeMarker support requires FreeMarker 2.3 or higher. |
org.springframework.ui.freemarker.FreeMarkerConfigurationFactoryBean |
Factory bean that creates a FreeMarker Configuration and provides it as bean reference. This bean is intended for any kind of usage of FreeMarker in application code, e.g. for generating email content. For web views, FreeMarkerConfigurer is used to set up a FreeMarkerConfigurationFactory. The simplest way to use this class is to specify just a "templateLoaderPath"; you do not need any further configuration then. For example, in a web application context: See the base class FreeMarkerConfigurationFactory for configuration details.
Note: Spring's FreeMarker support requires FreeMarker 2.3 or higher. |
org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer |
JavaBean to configure FreeMarker for web usage, via the "configLocation" and/or "freemarkerSettings" and/or "templateLoaderPath" properties. The simplest way to use this class is to specify just a "templateLoaderPath"; you do not need any further configuration then. This bean must be included in the application context of any application using Spring's FreeMarkerView for web MVC. It exists purely to configure FreeMarker. It is not meant to be referenced by application components but just internally by FreeMarkerView. Implements FreeMarkerConfig to be found by FreeMarkerView without depending on the bean name the configurer. Each DispatcherServlet can define its own FreeMarkerConfigurer if desired.
Note that you can also refer to a preconfigured FreeMarker Configuration instance, for example one set up by FreeMarkerConfigurationFactoryBean, via the "configuration" property. This allows to share a FreeMarker Configuration for web and email usage, for example. This configurer registers a template loader for this package, allowing to reference the "spring.ftl" macro library (contained in this package and thus in spring.jar) like this: Note: Spring's FreeMarker support requires FreeMarker 2.3 or higher.
|
org.springframework.web.servlet.config.FreeMarkerConfigurerBeanDefinitionParser |
Parse the MVC namespace element and register FreeMarkerConfigurer bean |
org.springframework.web.reactive.result.view.freemarker.FreeMarkerView |
A Depends on a single FreeMarkerConfig object such as FreeMarkerConfigurer being accessible in the application context. Alternatively set the FreeMarker configuration can be set directly on this class via The Note: Spring's FreeMarker support requires FreeMarker 2.3 or higher. |
org.springframework.web.reactive.result.view.freemarker.FreeMarkerViewResolver |
A The view class for all views generated by this resolver can be specified via the "viewClass" property. See UrlBasedViewResolver for details. |
org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver |
Convenience subclass of org.springframework.web.servlet.view.UrlBasedViewResolver that supports FreeMarkerView (i.e. FreeMarker templates) and custom subclasses of it. The view class for all views generated by this resolver can be specified via the "viewClass" property. See UrlBasedViewResolver's javadoc for details. Note: When chaining ViewResolvers, a FreeMarkerViewResolver will check for the existence of the specified template resources and only return a non-null View object if the template was actually found. |
org.springframework.expression.spel.ast.FunctionReference |
A function reference is of the form "#someFunction(a,b,c)". Functions may be defined in the context prior to the expression being evaluated or within the expression itself using a lambda function definition. For example: Lambda function definition in an expression: "(#max = {|x,y|$x>$y?$x:$y};max(2,3))" Calling context defined function: "#isEven(37)". Functions may also be static java methods, registered in the context prior to invocation of the expression. Functions are very simplistic, the arguments are not part of the definition (right now), so the names must be unique. |
org.springframework.util.concurrent.FutureAdapter |
Abstract class that adapts a Future parameterized over S into a |
org.springframework.jdbc.support.GeneratedKeyHolder |
Default implementation of the KeyHolder interface, to be used for holding auto-generated keys (as potentially returned by JDBC insert statements). Create an instance of this class for each insert operation, and pass it to the corresponding org.springframework.jdbc.core.JdbcTemplate or {org.springframework.jdbc.object.SqlUpdate} methods. |
org.springframework.context.event.GenericApplicationListenerAdapter |
GenericApplicationListener adapter that determines supported event types through introspecting the generically declared type of the target listener. |
org.springframework.beans.factory.support.GenericBeanDefinition |
GenericBeanDefinition is a one-stop shop for standard bean definition purposes. Like any bean definition, it allows for specifying a class plus optionally constructor argument values and property values. Additionally, deriving from a parent bean definition can be flexibly configured through the "parentName" property. In general, use this |
org.springframework.context.support.GenericGroovyApplicationContext |
An org.springframework.context.ApplicationContext implementation that extends GenericApplicationContext and implements GroovyObject such that beans can be retrieved with the dot de-reference syntax instead of using Consider this as the equivalent of GenericXmlApplicationContext for Groovy bean definitions, or even an upgrade thereof since it seamlessly understands XML bean definition files as well. The main difference is that, within a Groovy script, the context can be used with an inline bean definition closure as follows:
Alternatively, load a Groovy bean definition script like the following from an external resource (e.g. an "applicationContext.groovy" file):
With the following Java code creating the
Or even more concise, provided that no extra configuration is needed:
This application context also understands XML bean definition files, allowing for seamless mixing and matching with Groovy bean definition files. ".xml" files will be parsed as XML content; all other kinds of resources will be parsed as Groovy scripts. |
org.springframework.test.context.support.GenericGroovyXmlContextLoader |
Concrete implementation of AbstractGenericContextLoader that reads bean definitions from Groovy scripts and XML configuration files. Default resource locations are detected using the suffixes |
org.springframework.test.context.web.GenericGroovyXmlWebContextLoader |
Concrete implementation of AbstractGenericWebContextLoader that loads bean definitions from Groovy scripts and XML configuration files. Default resource locations are detected using the suffixes |
org.springframework.messaging.converter.GenericMessageConverter |
An extension of the SimpleMessageConverter that uses a ConversionService to convert the payload of the message to the requested type. Return |
org.springframework.jca.endpoint.GenericMessageEndpointFactory |
Generic implementation of the JCA 1.7 javax.resource.spi.endpoint.MessageEndpointFactory interface, providing transaction management capabilities for any kind of message listener object (e.g. javax.jms.MessageListener objects or javax.resource.cci.MessageListener objects. Uses AOP proxies for concrete endpoint instances, simply wrapping the specified message listener object and exposing all of its implemented interfaces on the endpoint instance. Typically used with Spring's GenericMessageEndpointManager, but not tied to it. As a consequence, this endpoint factory could also be used with programmatic endpoint management on a native javax.resource.spi.ResourceAdapter instance. |
org.springframework.messaging.core.GenericMessagingTemplate |
A messaging template that resolves destinations names to MessageChannel's to send and receive messages from. |
org.springframework.test.context.support.GenericPropertiesContextLoader |
Concrete implementation of AbstractGenericContextLoader that reads bean definitions from Java Properties resources. |
org.springframework.jdbc.object.GenericSqlQuery |
A concrete variant of SqlQuery which can be configured with a RowMapper. |
org.springframework.jdbc.object.GenericStoredProcedure |
Concrete implementation making it possible to define the RDBMS stored procedures in an application context without writing a custom Java implementation class. This implementation does not provide a typed method for invocation so executions must use one of the generic |
org.springframework.beans.factory.support.GenericTypeAwareAutowireCandidateResolver |
Basic AutowireCandidateResolver that performs a full generic type match with the candidate's type if the dependency is declared as a generic type (e.g. Repository<Customer>). This is the base class for org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver, providing an implementation all non-annotation-based resolution steps at this level. |
org.springframework.core.GenericTypeResolver |
Helper class for resolving generic types against type variables. Mainly intended for usage within the framework, resolving method parameter types even when they are declared generically. |
org.springframework.oxm.GenericUnmarshaller |
Subinterface of Unmarshaller that has support for Java 5 generics. |
org.springframework.context.support.GenericXmlApplicationContext |
Convenient application context with built-in XML support. This is a flexible alternative to ClassPathXmlApplicationContext and FileSystemXmlApplicationContext, to be configured via setters, with an eventual In case of multiple configuration files, bean definitions in later files will override those defined in earlier files. This can be leveraged to intentionally override certain bean definitions via an extra configuration file appended to the list. |
org.springframework.web.bind.annotation.GetMapping |
Annotation for mapping HTTP Specifically, |
org.springframework.instrument.classloading.glassfish.GlassFishLoadTimeWeaver |
LoadTimeWeaver implementation for GlassFish's As of Spring Framework 5.0, this weaver supports GlassFish 4+. |
org.springframework.web.socket.server.standard.GlassFishRequestUpgradeStrategy |
A WebSocket |
org.springframework.aop.framework.adapter.GlobalAdvisorAdapterRegistry |
Singleton to publish a shared DefaultAdvisorAdapterRegistry instance. |
org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader |
A Groovy-based reader for Spring bean definitions: like a Groovy builder, but more of a DSL for Spring configuration. This bean definition reader also understands XML bean definition files, allowing for seamless mixing and matching with Groovy bean definition files. Typically applied to a org.springframework.beans.factory.support.DefaultListableBeanFactory or a org.springframework.context.support.GenericApplicationContext, but can be used against any BeanDefinitionRegistry implementation. Example Syntax
You can also load resources containing beans defined in a Groovy script using either the
|
org.springframework.web.servlet.view.groovy.GroovyMarkupConfig |
Interface to be implemented by objects that configure and manage a Groovy MarkupTemplateEngine for automatic lookup in a web environment. Detected and used by GroovyMarkupView. |
org.springframework.web.servlet.view.groovy.GroovyMarkupConfigurer |
An extension of Groovy's groovy.text.markup.TemplateConfiguration and an implementation of Spring MVC's GroovyMarkupConfig for creating a By default this bean will create a MarkupTemplateEngine with:
This bean must be included in the application context of any application using the Spring MVC GroovyMarkupView for rendering. It exists purely for the purpose of configuring Groovy's Markup templates. It is not meant to be referenced by application components directly. It implements GroovyMarkupConfig to be found by GroovyMarkupView without depending on a bean name. Each DispatcherServlet can define its own GroovyMarkupConfigurer if desired. Note that resource caching is enabled by default in MarkupTemplateEngine. Use the Spring's Groovy Markup template support requires Groovy 2.3.1 or higher. |
org.springframework.web.servlet.config.GroovyMarkupConfigurerBeanDefinitionParser |
Parse the MVC namespace element and register a GroovyConfigurer bean |
org.springframework.web.servlet.view.groovy.GroovyMarkupView |
An AbstractTemplateView subclass based on Groovy XML/XHTML markup templates. Spring's Groovy Markup Template support requires Groovy 2.3.1 and higher. |
org.springframework.web.servlet.view.groovy.GroovyMarkupViewResolver |
Convenience subclass of @link AbstractTemplateViewResolver} that supports GroovyMarkupView (i.e. Groovy XML/XHTML markup templates) and custom subclasses of it. The view class for all views created by this resolver can be specified via the Note: When chaining ViewResolvers this resolver will check for the existence of the specified template resources and only return a non-null View object if a template is actually found. |
org.springframework.scripting.groovy.GroovyScriptEvaluator |
Groovy-based implementation of Spring's ScriptEvaluator strategy interface. |
org.springframework.scripting.groovy.GroovyScriptFactory |
org.springframework.scripting.ScriptFactory implementation for a Groovy script. Typically used in combination with a org.springframework.scripting.support.ScriptFactoryPostProcessor; see the latter's javadoc for a configuration example. Note: Spring 4.0 supports Groovy 1.8 and higher. |
org.springframework.web.context.support.GroovyWebApplicationContext |
org.springframework.web.context.WebApplicationContext implementation which takes its configuration from Groovy bean definition scripts and/or XML files, as understood by an org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader. This is essentially the equivalent of org.springframework.context.support.GenericGroovyApplicationContext for a web environment. By default, the configuration will be taken from "/WEB-INF/applicationContext.groovy" for the root context, and "/WEB-INF/test-servlet.groovy" for a context with the namespace "test-servlet" (like for a DispatcherServlet instance with the servlet-name "test"). The config location defaults can be overridden via the "contextConfigLocation" context-param of org.springframework.web.context.ContextLoader and servlet init-param of org.springframework.web.servlet.FrameworkServlet. Config locations can either denote concrete files like "/WEB-INF/context.groovy" or Ant-style patterns like "/WEB-INF/*-context.groovy" (see org.springframework.util.PathMatcher javadoc for pattern details). Note that ".xml" files will be parsed as XML content; all other kinds of resources will be parsed as Groovy scripts. Note: In case of multiple config locations, later bean definitions will override ones defined in earlier loaded files. This can be leveraged to deliberately override certain bean definitions via an extra Groovy script. For a WebApplicationContext that reads in a different bean definition format, create an analogous subclass of AbstractRefreshableWebApplicationContext. Such a context implementation can be specified as "contextClass" context-param for ContextLoader or "contextClass" init-param for FrameworkServlet. |
org.springframework.http.converter.json.GsonBuilderUtils |
A simple utility class for obtaining a Google Gson 2.x GsonBuilder which Base64-encodes |
org.springframework.http.converter.json.GsonHttpMessageConverter |
Implementation of org.springframework.http.converter.HttpMessageConverter that can read and write JSON using the Google Gson library. This converter can be used to bind to typed beans or untyped Tested against Gson 2.6; compatible with Gson 2.0 and higher. |
org.springframework.web.reactive.resource.GzipResourceResolver |
A The resolver gets involved only if the "Accept-Encoding" request header contains the value "gzip" indicating the client accepts gzipped responses. |
org.springframework.web.servlet.resource.GzipResourceResolver |
A The resolver gets involved only if the "Accept-Encoding" request header contains the value "gzip" indicating the client accepts gzipped responses. |
org.springframework.jdbc.support.incrementer.H2SequenceMaxValueIncrementer |
DataFieldMaxValueIncrementer that retrieves the next value of a given H2 Database sequence. |
org.springframework.jdbc.core.metadata.HanaCallMetaDataProvider |
SAP HANA specific implementation for the CallMetaDataProvider interface. This class is intended for internal use by the Simple JDBC classes. |
org.springframework.web.reactive.HandlerAdapter |
Contract that decouples the DispatcherHandler from the details of invoking a handler and makes it possible to support any handler type. |
org.springframework.web.servlet.handler.HandlerExceptionResolverComposite |
A HandlerExceptionResolver that delegates to a list of other HandlerExceptionResolvers. |
org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver |
Strategy interface for resolving method parameters into argument values in the context of a given Message. |
org.springframework.web.method.support.HandlerMethodArgumentResolver |
Strategy interface for resolving method parameters into argument values in the context of a given request. |
org.springframework.web.reactive.result.method.HandlerMethodArgumentResolver |
Strategy to resolve the argument value for a method parameter in the context of the current HTTP request. |
org.springframework.web.reactive.result.method.HandlerMethodArgumentResolverSupport |
Base class for HandlerMethodArgumentResolver implementations with access to a |
org.springframework.messaging.handler.invocation.HandlerMethodReturnValueHandlerComposite |
A HandlerMethodReturnValueHandler that wraps and delegates to others. |
org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite |
Handles method return values by delegating to a list of registered HandlerMethodReturnValueHandlers. Previously resolved return types are cached for faster lookups. |
org.springframework.web.reactive.HandlerResultHandler |
Process the HandlerResult, usually returned by an HandlerAdapter. |
org.springframework.web.reactive.result.HandlerResultHandlerSupport |
Base class for org.springframework.web.reactive.HandlerResultHandler with support for content negotiation and access to a |
org.springframework.test.web.servlet.result.HandlerResultMatchers |
Factory for assertions on the selected handler or handler method. An instance of this class is typically accessed via Note: Expectations that assert the controller method used to process the request work only for requests processed with RequestMappingHandlerMapping and RequestMappingHandlerAdapter which is used by default with the Spring MVC Java config and XML namespace. |
org.springframework.web.socket.server.HandshakeFailureException |
Thrown when handshake processing failed to complete due to an internal, unrecoverable error. This implies a server error (HTTP status code 500) as opposed to a failure in the handshake negotiation. By contrast, when handshake negotiation fails, the response status code will be 200 and the response headers and body will have been updated to reflect the cause for the failure. A HandshakeHandler implementation will have protected methods to customize updates to the response in those cases. |
org.springframework.web.socket.server.support.HandshakeInterceptorChain |
A helper class that assists with invoking a list of handshake interceptors. |
org.springframework.web.reactive.socket.server.support.HandshakeWebSocketService |
|
org.springframework.web.accept.HeaderContentNegotiationStrategy |
A |
org.springframework.web.reactive.accept.HeaderContentTypeResolver |
Resolver that looks at the 'Accept' header of the request. |
org.springframework.messaging.handler.annotation.support.HeaderMethodArgumentResolver |
Resolves method parameters annotated with Header. |
org.springframework.test.web.servlet.result.HeaderResultMatchers |
Factory for response header assertions. An instance of this class is available via |
org.springframework.web.server.session.HeaderWebSessionIdResolver |
Request and response header-based WebSessionIdResolver. |
org.springframework.messaging.handler.annotation.Headers |
Annotation which indicates that a method parameter should be bound to the headers of a message. The annotated parameter must be assignable to java.util.Map with String keys and Object values. |
org.springframework.messaging.handler.annotation.support.HeadersMethodArgumentResolver |
Resolves the following method parameters:
|
org.springframework.remoting.caucho.HessianClientInterceptor |
org.aopalliance.intercept.MethodInterceptor for accessing a Hessian service. Supports authentication via username and password. The service URL must be an HTTP URL exposing a Hessian service. Hessian is a slim, binary RPC protocol. For information on Hessian, see the Hessian website Note: As of Spring 4.0, this client requires Hessian 4.0 or above. Note: There is no requirement for services accessed with this proxy factory to have been exported using Spring's HessianServiceExporter, as there is no special handling involved. As a consequence, you can also access services that have been exported using Caucho's com.caucho.hessian.server.HessianServlet. |
org.springframework.remoting.caucho.HessianExporter |
General stream-based protocol exporter for a Hessian endpoint. Hessian is a slim, binary RPC protocol. For information on Hessian, see the Hessian website. Note: As of Spring 4.0, this exporter requires Hessian 4.0 or above. |
org.springframework.remoting.caucho.HessianProxyFactoryBean |
FactoryBean for Hessian proxies. Exposes the proxied service for use as a bean reference, using the specified service interface. Hessian is a slim, binary RPC protocol. For information on Hessian, see the Hessian website Note: As of Spring 4.0, this proxy factory requires Hessian 4.0 or above. The service URL must be an HTTP URL exposing a Hessian service. For details, see the HessianClientInterceptor javadoc. |
org.springframework.remoting.caucho.HessianServiceExporter |
Servlet-API-based HTTP request handler that exports the specified service bean as Hessian service endpoint, accessible via a Hessian proxy. Note: Spring also provides an alternative version of this exporter, for Sun's JRE 1.6 HTTP server: SimpleHessianServiceExporter. Hessian is a slim, binary RPC protocol. For information on Hessian, see the Hessian website. Note: As of Spring 4.0, this exporter requires Hessian 4.0 or above. Hessian services exported with this class can be accessed by any Hessian client, as there isn't any special handling involved. |
org.springframework.transaction.HeuristicCompletionException |
Exception that represents a transaction failure caused by a heuristic decision on the side of the transaction coordinator. |
org.springframework.orm.hibernate5.HibernateCallback |
Callback interface for Hibernate code. To be used with HibernateTemplate's execution methods, often as anonymous classes within a method implementation. A typical implementation will call |
org.springframework.orm.hibernate5.support.HibernateDaoSupport |
Convenient super class for Hibernate-based data access objects. Requires a SessionFactory to be set, providing a org.springframework.orm.hibernate5.HibernateTemplate based on it to subclasses through the This class will create its own HibernateTemplate instance if a SessionFactory is passed in. The "allowCreate" flag on that HibernateTemplate will be "true" by default. A custom HibernateTemplate instance can be used through overriding NOTE: Hibernate access code can also be coded in plain Hibernate style. Hence, for newly started projects, consider adopting the standard Hibernate style of coding data access objects instead, based on |
org.springframework.orm.hibernate5.HibernateJdbcException |
Hibernate-specific subclass of UncategorizedDataAccessException, for JDBC exceptions that Hibernate wrapped. |
org.springframework.orm.jpa.vendor.HibernateJpaDialect |
org.springframework.orm.jpa.JpaDialect implementation for Hibernate EntityManager. Developed against Hibernate 5.0/5.1/5.2. |
org.springframework.orm.jpa.vendor.HibernateJpaSessionFactoryBean |
Simple Primarily available for resolving a SessionFactory by JPA persistence unit name via the Note that, for straightforward cases, you could also simply declare a factory method:
And as of JPA 2.1, Please note: Since Hibernate 5.2 changed its SessionFactory interface to extend JPA's EntityManagerFactory , you may get conflicts when injecting by type, with both the original factory and your custom SessionFactory matching EntityManagerFactory . An explicit qualifier for the original factory (as indicated above) is recommended here.
|
org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter |
org.springframework.orm.jpa.JpaVendorAdapter implementation for Hibernate EntityManager. Developed and tested against Hibernate 5.0, 5.1 and 5.2; backwards-compatible with Hibernate 4.3 at runtime on a best-effort basis. Exposes Hibernate's persistence provider and EntityManager extension interface, and adapts AbstractJpaVendorAdapter's common configuration settings. Also supports the detection of annotated packages (through |
org.springframework.orm.hibernate5.HibernateObjectRetrievalFailureException |
Hibernate-specific subclass of ObjectRetrievalFailureException. Converts Hibernate's UnresolvableObjectException and WrongClassException. |
org.springframework.orm.hibernate5.HibernateOptimisticLockingFailureException |
Hibernate-specific subclass of ObjectOptimisticLockingFailureException. Converts Hibernate's StaleObjectStateException, StaleStateException and OptimisticEntityLockException. |
org.springframework.orm.hibernate5.HibernateQueryException |
Hibernate-specific subclass of InvalidDataAccessResourceUsageException, thrown on invalid HQL query syntax. |
org.springframework.orm.hibernate5.HibernateSystemException |
Hibernate-specific subclass of UncategorizedDataAccessException, for Hibernate system errors that do not match any concrete |
org.springframework.orm.hibernate5.HibernateTransactionManager |
org.springframework.transaction.PlatformTransactionManager implementation for a single Hibernate SessionFactory. Binds a Hibernate Session from the specified factory to the thread, potentially allowing for one thread-bound Session per factory. Supports custom isolation levels, and timeouts that get applied as Hibernate transaction timeouts. This transaction manager is appropriate for applications that use a single Hibernate SessionFactory for transactional data access, but it also supports direct DataSource access within a transaction (i.e. plain JDBC code working with the same DataSource). This allows for mixing services which access Hibernate and services which use plain JDBC (without being aware of Hibernate)! Application code needs to stick to the same simple Connection lookup pattern as with org.springframework.jdbc.datasource.DataSourceTransactionManager (i.e. Note: To be able to register a DataSource's Connection for plain JDBC code, this instance needs to be aware of the DataSource ( JTA (usually through org.springframework.transaction.jta.JtaTransactionManager) is necessary for accessing multiple transactional resources within the same transaction. The DataSource that Hibernate uses needs to be JTA-enabled in such a scenario (see container setup). This transaction manager supports nested transactions via JDBC 3.0 Savepoints. The |
org.springframework.web.filter.HiddenHttpMethodFilter |
javax.servlet.Filter that converts posted method parameters into HTTP methods, retrievable via The name of the request parameter defaults to NOTE: This filter needs to run after multipart processing in case of a multipart POST request, due to its inherent need for checking a POST body parameter. So typically, put a Spring org.springframework.web.multipart.support.MultipartFilter before this HiddenHttpMethodFilter in your |
org.springframework.web.filter.reactive.HiddenHttpMethodFilter |
Reactive WebFilter that converts posted method parameters into HTTP methods, retrievable via The name of the request parameter defaults to |
org.springframework.web.servlet.tags.form.HiddenInputTag |
The Example (binding to 'name' property of form backing object):
Attribute Summary Attribute Required? Runtime Expression? Description htmlEscape false true Enable/disable HTML escaping of rendered values. id false true HTML Standard Attribute path true true Path to property for data binding |
org.springframework.test.web.servlet.htmlunit.HostRequestMatcher |
A WebRequestMatcher that allows matching on the host and optionally the port of For example, the following would match any request to the host
Multiple hosts can also be passed in. For example, the following would match any request to the host
Alternatively, one can also specify the port. For example, the following would match any request to the host
The above |
org.springframework.aop.target.HotSwappableTargetSource |
org.springframework.aop.TargetSource implementation that caches a local target object, but allows the target to be swapped while the application is running. If configuring an object of this class in a Spring IoC container, use constructor injection. This TargetSource is serializable if the target is at the time of serialization. |
org.springframework.jdbc.support.incrementer.HsqlMaxValueIncrementer |
DataFieldMaxValueIncrementer that increments the maximum value of a given HSQL table with the equivalent of an auto-increment column. Note: If you use this class, your HSQL key column should NOT be auto-increment, as the sequence table does the job. The sequence is kept in a table. There should be one sequence table per table that needs an auto-generated key. Example: If "cacheSize" is set, the intermediate values are served without querying the database. If the server or your application is stopped or crashes or a transaction is rolled back, the unused values will never be served. The maximum hole size in numbering is consequently the value of cacheSize.
NOTE: HSQL now supports sequences and you should consider using them instead: HsqlSequenceMaxValueIncrementer |
org.springframework.jdbc.support.incrementer.HsqlSequenceMaxValueIncrementer |
DataFieldMaxValueIncrementer that retrieves the next value of a given HSQL sequence. Thanks to Guillaume Bilodeau for the suggestion! NOTE: This is an alternative to using a regular table to support generating unique keys that was necessary in previous versions of HSQL. |
org.springframework.jdbc.core.metadata.HsqlTableMetaDataProvider |
The HSQL specific implementation of TableMetaDataProvider. Supports a feature for retrieving generated keys without the JDBC 3.0 |
org.springframework.web.servlet.tags.HtmlEscapeTag |
The Note: You can also set a "defaultHtmlEscape" web.xml context-param. A page-level setting overrides a context-param. Attribute Summary Attribute Required? Runtime Expression? Description defaultHtmlEscape true true Set the default value for HTML escaping, to be put into the current PageContext. |
org.springframework.web.socket.sockjs.transport.handler.HtmlFileTransportHandler |
An HTTP TransportHandler that uses a famous browser document.domain technique: http://stackoverflow.com/questions/1481251/what-does-document-domain-document-domain-do |
org.springframework.web.util.HtmlUtils |
Utility class for HTML escaping. Escapes and unescapes based on the W3C HTML 4.01 recommendation, handling character entity references. Reference: http://www.w3.org/TR/html4/charset.html For a comprehensive set of String escaping utilities, consider Apache Commons Lang and its StringEscapeUtils class. We are not using that class here to avoid a runtime dependency on Commons Lang just for HTML escaping. Furthermore, Spring's HTML escaping is more flexible and 100% HTML 4.0 compliant. |
org.springframework.web.client.HttpClientErrorException |
Exception thrown when an HTTP 4xx is received. |
org.springframework.http.client.HttpComponentsAsyncClientHttpRequestFactory |
Asynchronous extension of the HttpComponentsClientHttpRequestFactory. Uses Apache HttpComponents HttpAsyncClient 4.0 to create requests. |
org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor |
org.springframework.remoting.httpinvoker.HttpInvokerRequestExecutor implementation that uses Apache HttpComponents HttpClient to execute POST requests. Allows to use a pre-configured org.apache.http.client.HttpClient instance, potentially with authentication, HTTP connection pooling, etc. Also designed for easy subclassing, providing specific template methods. As of Spring 4.1, this request executor requires Apache HttpComponents 4.3 or higher. |
org.springframework.web.reactive.result.method.annotation.HttpEntityArgumentResolver |
Resolves method arguments of type HttpEntity or RequestEntity by reading the body of the request through a compatible |
org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor |
Resolves HttpEntity and RequestEntity method argument values and also handles HttpEntity and ResponseEntity return values. An HttpEntity return type has a specific purpose. Therefore this handler should be configured ahead of handlers that support any return value type annotated with |
org.springframework.test.web.reactive.server.HttpHandlerConnector |
Connector that handles requests by invoking an HttpHandler rather than making actual requests to a network socket. Internally the connector uses and adapts MockClientHttpRequest and MockClientHttpResponse to MockServerHttpRequest and MockServerHttpResponse. |
org.springframework.http.server.reactive.HttpHeadResponseDecorator |
ServerHttpResponse decorator for HTTP HEAD requests. |
org.springframework.web.servlet.mvc.method.annotation.HttpHeadersReturnValueHandler |
Handles HttpHeaders return values. |
org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean |
FactoryBean for HTTP invoker proxies. Exposes the proxied service for use as a bean reference, using the specified service interface. The service URL must be an HTTP URL exposing an HTTP invoker service. Optionally, a codebase URL can be specified for on-demand dynamic code download from a remote location. For details, see HttpInvokerClientInterceptor docs. Serializes remote invocation objects and deserializes remote invocation result objects. Uses Java serialization just like RMI, but provides the same ease of setup as Caucho's HTTP-based Hessian protocol. HTTP invoker is the recommended protocol for Java-to-Java remoting. It is more powerful and more extensible than Hessian, at the expense of being tied to Java. Nevertheless, it is as easy to set up as Hessian, which is its main advantage compared to RMI. WARNING: Be aware of vulnerabilities due to unsafe Java deserialization: Manipulated input streams could lead to unwanted code execution on the server during the deserialization step. As a consequence, do not expose HTTP invoker endpoints to untrusted clients but rather just between your own services. In general, we strongly recommend any other message format (e.g. JSON) instead. |
org.springframework.remoting.httpinvoker.HttpInvokerRequestExecutor |
Strategy interface for actual execution of an HTTP invoker request. Used by HttpInvokerClientInterceptor and its subclass HttpInvokerProxyFactoryBean. Two implementations are provided out of the box:
|
org.springframework.web.HttpMediaTypeNotAcceptableException |
Exception thrown when the request handler cannot generate a response that is acceptable by the client. |
org.springframework.web.HttpMediaTypeNotSupportedException |
Exception thrown when a client POSTs, PUTs, or PATCHes content of a type not supported by request handler. |
org.springframework.http.converter.HttpMessageConversionException |
Thrown by HttpMessageConverter implementations when a conversion attempt fails. |
org.springframework.web.client.HttpMessageConverterExtractor |
Response extractor that uses the given HttpMessageConverter to convert the response into a type |
org.springframework.http.codec.HttpMessageEncoder |
Extension of |
org.springframework.http.converter.HttpMessageNotReadableException |
Thrown by HttpMessageConverter implementations when the |
org.springframework.http.converter.HttpMessageNotWritableException |
Thrown by HttpMessageConverter implementations when the |
org.springframework.web.reactive.result.view.HttpMessageWriterView |
|
org.springframework.web.filter.HttpPutFormContentFilter |
javax.servlet.Filter that makes form encoded data available through the The Servlet spec requires form data to be available for HTTP POST but not for HTTP PUT or PATCH requests. This filter intercepts HTTP PUT and PATCH requests where content type is |
org.springframework.http.HttpRange |
Represents an HTTP (byte) range for use with the HTTP |
org.springframework.web.context.support.HttpRequestHandlerServlet |
Simple HttpServlet that delegates to an HttpRequestHandler bean defined in Spring's root web application context. The target bean name must match the HttpRequestHandlerServlet servlet-name as defined in This can for example be used to expose a single Spring remote exporter, such as org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter or org.springframework.remoting.caucho.HessianServiceExporter, per HttpRequestHandlerServlet definition. This is a minimal alternative to defining remote exporters as beans in a DispatcherServlet context (with advanced mapping and interception facilities being available there). |
org.springframework.web.HttpRequestMethodNotSupportedException |
Exception thrown when a request handler does not support a specific request method. |
org.springframework.http.client.support.HttpRequestWrapper |
Provides a convenient implementation of the HttpRequest interface that can be overridden to adapt the request. These methods default to calling through to the wrapped request object. |
org.springframework.web.reactive.resource.HttpResource |
Extended interface for a Resource to be written to an HTTP response. |
org.springframework.web.servlet.resource.HttpResource |
Extended interface for a Resource to be written to an HTTP response. |
org.springframework.web.client.HttpServerErrorException |
Exception thrown when an HTTP 5xx is received. |
org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor |
An interceptor to copy information from the HTTP session to the "handshake attributes" map to made available via Copies a subset or all HTTP session attributes and/or the HTTP session id under the key |
org.springframework.web.util.HttpSessionMutexListener |
Servlet HttpSessionListener that automatically exposes the session mutex when an HttpSession gets created. To be registered as a listener in The session mutex is guaranteed to be the same object during the entire lifetime of the session, available under the key defined by the In many cases, the HttpSession reference itself is a safe mutex as well, since it will always be the same object reference for the same active logical session. However, this is not guaranteed across different servlet containers; the only 100% safe way is a session mutex. |
org.springframework.web.HttpSessionRequiredException |
Exception thrown when an HTTP request handler requires a pre-existing session. |
org.springframework.web.server.adapter.HttpWebHandlerAdapter |
Default adapter of WebHandler to the HttpHandler contract. By default creates and configures a DefaultServerWebExchange and then invokes the target |
org.springframework.messaging.support.IdTimestampMessageHeaderInitializer |
A org.springframework.messaging.support.MessageHeaderInitializer to customize the strategy for ID and TIMESTAMP message header generation. |
org.springframework.expression.spel.ast.Identifier | |
org.springframework.jmx.export.naming.IdentityNamingStrategy |
An implementation of the The resulting |
org.springframework.test.annotation.IfProfileValue |
Test annotation to indicate whether a test is enabled or disabled for a specific testing profile. In the context of this annotation, the term profile refers to a Java system property by default; however, the semantics can be changed by implementing a custom ProfileValueSource. If the configured
ProfileValueSource implementation (which is configured by default), you can configure a test method to run only on Java VMs from Oracle as follows: 'OR' Semantics
You can alternatively configure @IfProfileValue vs. @Profile
Although the As of Spring Framework 4.0, this annotation may be used as a meta-annotation to create custom composed annotations. |
org.springframework.jms.IllegalStateException |
Runtime exception mirroring the JMS IllegalStateException. |
org.springframework.transaction.IllegalTransactionStateException |
Exception thrown when the existence or non-existence of a transaction amounts to an illegal state according to the transaction propagation behavior that applies. |
org.springframework.messaging.support.ImmutableMessageChannelInterceptor |
A simpler interceptor that calls When configured as the last interceptor in a chain, it allows the component sending the message to leave headers mutable for interceptors to modify prior to the message actually being sent and exposed to concurrent access. |
org.springframework.beans.factory.parsing.ImportDefinition |
Representation of an import that has been processed during the parsing process. |
org.springframework.context.annotation.ImportResource |
Indicates one or more resources containing bean definitions to import. Like Import, this annotation provides functionality similar to the By default, arguments to the |
org.springframework.web.server.session.InMemoryWebSessionStore |
Simple Map-based storage for WebSession instances. |
org.springframework.jdbc.IncorrectResultSetColumnCountException |
Data access exception thrown when a result set did not have the correct column count, for example when expecting a single column but getting 0 or more than 1 columns. |
org.springframework.stereotype.Indexed |
Indicate that the annotated element represents a stereotype for the index. The Consider the default Component annotation that is meta-annotated with this annotation. If a component is annotated with Component, an entry for that component will be added to the index using the This annotation is also honored on meta-annotations. Consider this custom annotation: If the above annotation is present on a type, it will be indexed with two stereotypes: org.springframework.stereotype.Component and com.example.PrivilegedService . While Service isn't directly annotated with Indexed , it is meta-annotated with Component.
It is also possible to index all implementations of a certain interface or all the subclasses of a given class by adding Now, consider an implementation of this AdminService somewhere: Because this class implements an interface that is indexed, it will be automatically included with the com.example.AdminService stereotype. If there are more @Indexed interfaces and/or superclasses in the hierarchy, the class will map to all their stereotypes.
|
org.springframework.expression.spel.ast.Indexer |
An Indexer can index into some proceeding structure to access a particular piece of it. Supported structures are: strings / collections (lists/sets) / arrays. |
org.springframework.aop.framework.autoproxy.InfrastructureAdvisorAutoProxyCreator |
Auto-proxy creator that considers infrastructure Advisor beans only, ignoring any application-defined Advisors. |
org.springframework.core.InfrastructureProxy |
Interface to be implemented by transparent resource proxies that need to be considered as equal to the underlying resource, for example for consistent lookup key comparisons. Note that this interface does imply such special semantics and does not constitute a general-purpose mixin! Such wrappers will automatically be unwrapped for key comparisons in org.springframework.transaction.support.TransactionSynchronizationManager. Only fully transparent proxies, e.g. for redirection or service lookups, are supposed to implement this interface. Proxies that decorate the target object with new behavior, such as AOP proxies, do not qualify here! |
org.springframework.web.bind.annotation.InitBinder |
Annotation that identifies methods which initialize the org.springframework.web.bind.WebDataBinder which will be used for populating command and form object arguments of annotated handler methods. Such init-binder methods support all arguments that RequestMapping supports, except for command/form objects and corresponding validation result objects. Init-binder methods must not have a return value; they are usually declared as Typical arguments are org.springframework.web.bind.WebDataBinder in combination with org.springframework.web.context.request.WebRequest or java.util.Locale, allowing to register context-specific editors. |
org.springframework.web.method.annotation.InitBinderDataBinderFactory |
Adds initialization to a WebDataBinder via |
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor |
org.springframework.beans.factory.config.BeanPostProcessor implementation that invokes annotated init and destroy methods. Allows for an annotation alternative to Spring's org.springframework.beans.factory.InitializingBean and org.springframework.beans.factory.DisposableBean callback interfaces. The actual annotation types that this post-processor checks for can be configured through the Init and destroy annotations may be applied to methods of any visibility: public, package-protected, protected, or private. Multiple such methods may be annotated, but it is recommended to only annotate one single init method and destroy method, respectively. Spring's org.springframework.context.annotation.CommonAnnotationBeanPostProcessor supports the JSR-250 javax.annotation.PostConstruct and javax.annotation.PreDestroy annotations out of the box, as init annotation and destroy annotation, respectively. Furthermore, it also supports the javax.annotation.Resource annotation for annotation-driven injection of named beans. |
org.springframework.expression.spel.ast.InlineList |
Represent a list in an expression, e.g. '{1,2,3}' |
org.springframework.expression.spel.ast.InlineMap |
Represent a map in an expression, e.g. '{name:'foo',age:12}' |
org.springframework.beans.propertyeditors.InputSourceEditor |
Editor for Supports Spring-style URL notation: any fully qualified standard URL ("file:", "http:", etc) and Spring's special "classpath:" pseudo-URL. |
org.springframework.beans.propertyeditors.InputStreamEditor |
One-way PropertyEditor which can convert from a text String to a Supports Spring-style URL notation: any fully qualified standard URL ("file:", "http:", etc.) and Spring's special "classpath:" pseudo-URL. Note that such streams usually do not get closed by Spring itself! |
org.springframework.core.io.InputStreamResource |
Resource implementation for a given InputStream. Should only be used if no other specific In contrast to other |
org.springframework.web.servlet.tags.form.InputTag |
The Attribute Summary Attribute Required? Runtime Expression? Description accesskey false true HTML Standard Attribute alt false true HTML Optional Attribute autocomplete false true Common Optional Attribute cssClass false true HTML Optional Attribute cssErrorClass false true HTML Optional Attribute. Used when the bound field has errors. cssStyle false true HTML Optional Attribute dir false true HTML Standard Attribute disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. htmlEscape false true Enable/disable HTML escaping of rendered values. id false true HTML Standard Attribute lang false true HTML Standard Attribute maxlength false true HTML Optional Attribute onblur false true HTML Event Attribute onchange false true HTML Event Attribute onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onfocus false true HTML Event Attribute onkeydown false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onmousedown false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onmouseover false true HTML Event Attribute onmouseup false true HTML Event Attribute onselect false true HTML Event Attribute path true true Path to property for data binding readonly false true HTML Optional Attribute. Setting the value of this attribute to 'true' will make the HTML element readonly. size false true HTML Optional Attribute tabindex false true HTML Standard Attribute title false true HTML Standard Attribute |
org.springframework.format.datetime.standard.InstantFormatter |
Formatter implementation for a JSR-310 java.time.Instant, following JSR-310's parsing rules for an Instant (that is, not using a configurable java.time.format.DateTimeFormatter): accepting the default |
org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter |
Adapter that implements all methods on SmartInstantiationAwareBeanPostProcessor as no-ops, which will not change normal processing of each bean instantiated by the container. Subclasses may override merely those methods that they are actually interested in. Note that this base class is only recommendable if you actually require InstantiationAwareBeanPostProcessor functionality. If all you need is plain BeanPostProcessor functionality, prefer a straight implementation of that (simpler) interface. |
org.springframework.aop.aspectj.InstantiationModelAwarePointcutAdvisor |
Interface to be implemented by Spring AOP Advisors wrapping AspectJ aspects that may have a lazy initialization strategy. For example, a perThis instantiation model would mean lazy initialization of the advice. |
org.springframework.beans.factory.support.InstantiationStrategy |
Interface responsible for creating instances corresponding to a root bean definition. This is pulled out into a strategy as various approaches are possible, including using CGLIB to create subclasses on the fly to support Method Injection. |
org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver |
LoadTimeWeaver relying on VM Instrumentation. Start the JVM specifying the Java agent to be used, like as follows:
where In Eclipse, for example, set the "Run configuration"'s JVM args to be of the form:
|
org.springframework.instrument.InstrumentationSavingAgent |
Java agent that saves the Instrumentation interface from the JVM for later use. |
org.springframework.expression.spel.ast.IntLiteral |
Expression language AST node that represents an integer literal. |
org.springframework.jca.cci.core.InteractionCallback |
Generic callback interface for code that operates on a CCI Interaction. Allows to execute any number of operations on a single Interaction, for example a single execute call or repeated execute calls with varying parameters. This is particularly useful for delegating to existing data access code that expects an Interaction to work on and throws ResourceException. For newly written code, it is strongly recommended to use CciTemplate's more specific |
org.springframework.http.client.InterceptingAsyncClientHttpRequestFactory |
Wrapper for a AsyncClientHttpRequestFactory that has support for AsyncClientHttpRequestInterceptors. |
org.springframework.http.client.InterceptingClientHttpRequestFactory |
ClientHttpRequestFactory wrapper with support for ClientHttpRequestInterceptors. |
org.springframework.web.servlet.config.annotation.InterceptorRegistration |
Assists with the creation of a MappedInterceptor. |
org.springframework.jmx.export.assembler.InterfaceBasedMBeanInfoAssembler |
Subclass of By default, this class votes on the inclusion of each operation or attribute based on the interfaces implemented by the bean class. However, you can supply an array of interfaces via the If you specify values for both |
org.springframework.expression.spel.InternalParseException |
Wraps a real parse exception. This exception flows to the top parse method and then the wrapped exception is thrown as the real problem. |
org.springframework.web.servlet.view.InternalResourceView |
Wrapper for a JSP or other resource within the same web application. Exposes model objects as request attributes and forwards the request to the specified resource URL using a javax.servlet.RequestDispatcher. A URL for this view is supposed to specify a resource within the web application, suitable for RequestDispatcher's If operating within an already included request or within a response that has already been committed, this view will fall back to an include instead of a forward. This can be enforced by calling Typical usage with InternalResourceViewResolver looks as follows, from the perspective of the DispatcherServlet context definition: Every view name returned from a handler will be translated to a JSP resource (for example: "myView" -> "/WEB-INF/jsp/myView.jsp"), using this view class by default.
|
org.springframework.mail.javamail.InternetAddressEditor |
Editor for Expects the same syntax as InternetAddress's constructor with a String argument. Converts empty Strings into null values. |
org.springframework.aop.IntroductionAwareMethodMatcher |
A specialized type of MethodMatcher that takes into account introductions when matching methods. If there are no introductions on the target class, a method matcher may be able to optimize matching more effectively for example. |
org.springframework.web.util.IntrospectorCleanupListener |
Listener that flushes the JDK's java.beans.Introspector cache on web app shutdown. Register this listener in your If the JavaBeans Introspector has been used to analyze application classes, the system-level Introspector cache will hold a hard reference to those classes. Consequently, those classes and the web application class loader will not be garbage-collected on web app shutdown! This listener performs proper cleanup, to allow for garbage collection to take effect. Unfortunately, the only way to clean up the Introspector is to flush the entire cache, as there is no way to specifically determine the application's classes referenced there. This will remove cached introspection results for all other applications in the server too. Note that this listener is not necessary when using Spring's beans infrastructure within the application, as Spring's own introspection results cache will immediately flush an analyzed class from the JavaBeans Introspector cache and only hold a cache within the application's own ClassLoader. Although Spring itself does not create JDK Introspector leaks, note that this listener should nevertheless be used in scenarios where the Spring framework classes themselves reside in a 'common' ClassLoader (such as the system ClassLoader). In such a scenario, this listener will properly clean up Spring's introspection cache. Application classes hardly ever need to use the JavaBeans Introspector directly, so are normally not the cause of Introspector resource leaks. Rather, many libraries and frameworks do not clean up the Introspector: e.g. Struts and Quartz. Note that a single such Introspector leak will cause the entire web app class loader to not get garbage collected! This has the consequence that you will see all the application's static class resources (like singletons) around after web app shutdown, which is not the fault of those classes! This listener should be registered as the first one in |
org.springframework.jms.InvalidClientIDException |
Runtime exception mirroring the JMS InvalidClientIDException. |
org.springframework.jms.InvalidDestinationException |
Runtime exception mirroring the JMS InvalidDestinationException. |
org.springframework.jmx.access.InvalidInvocationException |
Thrown when trying to invoke an operation on a proxy that is not exposed by the proxied MBean resource's management interface. |
org.springframework.transaction.InvalidIsolationLevelException |
Exception that gets thrown when an invalid isolation level is specified, i.e. an isolation level that the transaction manager implementation doesn't support. |
org.springframework.http.InvalidMediaTypeException |
Exception thrown from |
org.springframework.jmx.export.metadata.InvalidMetadataException |
Thrown by the |
org.springframework.util.InvalidMimeTypeException |
Exception thrown from |
org.springframework.jdbc.InvalidResultSetAccessException |
Exception thrown when a ResultSet has been accessed in an invalid fashion. Such exceptions always have a This typically happens when an invalid ResultSet column index or name has been specified. Also thrown by disconnected SqlRowSets. |
org.springframework.jca.cci.InvalidResultSetAccessException |
Exception thrown when a ResultSet has been accessed in an invalid fashion. Such exceptions always have a This typically happens when an invalid ResultSet column index or name has been specified. |
org.springframework.jms.InvalidSelectorException |
Runtime exception mirroring the JMS InvalidSelectorException. |
org.springframework.transaction.InvalidTimeoutException |
Exception that gets thrown when an invalid timeout is specified, that is, the specified timeout valid is out of range or the transaction manager implementation doesn't support timeouts. |
org.springframework.web.method.support.InvocableHandlerMethod |
Provides a method for invoking the handler method for a given request after resolving its method argument values through registered HandlerMethodArgumentResolvers. Argument resolution often requires a WebDataBinder for data binding or for type conversion. Use the Use |
org.aopalliance.intercept.Invocation |
This interface represents an invocation in the program. An invocation is a joinpoint and can be intercepted by an interceptor. |
org.springframework.jmx.access.InvocationFailureException |
Thrown when an invocation on an MBean resource failed with an exception (either a reflection exception or an exception thrown by the target method itself). |
org.springframework.jdbc.datasource.IsolationLevelDataSourceAdapter |
An adapter for a target javax.sql.DataSource, applying the current Spring transaction's isolation level (and potentially specified user credentials) to every Can be used to proxy a target JNDI DataSource that does not have the desired isolation level (and user credentials) configured. Client code can work with this DataSource as usual, not worrying about such settings. Inherits the capability to apply specific user credentials from its superclass UserCredentialsDataSourceAdapter; see the latter's javadoc for details on that functionality (e.g. WARNING: This adapter simply calls |
org.springframework.jdbc.datasource.lookup.IsolationLevelDataSourceRouter |
DataSource that routes to one of various target DataSources based on the current transaction isolation level. The target DataSources need to be configured with the isolation level name as key, as defined on the org.springframework.transaction.TransactionDefinition. This is particularly useful in combination with JTA transaction management (typically through Spring's org.springframework.transaction.jta.JtaTransactionManager). Standard JTA does not support transaction-specific isolation levels. Some JTA providers support isolation levels as a vendor-specific extension (e.g. WebLogic), which is the preferred way of addressing this. As alternative (e.g. on WebSphere), the target database can be represented through multiple JNDI DataSources, each configured with a different isolation level (for the entire DataSource). The present DataSource router allows to transparently switch to the appropriate DataSource based on the current transaction's isolation level. The configuration can for example look like this, assuming that the target DataSources are defined as individual Spring beans with names "myRepeatableReadDataSource", "mySerializableDataSource" and "myDefaultDataSource": Alternatively, the keyed values can also be data source names, to be resolved through a DataSourceLookup : by default, JNDI names for a standard JNDI lookup. This allows for a single concise definition without the need for separate DataSource bean definitions. Note: If you are using this router in combination with Spring's org.springframework.transaction.jta.JtaTransactionManager, don't forget to switch the "allowCustomIsolationLevels" flag to "true". (By default, JtaTransactionManager will only accept a default isolation level because of the lack of isolation level support in standard JTA itself.)
|
org.springframework.instrument.classloading.jboss.JBossLoadTimeWeaver |
LoadTimeWeaver implementation for JBoss's instrumentable ClassLoader. Thanks to Ales Justin and Marius Bogoevici for the initial prototype. As of Spring Framework 5.0, this weaver supports WildFly 8+. |
org.springframework.cache.jcache.interceptor.JCacheAspectSupport |
Base class for JSR-107 caching aspects, such as the JCacheInterceptor or an AspectJ aspect. Use the Spring caching abstraction for cache-related operations. No JSR-107 javax.cache.Cache or javax.cache.CacheManager are required to process standard JSR-107 cache annotations. The JCacheOperationSource is used for determining caching operations A cache aspect is serializable if its |
org.springframework.cache.jcache.JCacheCache |
org.springframework.cache.Cache implementation on top of a javax.cache.Cache instance. Note: This class has been updated for JCache 1.0, as of Spring 4.0. |
org.springframework.cache.jcache.JCacheCacheManager |
org.springframework.cache.CacheManager implementation backed by a JCache javax.cache.CacheManager. Note: This class has been updated for JCache 1.0, as of Spring 4.0. |
org.springframework.cache.jcache.config.JCacheConfigurer |
Extension of CachingConfigurer for the JSR-107 implementation. To be implemented by classes annotated with org.springframework.cache.annotation.EnableCaching that wish or need to specify explicitly how exception caches are resolved for annotation-driven cache management. Consider extending JCacheConfigurerSupport, which provides a stub implementation of all interface methods. See org.springframework.cache.annotation.EnableCaching for general examples and context; see |
org.springframework.cache.jcache.config.JCacheConfigurerSupport |
An extension of CachingConfigurerSupport that also implements JCacheConfigurer. Users of JSR-107 annotations may extend from this class rather than implementing from JCacheConfigurer directly. |
org.springframework.cache.jcache.JCacheManagerFactoryBean |
FactoryBean for a JCache javax.cache.CacheManager, obtaining a pre-defined CacheManager by name through the standard JCache javax.cache.Caching class. Note: This class has been updated for JCache 1.0, as of Spring 4.0. |
org.springframework.cache.jcache.interceptor.JCacheOperationSourcePointcut |
A Pointcut that matches if the underlying JCacheOperationSource has an operation for a given method. |
org.springframework.core.env.JOptCommandLinePropertySource |
CommandLinePropertySource implementation backed by a JOpt OptionSet. Typical usage Configure and execute an See CommandLinePropertySource for complete general usage examples.
Requires JOpt Simple version 4.3 or higher. Tested against JOpt up until 5.0. |
org.springframework.http.codec.json.Jackson2JsonDecoder |
Decode a byte stream into JSON and convert to Object's with Jackson 2.9. |
org.springframework.http.codec.json.Jackson2JsonEncoder |
Encode from an |
org.springframework.http.converter.json.Jackson2ObjectMapperFactoryBean |
A FactoryBean for creating a Jackson 2.x ObjectMapper (default) or XmlMapper ( It customizes Jackson defaults properties with the following ones:
Example usage with MappingJackson2HttpMessageConverter:
Example usage with MappingJackson2JsonView:
In case there are no specific setters provided (for some rarely used options), you can still use the more general methods
It also automatically registers the following well-known modules if they are detected on the classpath:
In case you want to configure Jackson's ObjectMapper with a custom Module, you can register one or more such Modules by class name via
Compatible with Jackson 2.6 and higher, as of Spring 4.3. |
org.springframework.http.codec.json.Jackson2SmileDecoder |
Decode a byte stream into Smile and convert to Object's with Jackson 2.9. |
org.springframework.http.codec.json.Jackson2SmileEncoder |
Encode from an |
org.springframework.aop.interceptor.JamonPerformanceMonitorInterceptor |
Performance monitor interceptor that uses JAMon library to perform the performance measurement on the intercepted method and output the stats. In addition, it tracks/counts exceptions thrown by the intercepted method. The stack traces can be viewed in the JAMon web application. This code is inspired by Thierry Templier's blog. |
org.springframework.mail.javamail.JavaMailSenderImpl |
Production implementation of the JavaMailSender interface, supporting both JavaMail MimeMessage and Spring SimpleMailMessage. Can also be used as a plain org.springframework.mail.MailSender implementation. Allows for defining all settings locally as bean properties. Alternatively, a pre-configured JavaMail javax.mail.Session can be specified, possibly pulled from an application server's JNDI environment. Non-default properties in this object will always override the settings in the JavaMail |
org.springframework.web.util.JavaScriptUtils |
Utility class for JavaScript escaping. Escapes based on the JavaScript 1.5 recommendation. Reference: JavaScript Guide on Mozilla Developer Network. |
org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean |
org.springframework.beans.factory.FactoryBean for a specific port of a JAX-WS service. Exposes a proxy for the port, to be used for bean references. Inherits configuration properties from JaxWsPortClientInterceptor. |
org.springframework.remoting.jaxws.JaxWsSoapFaultException |
Spring SoapFaultException adapter for the JAX-WS javax.xml.ws.soap.SOAPFaultException class. |
org.springframework.http.converter.xml.Jaxb2CollectionHttpMessageConverter |
An This converter can read Collection that contain classes annotated with XmlRootElement and XmlType. Note that this converter does not support writing. |
org.springframework.oxm.jaxb.Jaxb2Marshaller |
Implementation of the The typical usage will be to set either the "contextPath" or the "classesToBeBound" property on this bean, possibly customize the marshaller and unmarshaller by setting properties, schemas, adapters, and listeners, and to refer to it. |
org.springframework.http.converter.xml.Jaxb2RootElementHttpMessageConverter |
Implementation of org.springframework.http.converter.HttpMessageConverter that can read and write XML using JAXB2. This converter can read classes annotated with XmlRootElement and XmlType, and write classes annotated with XmlRootElement, or subclasses thereof. Note: When using Spring's Marshaller/Unmarshaller abstractions from |
org.springframework.http.codec.xml.Jaxb2XmlDecoder |
Decode from a bytes stream containing XML elements to a stream of |
org.springframework.http.codec.xml.Jaxb2XmlEncoder |
Encode from |
org.springframework.jdbc.support.xml.Jdbc4SqlXmlHandler |
Default implementation of the SqlXmlHandler interface. Provides database-specific implementations for storing and retrieving XML documents to and from fields in a database, relying on the JDBC 4.0 |
org.springframework.jdbc.support.JdbcAccessor |
Base class for org.springframework.jdbc.core.JdbcTemplate and other JDBC-accessing DAO helpers, defining common properties such as DataSource and exception translator. Not intended to be used directly. See org.springframework.jdbc.core.JdbcTemplate. |
org.springframework.jdbc.core.support.JdbcBeanDefinitionReader |
Bean definition reader that reads values from a database table, based on a given SQL statement. Expects columns for bean name, property name and value as String. Formats for each are identical to the properties format recognized by PropertiesBeanDefinitionReader. NOTE: This is mainly intended as an example for a custom JDBC-based bean definition reader. It does not aim to offer comprehensive functionality. |
org.springframework.jdbc.core.support.JdbcDaoSupport |
Convenient super class for JDBC-based data access objects. Requires a javax.sql.DataSource to be set, providing a org.springframework.jdbc.core.JdbcTemplate based on it to subclasses through the This base class is mainly intended for JdbcTemplate usage but can also be used when working with a Connection directly or when using |
org.springframework.jdbc.config.JdbcNamespaceHandler |
NamespaceHandler for JDBC configuration namespace. |
org.springframework.test.jdbc.JdbcTestUtils |
|
org.springframework.jdbc.datasource.JdbcTransactionObjectSupport |
Convenient base class for JDBC-aware transaction objects. Can contain a ConnectionHolder with a JDBC Allows for programmatic management of JDBC java.sql.Savepoint. Spring's org.springframework.transaction.support.DefaultTransactionStatus automatically delegates to this, as it autodetects transaction objects which implement the SavepointManager interface. |
org.springframework.jdbc.JdbcUpdateAffectedIncorrectNumberOfRowsException |
Exception thrown when a JDBC update affects an unexpected number of rows. Typically we expect an update to affect a single row, meaning it's an error if it affects multiple rows. |
org.springframework.jdbc.support.JdbcUtils |
Generic utility methods for working with JDBC. Mainly for internal use within the framework, but also useful for custom JDBC access code. |
org.springframework.util.JdkIdGenerator |
An IdGenerator that calls |
org.springframework.aop.support.JdkRegexpMethodPointcut |
Regular expression pointcut based on the
Note: the regular expressions must be a match. For example, |
org.springframework.ejb.config.JeeNamespaceHandler |
org.springframework.beans.factory.xml.NamespaceHandler for the ' |
org.springframework.http.server.reactive.JettyHttpHandlerAdapter |
ServletHttpHandlerAdapter extension that uses Jetty APIs for writing to the response with ByteBuffer. |
org.springframework.web.reactive.socket.server.upgrade.JettyRequestUpgradeStrategy |
A RequestUpgradeStrategy for use with Jetty. |
org.springframework.web.socket.server.jetty.JettyRequestUpgradeStrategy |
A RequestUpgradeStrategy for use with Jetty 9.4. Based on Jetty's internal |
org.springframework.web.reactive.socket.client.JettyWebSocketClient |
A WebSocketClient implementation for use with Jetty org.eclipse.jetty.websocket.client.WebSocketClient. Note: the Jetty |
org.springframework.web.socket.client.jetty.JettyWebSocketClient |
Initiates WebSocket requests to a WebSocket server programmatically through the Jetty WebSocket API. As of 4.1 this class implements Lifecycle rather than org.springframework.context.SmartLifecycle. Use org.springframework.web.socket.client.WebSocketConnectionManager instead to auto-start a WebSocket connection. |
org.springframework.web.reactive.socket.adapter.JettyWebSocketHandlerAdapter |
Jetty WebSocket handler that delegates events to a reactive WebSocketHandler and its session. |
org.springframework.web.socket.adapter.jetty.JettyWebSocketHandlerAdapter |
Adapts WebSocketHandler to the Jetty 9 WebSocket API. |
org.springframework.web.socket.sockjs.client.JettyXhrTransport |
An XHR transport based on Jetty's org.eclipse.jetty.client.HttpClient. When used for testing purposes (e.g. load testing) the
|
org.springframework.oxm.jibx.JibxMarshaller |
Implementation of the The typical usage will be to set the |
org.springframework.jms.core.support.JmsGatewaySupport |
Convenient super class for application classes that need JMS access. Requires a ConnectionFactory or a JmsTemplate instance to be set. It will create its own JmsTemplate if a ConnectionFactory is passed in. A custom JmsTemplate instance can be created for a given ConnectionFactory through overriding the |
org.springframework.jms.remoting.JmsInvokerClientInterceptor |
org.aopalliance.intercept.MethodInterceptor for accessing a JMS-based remote service. Serializes remote invocation objects and deserializes remote invocation result objects. Uses Java serialization just like RMI, but with the JMS provider as communication infrastructure. To be configured with a javax.jms.QueueConnectionFactory and a target queue (either as javax.jms.Queue reference or as queue name). Thanks to James Strachan for the original prototype that this JMS invoker mechanism was inspired by! |
org.springframework.jms.remoting.JmsInvokerProxyFactoryBean |
FactoryBean for JMS invoker proxies. Exposes the proxied service for use as a bean reference, using the specified service interface. Serializes remote invocation objects and deserializes remote invocation result objects. Uses Java serialization just like RMI, but with the JMS provider as communication infrastructure. To be configured with a javax.jms.QueueConnectionFactory and a target queue (either as javax.jms.Queue reference or as queue name). |
org.springframework.jms.remoting.JmsInvokerServiceExporter |
JMS message listener that exports the specified service bean as a JMS service endpoint, accessible via a JMS invoker proxy. Note that this class implements Spring's org.springframework.jms.listener.SessionAwareMessageListener interface, since it requires access to the active JMS Session. Hence, this class can only be used with message listener containers which support the SessionAwareMessageListener interface (e.g. Spring's org.springframework.jms.listener.DefaultMessageListenerContainer). Thanks to James Strachan for the original prototype that this JMS invoker mechanism was inspired by! |
org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor |
Bean post-processor that registers methods annotated with JmsListener to be invoked by a JMS message listener container created under the cover by a org.springframework.jms.config.JmsListenerContainerFactory according to the attributes of the annotation. Annotated methods can use flexible arguments as defined by JmsListener. This post-processor is automatically registered by Spring's Autodetects any JmsListenerConfigurer instances in the container, allowing for customization of the registry to be used, the default container factory or for fine-grained control over endpoints registration. See the EnableJms javadocs for complete usage details. |
org.springframework.jms.config.JmsListenerConfigUtils |
Configuration constants for internal sharing across subpackages. |
org.springframework.jms.annotation.JmsListenerConfigurer |
Optional interface to be implemented by a Spring managed bean willing to customize how JMS listener endpoints are configured. Typically used to define the default org.springframework.jms.config.JmsListenerContainerFactory to use or for registering JMS endpoints in a programmatic fashion as opposed to the declarative approach of using the @JmsListener annotation. See @EnableJms for detailed usage examples. |
org.springframework.jms.config.JmsListenerEndpointRegistrar |
Helper bean for registering JmsListenerEndpoint with a JmsListenerEndpointRegistry. |
org.springframework.jms.annotation.JmsListeners |
Container annotation that aggregates several JmsListener annotations. Can be used natively, declaring several nested JmsListener annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, where JmsListener can simply be declared several times on the same method, implicitly generating this container annotation. This annotation may be used as a meta-annotation to create custom composed annotations. |
org.springframework.jms.listener.endpoint.JmsMessageEndpointFactory |
JMS-specific implementation of the JCA 1.7 javax.resource.spi.endpoint.MessageEndpointFactory interface, providing transaction management capabilities for a JMS listener object (e.g. a javax.jms.MessageListener object). Uses a static endpoint implementation, simply wrapping the specified message listener object and exposing all of its implemented interfaces on the endpoint instance. Typically used with Spring's JmsMessageEndpointManager, but not tied to it. As a consequence, this endpoint factory could also be used with programmatic endpoint management on a native javax.resource.spi.ResourceAdapter instance. |
org.springframework.jms.support.JmsMessageHeaderAccessor |
A org.springframework.messaging.support.MessageHeaderAccessor implementation giving access to JMS-specific headers. |
org.springframework.jms.core.JmsMessageOperations |
A specialization of MessageSendingOperations, MessageReceivingOperations and MessageRequestReplyOperations for JMS related operations that allow to specify a destination name rather than the actual javax.jms.Destination |
org.springframework.jms.core.JmsMessagingTemplate |
An implementation of JmsMessageOperations. |
org.springframework.jms.config.JmsNamespaceHandler |
A org.springframework.beans.factory.xml.NamespaceHandler for the JMS namespace. |
org.springframework.jms.connection.JmsResourceHolder |
JMS resource holder, wrapping a JMS Connection and a JMS Session. JmsTransactionManager binds instances of this class to the thread, for a given JMS ConnectionFactory. Note: This is an SPI class, not intended to be used by applications. |
org.springframework.jms.listener.adapter.JmsResponse |
Return type of any JMS listener method used to indicate the actual response destination alongside the response itself. Typically used when said destination needs to be computed at runtime. The example below sends a response with the content of the If the destination does not need to be computed at runtime, org.springframework.messaging.handler.annotation.SendTo is the recommended declarative approach.
|
org.springframework.jms.JmsSecurityException |
Runtime exception mirroring the JMS JMSSecurityException. |
org.springframework.jms.connection.JmsTransactionManager |
org.springframework.transaction.PlatformTransactionManager implementation for a single JMS javax.jms.ConnectionFactory. Binds a JMS Connection/Session pair from the specified ConnectionFactory to the thread, potentially allowing for one thread-bound Session per ConnectionFactory. This local strategy is an alternative to executing JMS operations within JTA transactions. Its advantage is that it is able to work in any environment, for example a standalone application or a test suite, with any message broker as target. However, this strategy is not able to provide XA transactions, for example in order to share transactions between messaging and database access. A full JTA/XA setup is required for XA transactions, typically using Spring's org.springframework.transaction.jta.JtaTransactionManager as strategy. Application code is required to retrieve the transactional JMS Session via Alternatively, you can allow application code to work with the standard Java EE-style lookup pattern on a ConnectionFactory, for example for legacy code that is not aware of Spring at all. In that case, define a TransactionAwareConnectionFactoryProxy for your target ConnectionFactory, which will automatically participate in Spring-managed transactions. The use of CachingConnectionFactory as a target for this transaction manager is strongly recommended. CachingConnectionFactory uses a single JMS Connection for all JMS access in order to avoid the overhead of repeated Connection creation, as well as maintaining a cache of Sessions. Each transaction will then share the same JMS Connection, while still using its own individual JMS Session. The use of a raw target ConnectionFactory would not only be inefficient because of the lack of resource reuse. It might also lead to strange effects when your JMS driver doesn't accept Transaction synchronization is turned off by default, as this manager might be used alongside a datastore-based Spring transaction manager such as the JDBC org.springframework.jdbc.datasource.DataSourceTransactionManager, which has stronger needs for synchronization. |
org.springframework.jms.support.JmsUtils |
Generic utility methods for working with JMS. Mainly for internal use within the framework, but also useful for custom JMS access code. |
org.springframework.jmx.export.metadata.JmxAttributeSource |
Interface used by the |
org.springframework.jmx.export.metadata.JmxMetadataUtils |
Utility methods for converting Spring JMX metadata into their plain JMX equivalents. |
org.springframework.jmx.support.JmxUtils |
Collection of generic utility methods to support Spring JMX. Includes a convenient method to locate an MBeanServer. |
org.springframework.jndi.JndiCallback |
Callback interface to be implemented by classes that need to perform an operation (such as a lookup) in a JNDI context. This callback approach is valuable in simplifying error handling, which is performed by the JndiTemplate class. This is a similar to JdbcTemplate's approach. Note that there is hardly any need to implement this callback interface, as JndiTemplate provides all usual JNDI operations via convenience methods. |
org.springframework.jdbc.datasource.lookup.JndiDataSourceLookup |
JNDI-based DataSourceLookup implementation. For specific JNDI configuration, it is recommended to configure the "jndiEnvironment"/"jndiTemplate" properties. |
org.springframework.jms.support.destination.JndiDestinationResolver |
DestinationResolver implementation which interprets destination names as JNDI locations (with a configurable fallback strategy). Allows for customizing the JNDI environment if necessary, for example specifying appropriate JNDI environment properties. Dynamic queues and topics get cached by destination name. As a consequence, you need to use unique destination names across both queues and topics. Caching can be turned off through the Note that the fallback to resolution of dynamic destinations is turned off by default. Switch the |
org.springframework.jndi.JndiLookupFailureException |
RuntimeException to be thrown in case of JNDI lookup failures, in particular from code that does not declare JNDI's checked javax.naming.NamingException: for example, from Spring's JndiObjectTargetSource. |
org.springframework.jndi.JndiObjectFactoryBean |
org.springframework.beans.factory.FactoryBean that looks up a JNDI object. Exposes the object found in JNDI for bean references, e.g. for data access object's "dataSource" property in case of a javax.sql.DataSource. The typical usage will be to register this as singleton factory (e.g. for a certain JNDI-bound DataSource) in an application context, and give bean references to application services that need it. The default behavior is to look up the JNDI object on startup and cache it. This can be customized through the "lookupOnStartup" and "cache" properties, using a JndiObjectTargetSource underneath. Note that you need to specify a "proxyInterface" in such a scenario, since the actual JNDI object type is not known in advance. Of course, bean classes in a Spring environment may lookup e.g. a DataSource from JNDI themselves. This class simply enables central configuration of the JNDI name, and easy switching to non-JNDI alternatives. The latter is particularly convenient for test setups, reuse in standalone clients, etc. Note that switching to e.g. DriverManagerDataSource is just a matter of configuration: Simply replace the definition of this FactoryBean with a org.springframework.jdbc.datasource.DriverManagerDataSource definition! |
org.springframework.jndi.JndiObjectTargetSource |
AOP org.springframework.aop.TargetSource that provides configurable JNDI lookups for Can be used as alternative to JndiObjectFactoryBean, to allow for relocating a JNDI object lazily or for each operation (see "lookupOnStartup" and "cache" properties). This is particularly useful during development, as it allows for hot restarting of the JNDI server (for example, a remote JMS server). Example: A createQueueConnection call on the "queueConnectionFactory" proxy will cause a lazy JNDI lookup for "JmsQueueConnectionFactory" and a subsequent delegating call to the retrieved QueueConnectionFactory's createQueueConnection .
Alternatively, use a JndiObjectFactoryBean with a "proxyInterface". "lookupOnStartup" and "cache" can then be specified on the JndiObjectFactoryBean, creating a JndiObjectTargetSource underneath (instead of defining separate ProxyFactoryBean and JndiObjectTargetSource beans). |
org.springframework.jndi.JndiPropertySource |
PropertySource implementation that reads properties from an underlying Spring JndiLocatorDelegate. By default, the underlying Note that org.springframework.web.context.support.StandardServletEnvironment includes a |
org.springframework.remoting.rmi.JndiRmiClientInterceptor |
org.aopalliance.intercept.MethodInterceptor for accessing RMI services from JNDI. Typically used for RMI-IIOP but can also be used for EJB home objects (for example, a Stateful Session Bean home). In contrast to a plain JNDI lookup, this accessor also performs narrowing through PortableRemoteObject. With conventional RMI services, this invoker is typically used with the RMI service interface. Alternatively, this invoker can also proxy a remote RMI service with a matching non-RMI business interface, i.e. an interface that mirrors the RMI service methods but does not declare RemoteExceptions. In the latter case, RemoteExceptions thrown by the RMI stub will automatically get converted to Spring's unchecked RemoteAccessException. The JNDI environment can be specified as "jndiEnvironment" property, or be configured in a
|
org.springframework.remoting.rmi.JndiRmiProxyFactoryBean |
FactoryBean for RMI proxies from JNDI. Typically used for RMI-IIOP (CORBA), but can also be used for EJB home objects (for example, a Stateful Session Bean home). In contrast to a plain JNDI lookup, this accessor also performs narrowing through javax.rmi.PortableRemoteObject. With conventional RMI services, this invoker is typically used with the RMI service interface. Alternatively, this invoker can also proxy a remote RMI service with a matching non-RMI business interface, i.e. an interface that mirrors the RMI service methods but does not declare RemoteExceptions. In the latter case, RemoteExceptions thrown by the RMI stub will automatically get converted to Spring's unchecked RemoteAccessException. The JNDI environment can be specified as "jndiEnvironment" property, or be configured in a
|
org.springframework.remoting.rmi.JndiRmiServiceExporter |
Service exporter which binds RMI services to JNDI. Typically used for RMI-IIOP (CORBA). Exports services via the javax.rmi.PortableRemoteObject class. You need to run "rmic" with the "-iiop" option to generate corresponding stubs and skeletons for each exported service. Also supports exposing any non-RMI service via RMI invokers, to be accessed via JndiRmiClientInterceptor / JndiRmiProxyFactoryBean's automatic detection of such invokers. With an RMI invoker, RMI communication works on the RmiInvocationHandler level, needing only one stub for any service. Service interfaces do not have to extend The JNDI environment can be specified as "jndiEnvironment" bean property, or be configured in a
|
org.springframework.jndi.JndiTemplateEditor |
Properties editor for JndiTemplate objects. Allows properties of type JndiTemplate to be populated with a properties-format string. |
org.springframework.scheduling.quartz.JobDetailFactoryBean |
A Spring FactoryBean for creating a Quartz org.quartz.JobDetail instance, supporting bean-style usage for JobDetail configuration.
|
org.springframework.scheduling.quartz.JobMethodInvocationFailedException |
Unchecked exception that wraps an exception thrown from a target method. Propagated to the Quartz scheduler from a Job that reflectively invokes an arbitrary target method. |
org.springframework.format.datetime.joda.JodaDateTimeFormatAnnotationFormatterFactory |
Formats fields annotated with the DateTimeFormat annotation using Joda-Time. NOTE: Spring's Joda-Time support requires Joda-Time 2.x, as of Spring 4.0. |
org.springframework.format.datetime.joda.JodaTimeContext |
A context that holds user-specific Joda-Time settings such as the user's Chronology (calendar system) and time zone. A |
org.springframework.format.datetime.joda.JodaTimeContextHolder |
A holder for a thread-local JodaTimeContext with user-specific Joda-Time settings. |
org.springframework.format.datetime.joda.JodaTimeFormatterRegistrar |
Configures Joda-Time's formatting system for use with Spring. NOTE: Spring's Joda-Time support requires Joda-Time 2.x, as of Spring 4.0. |
org.springframework.orm.jpa.JpaDialect |
SPI strategy that encapsulates certain functionality that standard JPA 2.1 does not offer, such as access to the underlying JDBC Connection. This strategy is mainly intended for standalone usage of a JPA provider; most of its functionality is not relevant when running with JTA transactions. In general, it is recommended to derive from DefaultJpaDialect instead of implementing this interface directly. This allows for inheriting common behavior (present and future) from DefaultJpaDialect, only overriding specific hooks to plug in concrete vendor-specific behavior. |
org.springframework.orm.jpa.JpaObjectRetrievalFailureException |
JPA-specific subclass of ObjectRetrievalFailureException. Converts JPA's EntityNotFoundException. |
org.springframework.orm.jpa.JpaOptimisticLockingFailureException |
JPA-specific subclass of ObjectOptimisticLockingFailureException. Converts JPA's OptimisticLockException. |
org.springframework.orm.jpa.JpaSystemException |
JPA-specific subclass of UncategorizedDataAccessException, for JPA system errors that do not match any concrete |
org.springframework.test.web.reactive.server.JsonPathAssertions |
JsonPath assertions. |
org.springframework.test.web.servlet.result.JsonPathResultMatchers |
Factory for assertions on the response content using JsonPath expressions. An instance of this class is typically accessed via |
org.springframework.web.servlet.mvc.method.annotation.JsonViewRequestBodyAdvice |
A RequestBodyAdvice implementation that adds support for Jackson's The deserialization view specified in the annotation will be passed in to the org.springframework.http.converter.json.MappingJackson2HttpMessageConverter which will then use it to deserialize the request body with. Note that despite |
org.springframework.web.servlet.mvc.method.annotation.JsonViewResponseBodyAdvice |
A ResponseBodyAdvice implementation that adds support for Jackson's The serialization view specified in the annotation will be passed in to the org.springframework.http.converter.json.MappingJackson2HttpMessageConverter which will then use it to serialize the response body. Note that despite |
org.springframework.http.converter.json.JsonbHttpMessageConverter |
Implementation of org.springframework.http.converter.HttpMessageConverter that can read and write JSON using the JSON Binding API. This converter can be used to bind to typed beans or untyped |
org.springframework.web.socket.sockjs.transport.handler.JsonpPollingTransportHandler |
A TransportHandler that sends messages via JSONP polling. |
org.springframework.web.socket.sockjs.transport.handler.JsonpReceivingTransportHandler |
A TransportHandler that receives messages over HTTP. |
org.springframework.web.servlet.support.JspAwareRequestContext |
JSP-aware (and JSTL-aware) subclass of RequestContext, allowing for population of the context from a This context will detect a JSTL locale attribute in page/request/session/application scope, in addition to the fallback locale strategy provided by the base class. |
org.springframework.format.datetime.standard.Jsr310DateTimeFormatAnnotationFormatterFactory |
Formats fields annotated with the DateTimeFormat annotation using the JSR-310 |
org.springframework.context.annotation.Jsr330ScopeMetadataResolver |
Simple ScopeMetadataResolver implementation that follows JSR-330 scoping rules: defaulting to prototype scope unless javax.inject.Singleton is present. This scope resolver can be used with ClassPathBeanDefinitionScanner and AnnotatedBeanDefinitionReader for standard JSR-330 compliance. However, in practice, you will typically use Spring's rich default scoping instead - or extend this resolver with custom scoping annotations that point to extended Spring scopes. |
org.springframework.format.number.money.Jsr354NumberFormatAnnotationFormatterFactory |
Formats javax.money.MonetaryAmount fields annotated with Spring's common NumberFormat annotation. |
org.springframework.web.servlet.view.JstlView |
Specialization of InternalResourceView for JSTL pages, i.e. JSP pages that use the JSP Standard Tag Library. Exposes JSTL-specific request attributes specifying locale and resource bundle for JSTL's formatting and message tags, using Spring's locale and org.springframework.context.MessageSource. Typical usage with InternalResourceViewResolver would look as follows, from the perspective of the DispatcherServlet context definition: Every view name returned from a handler will be translated to a JSP resource (for example: "myView" -> "/WEB-INF/jsp/myView.jsp"), using this view class to enable explicit JSTL support.
The specified MessageSource loads messages from "messages.properties" etc files in the class path. This will automatically be exposed to views as JSTL localization context, which the JSTL fmt tags (message etc) will use. Consider using Spring's ReloadableResourceBundleMessageSource instead of the standard ResourceBundleMessageSource for more sophistication. Of course, any other Spring components can share the same MessageSource. This is a separate class mainly to avoid JSTL dependencies in InternalResourceView itself. JSTL has not been part of standard J2EE up until J2EE 1.4, so we can't assume the JSTL API jar to be available on the class path. Hint: Set the |
org.springframework.transaction.jta.JtaAfterCompletionSynchronization |
Adapter for a JTA Synchronization, invoking the |
org.springframework.transaction.annotation.JtaTransactionAnnotationParser |
Strategy implementation for parsing JTA 1.2's javax.transaction.Transactional annotation. |
org.springframework.transaction.config.JtaTransactionManagerBeanDefinitionParser |
Parser for the <tx:jta-transaction-manager/> XML configuration element, autodetecting WebLogic and WebSphere servers and exposing the corresponding org.springframework.transaction.jta.JtaTransactionManager subclass. |
org.springframework.transaction.config.JtaTransactionManagerFactoryBean |
A FactoryBean equivalent to the <tx:jta-transaction-manager/> XML element, autodetecting WebLogic and WebSphere servers and exposing the corresponding org.springframework.transaction.jta.JtaTransactionManager subclass. |
org.springframework.jmx.export.naming.KeyNamingStrategy |
Can also check object name mappings, given as |
org.springframework.core.KotlinDetector |
A common delegate for detecting Kotlin's presence and for identifying Kotlin types. |
org.springframework.core.KotlinReflectionParameterNameDiscoverer |
ParameterNameDiscoverer implementation which uses Kotlin's reflection facilities for introspecting parameter names. Compared to StandardReflectionParameterNameDiscoverer, it allows in addition to determine interface parameter names without requiring Java 8 -parameters compiler flag. |
org.springframework.web.servlet.tags.form.LabelTag |
The See the "formTags" showcase application that ships with the full Spring distribution for an example of this class in action. Attribute Summary Attribute Required? Runtime Expression? Description cssClass false true HTML Optional Attribute. cssErrorClass false true HTML Optional Attribute. Used only when errors are present. cssStyle false true HTML Optional Attribute dir false true HTML Standard Attribute for false true HTML Standard Attribute htmlEscape false true Enable/disable HTML escaping of rendered values. id false true HTML Standard Attribute lang false true HTML Standard Attribute onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onkeydown false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onmousedown false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onmouseover false true HTML Event Attribute onmouseup false true HTML Event Attribute path true true Path to errors object for data binding tabindex false true HTML Standard Attribute title false true HTML Standard Attribute |
org.springframework.scripting.config.LangNamespaceHandler |
|
org.springframework.scripting.config.LangNamespaceUtils | |
org.springframework.web.servlet.mvc.LastModified |
Supports last-modified HTTP requests to facilitate content caching. Same contract as for the Servlet API's Delegated to by a Note: Alternative handler implementation approaches have different last-modified handling styles. For example, Spring 2.5's annotated controller approach (using |
org.springframework.context.annotation.Lazy |
Indicates whether a bean is to be lazily initialized. May be used on any class directly or indirectly annotated with or on methods annotated with Bean. If this annotation is not present on a If Lazy is present on a Configuration class, this indicates that all In addition to its role for component initialization, this annotation may also be placed on injection points marked with org.springframework.beans.factory.annotation.Autowired or javax.inject.Inject: In that context, it leads to the creation of a lazy-resolution proxy for all affected dependencies, as an alternative to using org.springframework.beans.factory.ObjectFactory or javax.inject.Provider. |
org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy |
Proxy for a target DataSource, fetching actual JDBC Connections lazily, i.e. not until first creation of a Statement. Connection initialization properties like auto-commit mode, transaction isolation and read-only mode will be kept and applied to the actual JDBC Connection as soon as an actual Connection is fetched (if ever). Consequently, commit and rollback calls will be ignored if no Statements have been created. This DataSource proxy allows to avoid fetching JDBC Connections from a pool unless actually necessary. JDBC transaction control can happen without fetching a Connection from the pool or communicating with the database; this will be done lazily on first creation of a JDBC Statement. If you configure both a LazyConnectionDataSourceProxy and a TransactionAwareDataSourceProxy, make sure that the latter is the outermost DataSource. In such a scenario, data access code will talk to the transaction-aware DataSource, which will in turn work with the LazyConnectionDataSourceProxy. Lazy fetching of physical JDBC Connections is particularly beneficial in a generic transaction demarcation environment. It allows you to demarcate transactions on all methods that could potentially perform data access, without paying a performance penalty if no actual data access happens. This DataSource proxy gives you behavior analogous to JTA and a transactional JNDI DataSource (as provided by the Java EE server), even with a local transaction strategy like DataSourceTransactionManager or HibernateTransactionManager. It does not add value with Spring's JtaTransactionManager as transaction strategy. Lazy fetching of JDBC Connections is also recommended for read-only operations with Hibernate, in particular if the chances of resolving the result in the second-level cache are high. This avoids the need to communicate with the database at all for such read-only operations. You will get the same effect with non-transactional reads, but lazy fetching of JDBC Connections allows you to still perform reads in transactions. NOTE: This DataSource proxy needs to return wrapped Connections (which implement the ConnectionProxy interface) in order to handle lazy fetching of an actual JDBC Connection. Use |
org.springframework.aop.target.LazyInitTargetSource |
org.springframework.aop.TargetSource that lazily accesses a singleton bean from a org.springframework.beans.factory.BeanFactory. Useful when a proxy reference is needed on initialization but the actual target object should not be initialized until first use. When the target bean is defined in an org.springframework.context.ApplicationContext (or a For example: The "serviceTarget" bean will not get initialized until a method on the "service" proxy gets invoked.
Subclasses can extend this class and override the |
org.springframework.aop.framework.autoproxy.target.LazyInitTargetSourceCreator |
TargetSourceCreator that enforces a LazyInitTargetSource for each bean that is defined as "lazy-init". This will lead to a proxy created for each of those beans, allowing to fetch a reference to such a bean without actually initializing the target bean instance. To be registered as custom TargetSourceCreator for an auto-proxy creator, in combination with custom interceptors for specific beans or for the creation of lazy-init proxies only. For example, as autodetected infrastructure bean in an XML application context definition:
|
org.springframework.aop.aspectj.annotation.LazySingletonAspectInstanceFactoryDecorator |
Decorator to cause a MetadataAwareAspectInstanceFactory to instantiate only once. |
org.springframework.util.LinkedCaseInsensitiveMap |
LinkedHashMap variant that stores String keys in a case-insensitive manner, for example for key-based access in a results table. Preserves the original order as well as the original casing of keys, while allowing for contains, get and remove calls with any case of key. Does not support |
org.springframework.beans.factory.config.ListFactoryBean |
Simple factory for shared List instances. Allows for central setup of Lists via the "list" element in XML bean definitions. |
org.springframework.util.concurrent.ListenableFutureAdapter |
Abstract class that adapts a ListenableFuture parameterized over S into a |
org.springframework.messaging.handler.invocation.ListenableFutureReturnValueHandler |
Support for ListenableFuture as a return value type. |
org.springframework.util.concurrent.ListenableFutureTask |
Extension of FutureTask that implements ListenableFuture. |
org.springframework.jms.listener.adapter.ListenerExecutionFailedException |
Exception to be thrown when the execution of a listener method failed. |
org.springframework.expression.spel.ast.Literal |
Common superclass for nodes representing literals (boolean, string, number, etc). |
org.springframework.expression.common.LiteralExpression |
A very simple hardcoded implementation of the Expression interface that represents a string literal. It is used with CompositeStringExpression when representing a template expression which is made up of pieces - some being real expressions to be handled by an EL implementation like SpEL, and some being just textual elements. |
org.springframework.context.support.LiveBeansView |
Adapter for live beans view exposure, building a snapshot of current beans and their dependencies from either a local Note: This feature is still in beta and primarily designed for use with Spring Tool Suite 3.1 and higher. |
org.springframework.context.support.LiveBeansViewMBean |
MBean operation interface for the LiveBeansView feature. |
org.springframework.web.context.support.LiveBeansViewServlet |
Servlet variant of LiveBeansView's MBean exposure. Generates a JSON snapshot for current beans and their dependencies in all ApplicationContexts that live within the current web application. |
org.springframework.context.weaving.LoadTimeWeaverAwareProcessor |
org.springframework.beans.factory.config.BeanPostProcessor implementation that passes the context's default LoadTimeWeaver to beans that implement the LoadTimeWeaverAware interface. org.springframework.context.ApplicationContext will automatically register this with their underlying BeanFactory, provided that a default Applications should not use this class directly. |
org.springframework.context.annotation.LoadTimeWeavingConfigurer |
Interface to be implemented by org.springframework.context.annotation.Configuration classes annotated with EnableLoadTimeWeaving that wish to customize the LoadTimeWeaver instance to be used. See org.springframework.scheduling.annotation.EnableAsync for usage examples and information on how a default |
org.springframework.jdbc.LobRetrievalFailureException |
Exception to be thrown when a LOB could not be retrieved. |
org.springframework.jca.support.LocalConnectionFactoryBean |
org.springframework.beans.factory.FactoryBean that creates a local JCA connection factory in "non-managed" mode (as defined by the Java Connector Architecture specification). This is a direct alternative to a org.springframework.jndi.JndiObjectFactoryBean definition that obtains a connection factory handle from a Java EE server's naming environment. The type of the connection factory is dependent on the actual connector: the connector can either expose its native API (such as a JDBC javax.sql.DataSource or a JMS javax.jms.ConnectionFactory) or follow the standard Common Client Interface (CCI), as defined by the JCA spec. The exposed interface in the CCI case is javax.resource.cci.ConnectionFactory. In order to use this FactoryBean, you must specify the connector's NOTE: In non-managed mode, a connector is not deployed on an application server, or more specificially not interacting with an application server. Consequently, it cannot use a Java EE server's system contracts: connection management, transaction management, and security management. A custom ConnectionManager implementation has to be used for applying those services in conjunction with a standalone transaction coordinator etc. The connector will use a local ConnectionManager (included in the connector) by default, which cannot participate in global transactions due to the lack of XA enlistment. You need to specify an XA-capable ConnectionManager in order to make the connector interact with an XA transaction coordinator. Alternatively, simply use the native local transaction facilities of the exposed API (e.g. CCI local transactions), or use a corresponding implementation of Spring's PlatformTransactionManager SPI (e.g. org.springframework.jca.cci.connection.CciLocalTransactionManager) to drive local transactions. |
org.springframework.scheduling.quartz.LocalDataSourceJobStore |
Subclass of Quartz's JobStoreCMT class that delegates to a Spring-managed DataSource instead of using a Quartz-managed connection pool. This JobStore will be used if SchedulerFactoryBean's "dataSource" property is set. Supports both transactional and non-transactional DataSource access. With a non-XA DataSource and local Spring transactions, a single DataSource argument is sufficient. In case of an XA DataSource and global JTA transactions, SchedulerFactoryBean's "nonTransactionalDataSource" property should be set, passing in a non-XA DataSource that will not participate in global transactions. Operations performed by this JobStore will properly participate in any kind of Spring-managed transaction, as it uses Spring's DataSourceUtils connection handling methods that are aware of a current transaction. Note that all Quartz Scheduler operations that affect the persistent job store should usually be performed within active transactions, as they assume to get proper locks etc. |
org.springframework.format.datetime.joda.LocalDateParser |
Parses Joda org.joda.time.LocalDate instances using a org.joda.time.format.DateTimeFormatter. |
org.springframework.format.datetime.joda.LocalDateTimeParser |
Parses Joda org.joda.time.LocalDateTime instances using a org.joda.time.format.DateTimeFormatter. |
org.springframework.orm.jpa.LocalEntityManagerFactoryBean |
org.springframework.beans.factory.FactoryBean that creates a JPA javax.persistence.EntityManagerFactory according to JPA's standard standalone bootstrap contract. This is the simplest way to set up a shared JPA EntityManagerFactory in a Spring application context; the EntityManagerFactory can then be passed to JPA-based DAOs via dependency injection. Note that switching to a JNDI lookup or to a LocalContainerEntityManagerFactoryBean definition is just a matter of configuration! Configuration settings are usually read from a This EntityManagerFactory bootstrap is appropriate for standalone applications which solely use JPA for data access. If you want to set up your persistence provider for an external DataSource and/or for global transactions which span multiple resources, you will need to either deploy it into a full Java EE application server and access the deployed EntityManagerFactory via JNDI, or use Spring's LocalContainerEntityManagerFactoryBean with appropriate configuration for local setup according to JPA's container contract. Note: This FactoryBean has limited configuration power in terms of what configuration it is able to pass to the JPA provider. If you need more flexible configuration, for example passing a Spring-managed JDBC DataSource to the JPA provider, consider using Spring's more powerful LocalContainerEntityManagerFactoryBean instead. NOTE: Spring's JPA support requires JPA 2.1 or higher, as of Spring 5.0. JPA 1.0/2.0 based applications are still supported; however, a JPA 2.1 compliant persistence provider is needed at runtime. |
org.springframework.remoting.jaxws.LocalJaxWsServiceFactory |
Factory for locally defined JAX-WS javax.xml.ws.Service references. Uses the JAX-WS Serves as base class for LocalJaxWsServiceFactoryBean as well as JaxWsPortClientInterceptor and JaxWsPortProxyFactoryBean. |
org.springframework.remoting.jaxws.LocalJaxWsServiceFactoryBean |
org.springframework.beans.factory.FactoryBean for locally defined JAX-WS Service references. Uses LocalJaxWsServiceFactory's facilities underneath. Alternatively, JAX-WS Service references can be looked up in the JNDI environment of the Java EE container. |
org.springframework.orm.hibernate5.LocalSessionFactoryBuilder |
A Spring-provided extension of the standard Hibernate Configuration class, adding SpringSessionContext as a default and providing convenient ways to specify a DataSource and an application class loader. This is designed for programmatic use, e.g. in Compatible with Hibernate 5.0/5.1 as well as 5.2, as of Spring 4.3. |
org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean |
Convenient FactoryBean for local Stateless Session Bean (SLSB) proxies. Designed for EJB 2.x, but works for EJB 3 Session Beans as well. See org.springframework.jndi.JndiObjectLocator for info on how to specify the JNDI location of the target EJB. If you want control over interceptor chaining, use an AOP ProxyFactoryBean with LocalSlsbInvokerInterceptor rather than rely on this class. In a bean container, this class is normally best used as a singleton. However, if that bean container pre-instantiates singletons (as do the XML ApplicationContext variants) you may have a problem if the bean container is loaded before the EJB container loads the target EJB. That is because by default the JNDI lookup will be performed in the init method of this class and cached, but the EJB will not have been bound at the target location yet. The best solution is to set the "lookupHomeOnStartup" property to "false", in which case the home will be fetched on first access to the EJB. (This flag is only true by default for backwards compatibility reasons). |
org.springframework.scheduling.quartz.LocalTaskExecutorThreadPool |
Quartz ThreadPool adapter that delegates to a Spring-managed TaskExecutor instance, specified on SchedulerFactoryBean. |
org.springframework.format.datetime.joda.LocalTimeParser |
Parses Joda org.joda.time.LocalTime instances using a org.joda.time.format.DateTimeFormatter. |
org.springframework.validation.beanvalidation.LocalValidatorFactoryBean |
This is the central class for When talking to an instance of this bean through the Spring or JSR-303 Validator interfaces, you'll be talking to the default Validator of the underlying ValidatorFactory. This is very convenient in that you don't have to perform yet another call on the factory, assuming that you will almost always use the default Validator anyway. This can also be injected directly into any target dependency of type org.springframework.validation.Validator! As of Spring 5.0, this class requires Bean Validation 1.1+, with special support for Hibernate Validator 5.x (see This class is also being used by Spring's MVC configuration namespace, in case of the |
org.springframework.core.LocalVariableTableParameterNameDiscoverer |
Implementation of ParameterNameDiscoverer that uses the LocalVariableTable information in the method attributes to discover parameter names. Returns Uses ObjectWeb's ASM library for analyzing class files. Each discoverer instance caches the ASM discovered information for each introspected Class, in a thread-safe manner. It is recommended to reuse ParameterNameDiscoverer instances as far as possible. |
org.springframework.web.servlet.i18n.LocaleChangeInterceptor |
Interceptor that allows for changing the current locale on every request, via a configurable request parameter (default parameter name: "locale"). |
org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator |
Delegates to a target MessageInterpolator implementation but enforces Spring's managed Locale. Typically used to wrap the validation provider's default interpolator. |
org.springframework.beans.propertyeditors.LocaleEditor |
Editor for Expects the same syntax as Locale's |
org.springframework.core.io.support.LocalizedResourceHelper |
Helper class for loading a localized resource, specified through name, extension and current locale. |
org.springframework.beans.factory.parsing.Location |
Class that models an arbitrary location in a Resource. Typically used to track the location of problematic or erroneous metadata in XML configuration files. For example, a |
org.springframework.web.socket.handler.LoggingWebSocketHandlerDecorator |
A WebSocketHandlerDecorator that adds logging to WebSocket lifecycle events. |
org.springframework.expression.spel.ast.LongLiteral |
Expression language AST node that represents a long integer literal. |
org.springframework.beans.factory.annotation.Lookup |
An annotation that indicates 'lookup' methods, to be overridden by the container to redirect them back to the org.springframework.beans.factory.BeanFactory for a The resolution of the target bean can either be based on the return type ( Such lookup methods can have default (stub) implementations that will simply get replaced by the container, or they can be declared as abstract - for the container to fill them in at runtime. In both cases, the container will generate runtime subclasses of the method's containing class via CGLIB, which is why such lookup methods can only work on beans that the container instantiates through regular constructors: i.e. lookup methods cannot get replaced on beans returned from factory methods where we cannot dynamically provide a subclass for them. Concrete limitations in typical Spring configuration scenarios: When used with component scanning or any other mechanism that filters out abstract beans, provide stub implementations of your lookup methods to be able to declare them as concrete classes. And please remember that lookup methods won't work on beans returned from |
org.springframework.beans.factory.support.LookupOverride |
Represents an override of a method that looks up an object in the same IoC context. Methods eligible for lookup override must not have arguments. |
org.springframework.jmx.access.MBeanConnectFailureException |
Thrown when an invocation failed because of an I/O problem on the MBeanServerConnection. |
org.springframework.context.annotation.MBeanExportConfiguration |
This configuration class is automatically imported when using the EnableMBeanExport annotation. See its javadoc for complete usage details. |
org.springframework.jmx.export.MBeanExportException |
Exception thrown in case of failure when exporting an MBean. |
org.springframework.jmx.export.MBeanExporterListener |
A listener that allows application code to be notified when an MBean is registered and unregistered via an MBeanExporter. |
org.springframework.jmx.access.MBeanInfoRetrievalException |
Thrown if an exception is encountered when trying to retrieve MBean metadata. |
org.springframework.jmx.access.MBeanProxyFactoryBean |
Creates a proxy to a managed resource running either locally or remotely. The "proxyInterface" property defines the interface that the generated proxy is supposed to implement. This interface should define methods and properties that correspond to operations and attributes in the management interface of the resource you wish to proxy. There is no need for the managed resource to implement the proxy interface, although you may find it convenient to do. It is not required that every operation and attribute in the management interface is matched by a corresponding property or method in the proxy interface. Attempting to invoke or access any method or property on the proxy interface that does not correspond to the management interface will lead to an |
org.springframework.jmx.support.MBeanServerConnectionFactoryBean |
FactoryBean that creates a JMX 1.2 |
org.springframework.jmx.support.MBeanServerFactoryBean |
FactoryBean that obtains an javax.management.MBeanServer reference through the standard JMX 1.2 javax.management.MBeanServerFactory API (which is available on JDK 1.5 or as part of a JMX 1.2 provider). Exposes the By default, |
org.springframework.jmx.MBeanServerNotFoundException |
Exception thrown when we cannot locate an instance of an |
org.springframework.mail.MailAuthenticationException |
Exception thrown on failed authentication. |
org.springframework.mail.MailParseException |
Exception thrown if illegal message properties are encountered. |
org.springframework.mail.MailPreparationException |
Exception to be thrown by user code if a mail cannot be prepared properly, for example when a FreeMarker template cannot be rendered for the mail text. |
org.springframework.mail.MailSendException |
Exception thrown when a mail sending error is encountered. Can register failed messages with their exceptions. |
org.springframework.beans.factory.support.ManagedArray |
Tag collection class used to hold managed array elements, which may include runtime bean references (to be resolved into bean objects). |
org.springframework.jmx.export.metadata.ManagedAttribute |
Metadata that indicates to expose a given bean property as JMX attribute. Only valid when used on a JavaBean getter or setter. |
org.springframework.jmx.export.annotation.ManagedAttribute |
Method-level annotation that indicates to expose a given bean property as a JMX attribute, corresponding to the |
org.springframework.beans.factory.support.ManagedList |
Tag collection class used to hold managed List elements, which may include runtime bean references (to be resolved into bean objects). |
org.springframework.beans.factory.support.ManagedMap |
Tag collection class used to hold managed Map values, which may include runtime bean references (to be resolved into bean objects). |
org.springframework.jmx.export.metadata.ManagedMetric |
Metadata that indicates to expose a given bean property as a JMX attribute, with additional descriptor properties that indicate that the attribute is a metric. Only valid when used on a JavaBean getter. |
org.springframework.jmx.export.annotation.ManagedMetric |
Method-level annotation that indicates to expose a given bean property as a JMX attribute, with added descriptor properties to indicate that it is a metric. Only valid when used on a JavaBean getter. |
org.springframework.jmx.export.annotation.ManagedNotifications |
Type-level annotation that indicates JMX notifications emitted by a bean, containing multiple ManagedNotification. |
org.springframework.jmx.export.metadata.ManagedOperation |
Metadata that indicates to expose a given method as JMX operation. Only valid when used on a method that is not a JavaBean getter or setter. |
org.springframework.jmx.export.annotation.ManagedOperation |
Method-level annotation that indicates to expose a given method as a JMX operation, corresponding to the |
org.springframework.jmx.export.annotation.ManagedOperationParameters |
Method-level annotation used to provide metadata about operation parameters, corresponding to an array of |
org.springframework.beans.factory.support.ManagedProperties |
Tag class which represents a Spring-managed Properties instance that supports merging of parent/child definitions. |
org.springframework.jmx.export.annotation.ManagedResource |
Class-level annotation that indicates to register instances of a class with a JMX server, corresponding to the Note: This annotation is marked as inherited, allowing for generic management-aware base classes. In such a scenario, it is recommended to not specify an object name value since this would lead to naming collisions in case of multiple subclasses getting registered. |
org.springframework.beans.factory.support.ManagedSet |
Tag collection class used to hold managed Set values, which may include runtime bean references (to be resolved into bean objects). |
org.springframework.transaction.jta.ManagedTransactionAdapter |
Adapter for a managed JTA Transaction handle, taking a JTA javax.transaction.TransactionManager reference and creating a JTA javax.transaction.Transaction handle for it. |
org.springframework.context.expression.MapAccessor |
EL property accessor that knows how to traverse the keys of a standard java.util.Map. |
org.springframework.validation.MapBindingResult |
Map-based implementation of the BindingResult interface, supporting registration and evaluation of binding errors on Map attributes. Can be used as errors holder for custom binding onto a Map, for example when invoking a Validator for a Map object. |
org.springframework.jdbc.datasource.lookup.MapDataSourceLookup |
Simple DataSourceLookup implementation that relies on a map for doing lookups. Useful for testing environments or applications that need to match arbitrary String names to target DataSource objects. |
org.springframework.beans.factory.config.MapFactoryBean |
Simple factory for shared Map instances. Allows for central setup of Maps via the "map" element in XML bean definitions. |
org.springframework.web.method.annotation.MapMethodProcessor |
Resolves Map method arguments and handles Map return values. A Map return value can be interpreted in more than one ways depending on the presence of annotations like |
org.springframework.web.bind.annotation.Mapping |
Meta annotation that indicates a web mapping annotation. |
org.springframework.jca.cci.object.MappingCommAreaOperation |
EIS operation object for access to COMMAREA records. Subclass of the generic MappingRecordOperation class. |
org.springframework.http.converter.cbor.MappingJackson2CborHttpMessageConverter |
Implementation of org.springframework.http.converter.HttpMessageConverter that can read and write CBOR data format using the dedicated Jackson 2.x extension. By default, this converter supports The default constructor uses the default configuration provided by Jackson2ObjectMapperBuilder. Compatible with Jackson 2.9 and higher. |
org.springframework.http.converter.json.MappingJackson2HttpMessageConverter |
Implementation of org.springframework.http.converter.HttpMessageConverter that can read and write JSON using Jackson 2.x's ObjectMapper. This converter can be used to bind to typed beans, or untyped By default, this converter supports The default constructor uses the default configuration provided by Jackson2ObjectMapperBuilder. Compatible with Jackson 2.9 and higher, as of Spring 5.0. |
org.springframework.web.servlet.view.json.MappingJackson2JsonView |
Spring MVC View that renders JSON content by serializing the model for the current request using Jackson 2's ObjectMapper. By default, the entire contents of the model map (with the exception of framework-specific classes) will be encoded as JSON. If the model contains only one key, you can have it extracted encoded as JSON alone via The default constructor uses the default configuration provided by Jackson2ObjectMapperBuilder. Compatible with Jackson 2.6 and higher, as of Spring 4.3. |
org.springframework.jms.support.converter.MappingJackson2MessageConverter |
Message converter that uses Jackson 2.x to convert messages to and from JSON. Maps an object to a BytesMessage, or to a TextMessage if the It customizes Jackson's default properties with the following ones:
Compatible with Jackson 2.6 and higher, as of Spring 4.3. |
org.springframework.http.converter.smile.MappingJackson2SmileHttpMessageConverter |
Implementation of org.springframework.http.converter.HttpMessageConverter that can read and write Smile data format ("binary JSON") using the dedicated Jackson 2.x extension. By default, this converter supports The default constructor uses the default configuration provided by Jackson2ObjectMapperBuilder. Compatible with Jackson 2.9 and higher. |
org.springframework.http.converter.xml.MappingJackson2XmlHttpMessageConverter |
Implementation of org.springframework.http.converter.HttpMessageConverter that can read and write XML using Jackson 2.x extension component for reading and writing XML encoded data. By default, this converter supports The default constructor uses the default configuration provided by Jackson2ObjectMapperBuilder. Compatible with Jackson 2.9 and higher, as of Spring 5.0. |
org.springframework.web.servlet.view.xml.MappingJackson2XmlView |
Spring MVC View that renders XML content by serializing the model for the current request using Jackson 2's XmlMapper. The Object to be serialized is supplied as a parameter in the model. The first serializable entry is used. Users can either specify a specific entry in the model via the The default constructor uses the default configuration provided by Jackson2ObjectMapperBuilder. Compatible with Jackson 2.6 and higher, as of Spring 4.3. |
org.springframework.http.converter.json.MappingJacksonInputMessage |
HttpInputMessage that can eventually stores a Jackson view that will be used to deserialize the message. |
org.springframework.http.converter.json.MappingJacksonValue |
A simple holder for the POJO to serialize via MappingJackson2HttpMessageConverter along with further serialization instructions to be passed in to the converter. On the server side this wrapper is added with a On the client side, simply wrap the POJO and pass it in to the |
org.springframework.jdbc.object.MappingSqlQuery |
Reusable query in which concrete subclasses must implement the abstract mapRow(ResultSet, int) method to convert each row of the JDBC ResultSet into an object. Simplifies MappingSqlQueryWithParameters API by dropping parameters and context. Most subclasses won't care about parameters. If you don't use contextual information, subclass this instead of MappingSqlQueryWithParameters. |
org.springframework.oxm.MarshallingException |
Base class for exception thrown when a marshalling or unmarshalling error occurs. |
org.springframework.http.converter.xml.MarshallingHttpMessageConverter |
Implementation of org.springframework.http.converter.HttpMessageConverter that can read and write XML using Spring's Marshaller and Unmarshaller abstractions. This converter requires a By default, this converter supports |
org.springframework.jms.support.converter.MarshallingMessageConverter |
Spring JMS MessageConverter that uses a Marshaller and Unmarshaller. Marshals an object to a BytesMessage, or to a TextMessage if the |
org.springframework.messaging.converter.MarshallingMessageConverter |
Implementation of MessageConverter that can read and write XML using Spring's Marshaller and Unmarshaller abstractions. This converter requires a |
org.springframework.oxm.support.MarshallingSource |
Source implementation that uses a Marshaller.Can be constructed with a Even though |
org.springframework.web.servlet.view.xml.MarshallingView |
Spring-MVC View that allows for response context to be rendered as the result of marshalling by a Marshaller. The Object to be marshalled is supplied as a parameter in the model and then detected during response rendering. Users can either specify a specific entry in the model via the |
org.springframework.transaction.interceptor.MatchAlwaysTransactionAttributeSource |
Very simple implementation of TransactionAttributeSource which will always return the same TransactionAttribute for all methods fed to it. The TransactionAttribute may be specified, but will otherwise default to PROPAGATION_REQUIRED. This may be used in the cases where you want to use the same transaction attribute with all methods being handled by a transaction interceptor. |
org.springframework.web.bind.annotation.MatrixVariable |
Annotation which indicates that a method parameter should be bound to a name-value pair within a path segment. Supported for RequestMapping annotated handler methods in Servlet environments. If the method parameter type is java.util.Map and a matrix variable name is specified, then the matrix variable value is converted to a java.util.Map assuming an appropriate conversion strategy is available. If the method parameter is java.util.Map or org.springframework.util.MultiValueMap and a variable name is not specified, then the map is populated with all matrix variable names and values. |
org.springframework.web.reactive.result.method.annotation.MatrixVariableMapMethodArgumentResolver |
Resolves arguments of type Map annotated with where |
org.springframework.web.servlet.mvc.method.annotation.MatrixVariableMapMethodArgumentResolver |
Resolves arguments of type Map annotated with where |
org.springframework.web.reactive.result.method.annotation.MatrixVariableMethodArgumentResolver |
Resolves arguments annotated with MatrixVariable. If the method parameter is of type Map it will by resolved by MatrixVariableMapMethodArgumentResolver instead unless the annotation specifies a name in which case it is considered to be a single attribute of type map (vs multiple attributes collected in a map). |
org.springframework.web.servlet.mvc.method.annotation.MatrixVariableMethodArgumentResolver |
Resolves arguments annotated with MatrixVariable. If the method parameter is of type Map it will by resolved by MatrixVariableMapMethodArgumentResolver instead unless the annotation specifies a name in which case it is considered to be a single attribute of type map (vs multiple attributes collected in a map). |
org.springframework.web.multipart.MaxUploadSizeExceededException |
MultipartException subclass thrown when an upload exceeds the maximum upload size allowed. |
org.springframework.http.MediaTypeEditor |
java.beans.PropertyEditor for MediaType descriptors, to automatically convert |
org.springframework.web.reactive.result.condition.MediaTypeExpression |
A contract for media type expressions (e.g. "text/plain", "!text/plain") as defined in the |
org.springframework.web.servlet.mvc.condition.MediaTypeExpression |
A contract for media type expressions (e.g. "text/plain", "!text/plain") as defined in the |
org.springframework.http.MediaTypeFactory |
A factory delegate for resolving MediaType objects from Resource handles or filenames. |
org.springframework.web.server.MediaTypeNotSupportedStatusException |
Exception for errors that fit response status 415 (unsupported media type). |
org.springframework.beans.Mergeable |
Interface representing an object whose value set can be merged with that of a parent object. |
org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor |
Post-processor callback interface for merged bean definitions at runtime. BeanPostProcessor implementations may implement this sub-interface in order to post-process the merged bean definition (a processed copy of the original bean definition) that the Spring The |
org.springframework.messaging.simp.config.MessageBrokerRegistry |
A registry for configuring message broker options. |
org.springframework.messaging.support.MessageBuilder |
A builder for creating a GenericMessage (or ErrorMessage if the payload is of type Throwable). |
org.springframework.messaging.handler.MessageCondition |
Contract for mapping conditions to messages. Message conditions can be combined (e.g. type + method-level conditions), matched to a specific Message, as well as compared to each other in the context of a Message to determine which one matches a request more closely. |
org.springframework.jms.support.converter.MessageConversionException |
Thrown by MessageConverter implementations when the conversion of an object to/from a javax.jms.Message fails. |
org.springframework.messaging.converter.MessageConversionException |
An exception raised by MessageConverter implementations. |
org.springframework.jms.core.MessageCreator |
Creates a JMS message given a Session. The Implementations do not need to concern themselves with checked |
org.springframework.messaging.MessageDeliveryException |
Exception that indicates an error occurred during message delivery. |
org.springframework.jms.MessageEOFException |
Runtime exception mirroring the JMS MessageEOFException. |
org.springframework.messaging.handler.annotation.MessageExceptionHandler |
Annotation for handling exceptions thrown from message-handling methods within a specific handler class. |
org.springframework.jms.MessageFormatException |
Runtime exception mirroring the JMS MessageFormatException. |
org.springframework.messaging.MessageHandlingException |
Exception that indicates an error occurred during message handling. |
org.springframework.messaging.support.MessageHandlingRunnable |
Extension of the Runnable interface with methods to obtain the MessageHandler and Message to be handled. |
org.springframework.jms.listener.adapter.MessageListenerAdapter |
Message listener adapter that delegates the handling of messages to target listener methods via reflection, with flexible message type conversion. Allows listener methods to operate on message content types, completely independent from the JMS API. By default, the content of incoming JMS messages gets extracted before being passed into the target listener method, to let the target method operate on message content types such as String or byte array instead of the raw Message. Message type conversion is delegated to a Spring JMS MessageConverter. By default, a SimpleMessageConverter will be used. (If you do not want such automatic message conversion taking place, then be sure to set the If a target listener method returns a non-null object (typically of a message content type such as Note: The sending of response messages is only available when using the SessionAwareMessageListener entry point (typically through a Spring message listener container). Usage as standard JMS MessageListener does not support the generation of response messages. Find below some examples of method signatures compliant with this adapter class. This first example handles all This next example handles all Message types and gets passed the actual (raw) Message as an argument. Again, no Message will be sent back as all of these methods return void . This next example illustrates a Message delegate that just consumes the String contents of javax.jms.TextMessage. Notice also how the name of the Message handling method is different from the original (this will have to be configured in the attandant bean definition). Again, no Message will be sent back as the method returns void . This final example illustrates a Message delegate that just consumes the String contents of javax.jms.TextMessage. Notice how the return type of this method is String : This will result in the configured MessageListenerAdapter sending a javax.jms.TextMessage in response. For further examples and discussion please do refer to the Spring reference documentation which describes this class (and it's attendant XML configuration) in detail.
|
org.springframework.messaging.handler.annotation.MessageMapping |
Annotation for mapping a Message onto message-handling methods by matching to the message destination. This annotation can also be used on the type-level in which case it defines a common destination prefix or pattern for all method-level annotations including method-level org.springframework.messaging.simp.annotation.SubscribeMapping annotations. Handler methods which are annotated with this annotation are allowed to have flexible signatures. They may have arguments of the following types, in arbitrary order:
A return value will get wrapped as a message and sent to a default response destination or to a custom destination specified with an SendTo method-level annotation. Such a response may also be provided asynchronously via a org.springframework.util.concurrent.ListenableFuture return type or a corresponding JDK 8 java.util.concurrent.CompletableFuture / java.util.concurrent.CompletionStage handle. STOMP over WebSocketAn SendTo annotation is not strictly required — by default the message will be sent to the same destination as the incoming message but with an additional prefix ( NOTE: When using controller interfaces (e.g. for AOP proxying), make sure to consistently put all your mapping annotations - such as |
org.springframework.messaging.handler.annotation.support.MessageMethodArgumentResolver |
|
org.springframework.jms.MessageNotReadableException |
Runtime exception mirroring the JMS MessageNotReadableException. |
org.springframework.jms.MessageNotWriteableException |
Runtime exception mirroring the JMS MessageNotWriteableException. |
org.springframework.jms.core.MessagePostProcessor |
To be used with JmsTemplate's send method that convert an object to a message. It allows for further modification of the message after it has been processed by the converter. This is useful for setting of JMS Header and Properties. This often as an anonymous class within a method implementation. |
org.springframework.context.MessageSourceAware |
Interface to be implemented by any object that wishes to be notified of the MessageSource (typically the ApplicationContext) that it runs in. Note that the MessageSource can usually also be passed on as bean reference (to arbitrary bean properties or constructor arguments), because it is defined as bean with name "messageSource" in the application context. |
org.springframework.context.support.MessageSourceResourceBundle |
Helper class that allows for accessing a Spring org.springframework.context.MessageSource as a java.util.ResourceBundle. Used for example to expose a Spring MessageSource to JSTL web views. |
org.springframework.validation.beanvalidation.MessageSourceResourceBundleLocator |
Implementation of Hibernate Validator 4.3/5.x's ResourceBundleLocator interface, exposing a Spring MessageSource as localized MessageSourceResourceBundle. |
org.springframework.context.support.MessageSourceSupport |
Base class for message source implementations, providing support infrastructure such as java.text.MessageFormat handling but not implementing concrete methods defined in the org.springframework.context.MessageSource. AbstractMessageSource derives from this class, providing concrete |
org.springframework.web.servlet.tags.MessageTag |
The Detects an HTML escaping setting, either on this tag instance, the page level, or the If "code" isn't set or cannot be resolved, "text" will be used as default message. Thus, this tag can also be used for HTML escaping of any texts. Message arguments can be specified via the |
org.springframework.messaging.handler.MessagingAdviceBean |
Represents a Spring-managed bean with cross-cutting functionality to be applied to one or more Spring beans with annotation-based message handling methods. Component stereotypes such as org.springframework.stereotype.Controller with annotation handler methods often need cross-cutting functionality across all or a subset of such annotated components. A primary example of this is the need for "global" annotated exception handler methods but the concept applies more generally. |
org.springframework.jdbc.support.MetaDataAccessException |
Exception indicating that something went wrong during JDBC metadata lookup. This is a checked exception since we want it to be caught, logged and handled rather than cause the application to fail. Failure to read JDBC metadata is usually not a fatal problem. |
org.springframework.jmx.export.naming.MetadataNamingStrategy |
An implementation of the ObjectNamingStrategy interface that reads the Uses the JmxAttributeSource strategy interface, so that metadata can be read using any supported implementation. Out of the box, org.springframework.jmx.export.annotation.AnnotationJmxAttributeSource introspects a well-defined set of Java 5 annotations that come with Spring. |
org.springframework.web.method.annotation.MethodArgumentConversionNotSupportedException |
A ConversionNotSupportedException raised while resolving a method argument. Provides access to the target org.springframework.core.MethodParameter. |
org.springframework.messaging.handler.annotation.support.MethodArgumentNotValidException |
Exception to be thrown when a method argument fails validation perhaps as a result of |
org.springframework.web.bind.MethodArgumentNotValidException |
Exception to be thrown when validation on an argument annotated with |
org.springframework.messaging.handler.invocation.MethodArgumentResolutionException |
Common exception resulting from the invocation of org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver. |
org.springframework.messaging.handler.annotation.support.MethodArgumentTypeMismatchException |
Exception that indicates that a method argument has not the expected type. |
org.springframework.web.method.annotation.MethodArgumentTypeMismatchException |
A TypeMismatchException raised while resolving a controller method argument. Provides access to the target org.springframework.core.MethodParameter. |
org.springframework.context.expression.MethodBasedEvaluationContext |
A method-based org.springframework.expression.EvaluationContext that provides explicit support for method-based invocations. Expose the actual method arguments using the following aliases:
|
org.springframework.aop.MethodBeforeAdvice |
Advice invoked before a method is invoked. Such advices cannot prevent the method call proceeding, unless they throw a Throwable. |
org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor |
Interceptor to wrap am org.springframework.aop.MethodBeforeAdvice. Used internally by the AOP framework; application developers should not need to use this class directly. |
org.springframework.jmx.export.assembler.MethodExclusionMBeanInfoAssembler |
Any method not explicitly excluded from the management interface will be exposed to JMX. JavaBean getters and setters will automatically be exposed as JMX attributes. You can supply an array of method names via the If you specify values for both |
org.aopalliance.intercept.MethodInterceptor |
Intercepts calls on an interface on its way to the target. These are nested "on top" of the target. The user should implement the
|
org.aopalliance.intercept.MethodInvocation |
Description of an invocation to a method, given to an interceptor upon method-call. A method invocation is a joinpoint and can be intercepted by a method interceptor. |
org.springframework.beans.MethodInvocationException |
Thrown when a bean property getter or setter method throws an exception, analogous to an InvocationTargetException. |
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint |
Implementation of AspectJ ProceedingJoinPoint interface wrapping an AOP Alliance MethodInvocation. Note: the Of course there is no such distinction between target and proxy in AspectJ. |
org.springframework.beans.factory.config.MethodInvokingBean |
Simple method invoker bean: just invoking a target method, not expecting a result to expose to the container (in contrast to MethodInvokingFactoryBean). This invoker supports any kind of target method. A static method may be specified by setting the This class depends on An example (in an XML based bean factory definition) of a bean definition which uses this class to call a static initialization method:
An example of calling an instance method to start some server bean:
|
org.springframework.beans.factory.config.MethodInvokingFactoryBean |
FactoryBean which returns a value which is the result of a static or instance method invocation. For most use cases it is better to just use the container's built-in factory method support for the same purpose, since that is smarter at converting arguments. This factory bean is still useful though when you need to call a method which doesn't return any value (for example, a static class method to force some sort of initialization to happen). This use case is not supported by factory methods, since a return value is needed to obtain the bean instance. Note that as it is expected to be used mostly for accessing factory methods, this factory by default operates in a singleton fashion. The first request to NOTE: If your target method does not produce a result to expose, consider MethodInvokingBean instead, which avoids the type determination and lifecycle limitations that this MethodInvokingFactoryBean comes with. This invoker supports any kind of target method. A static method may be specified by setting the This class depends on An example (in an XML based bean factory definition) of a bean definition which uses this class to call a static factory method:
An example of calling a static method then an instance method to get at a Java system property. Somewhat verbose, but it works.
|
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean |
org.springframework.beans.factory.FactoryBean that exposes a org.quartz.JobDetail object which delegates job execution to a specified (static or non-static) method. Avoids the need for implementing a one-line Quartz Job that just invokes an existing service method on a Spring-managed target bean. Inherits common configuration properties from the MethodInvoker base class, such as Supports both concurrently running jobs and non-currently running jobs through the "concurrent" property. Jobs created by this MethodInvokingJobDetailFactoryBean are by default volatile and durable (according to Quartz terminology). NOTE: JobDetails created via this FactoryBean are not serializable and thus not suitable for persistent job stores. You need to implement your own Quartz Job as a thin wrapper for each case where you want a persistent job to delegate to a specific service method. Compatible with Quartz 2.1.4 and higher, as of Spring 4.1. |
org.springframework.scheduling.support.MethodInvokingRunnable |
Adapter that implements the Runnable interface as a configurable method invocation based on Spring's MethodInvoker. Inherits common configuration properties from org.springframework.util.MethodInvoker. |
org.springframework.jms.config.MethodJmsListenerEndpoint |
A JmsListenerEndpoint providing the method to invoke to process an incoming message for this endpoint. |
org.springframework.aop.config.MethodLocatingFactoryBean |
FactoryBean implementation that locates a Method on a specified bean. |
org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource |
Simple TransactionAttributeSource implementation that allows attributes to be stored per method in a Map. |
org.springframework.aop.support.MethodMatchers |
Static utility methods for composing MethodMatcher. A MethodMatcher may be evaluated statically (based on method and target class) or need further evaluation dynamically (based on arguments at the time of method invocation). |
org.springframework.core.type.classreading.MethodMetadataReadingVisitor |
ASM method visitor which looks for the annotations defined on a method, exposing them through the org.springframework.core.type.MethodMetadata interface. |
org.springframework.jmx.export.assembler.MethodNameBasedMBeanInfoAssembler |
Subclass of You can supply an array of method names via the If you specify values for both |
org.springframework.web.server.MethodNotAllowedException |
Exception for errors that fit response status 405 (method not allowed). |
org.springframework.beans.factory.support.MethodOverrides |
Set of method overrides, determining which, if any, methods on a managed object the Spring IoC container will override at runtime. The currently supported MethodOverride variants are LookupOverride and ReplaceOverride. |
org.springframework.expression.spel.ast.MethodReference |
Expression language AST node that represents a method reference. |
org.springframework.beans.factory.support.MethodReplacer |
Interface to be implemented by classes that can reimplement any method on an IoC-managed object: the Method Injection form of Dependency Injection. Such methods may be (but need not be) abstract, in which case the container will create a concrete subclass to instantiate. |
org.springframework.validation.beanvalidation.MethodValidationInterceptor |
An AOP Alliance MethodInterceptor implementation that delegates to a JSR-303 provider for performing method-level validation on annotated methods. Applicable methods have JSR-303 constraint annotations on their parameters and/or on their return value (in the latter case specified at the method level, typically as inline annotation). E.g.: Validation groups can be specified through Spring's Validated annotation at the type level of the containing target class, applying to all public service methods of that class. By default, JSR-303 will validate against its default group only. As of Spring 5.0, this functionality requires a Bean Validation 1.1 provider. |
org.springframework.validation.beanvalidation.MethodValidationPostProcessor |
A convenient BeanPostProcessor implementation that delegates to a JSR-303 provider for performing method-level validation on annotated methods. Applicable methods have JSR-303 constraint annotations on their parameters and/or on their return value (in the latter case specified at the method level, typically as inline annotation), e.g.:
Target classes with such annotated methods need to be annotated with Spring's Validated annotation at the type level, for their methods to be searched for inline constraint annotations. Validation groups can be specified through As of Spring 5.0, this functionality requires a Bean Validation 1.1 provider. |
org.springframework.jmx.support.MetricType |
Represents how the measurement values of a |
org.springframework.format.datetime.joda.MillisecondInstantPrinter |
Prints Long instances using a Joda DateTimeFormatter. |
org.springframework.mail.javamail.MimeMailMessage |
Implementation of the MailMessage interface for a JavaMail MIME message, to let message population code interact with a simple message or a MIME message through a common interface. Uses a MimeMessageHelper underneath. Can either be created with a MimeMessageHelper instance or with a JavaMail MimeMessage instance. |
org.springframework.oxm.mime.MimeMarshaller |
Subinterface of Marshaller that can use MIME attachments to optimize storage of binary data. Attachments can be added as MTOM, XOP, or SwA. |
org.springframework.oxm.mime.MimeUnmarshaller |
Subinterface of org.springframework.oxm.Unmarshaller that can use MIME attachments to optimize storage of binary data. Attachments can be added as MTOM, XOP, or SwA. |
org.springframework.web.bind.MissingPathVariableException |
ServletRequestBindingException subclass that indicates that a path variable expected in the method parameters of an |
org.springframework.core.env.MissingRequiredPropertiesException |
Exception thrown when required properties are not found. |
org.springframework.web.bind.MissingServletRequestParameterException |
ServletRequestBindingException subclass that indicates a missing parameter. |
org.springframework.web.multipart.support.MissingServletRequestPartException |
Raised when the part of a "multipart/form-data" request identified by its name cannot be found. This may be because the request is not a multipart/form-data request, because the part is not present in the request, or because the web application is not configured correctly for processing multipart requests, e.g. no MultipartResolver. |
org.springframework.messaging.simp.annotation.support.MissingSessionUserException | |
org.springframework.mock.http.client.MockAsyncClientHttpRequest |
An extension of MockClientHttpRequest that also implements org.springframework.http.client.AsyncClientHttpRequest by wrapping the response in a SettableListenableFuture. |
org.springframework.mock.web.MockAsyncContext |
Mock implementation of the AsyncContext interface. |
org.springframework.mock.web.MockBodyContent |
Mock implementation of the javax.servlet.jsp.tagext.BodyContent class. Only necessary for testing applications when testing custom JSP tags. |
org.springframework.mock.env.MockEnvironment |
Simple ConfigurableEnvironment implementation exposing |
org.springframework.mock.web.MockExpressionEvaluator |
Mock implementation of the JSP 2.0 javax.servlet.jsp.el.ExpressionEvaluator interface, delegating to the Apache JSTL ExpressionEvaluatorManager. Only necessary for testing applications when testing custom JSP tags. Note that the Apache JSTL implementation (jstl.jar, standard.jar) has to be available on the class path to use this expression evaluator. |
org.springframework.mock.web.MockFilterChain |
Mock implementation of the javax.servlet.FilterChain interface. A MockFilterChain can be configured with one or more filters and a Servlet to invoke. The first time the chain is called, it invokes all filters and the Servlet, and saves the request and response. Subsequent invocations raise an IllegalStateException unless |
org.springframework.mock.web.MockFilterConfig |
Mock implementation of the javax.servlet.FilterConfig interface. Used for testing the web framework; also useful for testing custom javax.servlet.Filter implementations. |
org.springframework.mock.http.MockHttpInputMessage |
Mock implementation of HttpInputMessage. |
org.springframework.mock.web.MockJspWriter |
Mock implementation of the javax.servlet.jsp.JspWriter class. Only necessary for testing applications when testing custom JSP tags. |
org.springframework.mock.web.MockMultipartHttpServletRequest |
Mock implementation of the org.springframework.web.multipart.MultipartHttpServletRequest interface. As of Spring 5.0, this set of mocks is designed on a Servlet 4.0 baseline. Useful for testing application controllers that access multipart uploads. MockMultipartFile can be used to populate these mock requests with files. |
org.springframework.test.web.servlet.request.MockMultipartHttpServletRequestBuilder |
Default builder for MockMultipartHttpServletRequest. |
org.springframework.test.web.servlet.MockMvcBuilderSupport |
Base class for MockMvc builder implementations, providing the capability to create a MockMvc instance. org.springframework.test.web.servlet.setup.DefaultMockMvcBuilder, which derives from this class, provides a concrete |
org.springframework.test.web.servlet.setup.MockMvcBuilders |
The main class to import in order to access all available MockMvcBuilders. Eclipse Users Consider adding this class as a Java editor favorite. To navigate to this setting, open the Preferences and type "favorites". |
org.springframework.test.web.client.MockMvcClientHttpRequestFactory |
A ClientHttpRequestFactory for requests executed via MockMvc. As of 5.0 this class also implements org.springframework.http.client.AsyncClientHttpRequestFactory. However note that org.springframework.web.client.AsyncRestTemplate and related classes have been deprecated at the same time. |
org.springframework.test.web.servlet.setup.MockMvcConfigurerAdapter |
An empty method implementation of MockMvcConfigurer. |
org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder |
By default, the driver will delegate to |
org.springframework.test.web.servlet.result.MockMvcResultHandlers |
Static factory methods for ResultHandler-based result actions. Eclipse Users Consider adding this class as a Java editor favorite. To navigate to this setting, open the Preferences and type "favorites". |
org.springframework.test.web.servlet.htmlunit.MockMvcWebClientBuilder |
The |
org.springframework.test.web.servlet.htmlunit.MockMvcWebConnection |
This is the core integration with HtmlUnit. Example usage can be seen below.
|
org.springframework.test.web.servlet.htmlunit.MockMvcWebConnectionBuilderSupport |
Support class that simplifies the creation of a WebConnection that uses MockMvc and optionally delegates to a real WebConnection for specific requests. The default is to use MockMvc for requests to |
org.springframework.mock.web.MockPageContext |
Mock implementation of the javax.servlet.jsp.PageContext interface. Only necessary for testing applications when testing custom JSP tags. Note: Expects initialization via the constructor rather than via the |
org.springframework.mock.web.MockPart |
Mock implementation of |
org.springframework.mock.env.MockPropertySource |
Simple PropertySource implementation for use in testing. Accepts a user-provided Properties object, or if omitted during construction, the implementation will initialize its own. The
|
org.springframework.mock.web.MockRequestDispatcher |
Mock implementation of the javax.servlet.RequestDispatcher interface. |
org.springframework.test.web.client.match.MockRestRequestMatchers |
Static factory methods for RequestMatcher classes. Typically used to provide input for Consider adding this class as a Java editor favorite. To navigate to this setting, open the Preferences and type "favorites". |
org.springframework.test.web.client.response.MockRestResponseCreators |
Static factory methods for obtaining a ResponseCreator instance. Eclipse users: consider adding this class as a Java editor favorite. To navigate, open the Preferences and type "favorites". |
org.springframework.test.web.client.MockRestServiceServer |
Main entry point for client-side REST testing. Used for tests that involve direct or indirect use of the RestTemplate. Provides a way to set up expected requests that will be performed through the Below is an example that assumes static imports from
Note that as an alternative to the above you can also set the MockMvcClientHttpRequestFactory on a |
org.springframework.test.web.reactive.server.MockServerConfigurer |
Contract that frameworks or applications can use to pre-package a set of customizations to a WebTestClient.MockServerSpec and expose that as a shortcut. An implementation of this interface can be plugged in via
|
org.springframework.mock.web.reactive.function.server.MockServerRequest |
Mock implementation of ServerRequest. |
org.springframework.mock.web.server.MockServerWebExchange |
Variant of DefaultServerWebExchange for use in tests with MockServerHttpRequest and MockServerHttpResponse. See static factory methods to create an instance. |
org.springframework.mock.web.MockServletContext |
Mock implementation of the javax.servlet.ServletContext interface. As of Spring 5.0, this set of mocks is designed on a Servlet 4.0 baseline. Compatible with Servlet 3.1 but can be configured to expose a specific version through For setting up a full |
org.springframework.mock.web.MockSessionCookieConfig |
Mock implementation of the javax.servlet.SessionCookieConfig interface. |
org.springframework.test.web.ModelAndViewAssert |
A collection of assertions intended to simplify testing scenarios dealing with Spring Web MVC org.springframework.web.servlet.ModelAndView objects. Intended for use with JUnit 4 and TestNG. All |
org.springframework.web.servlet.ModelAndViewDefiningException |
Exception to be thrown on error conditions that should forward to a specific view with a specific model. Can be thrown at any time during handler processing. This includes any template methods of pre-built controllers. For example, a form controller might abort to a specific error page if certain parameters do not allow to proceed with the normal workflow. |
org.springframework.web.servlet.mvc.method.annotation.ModelAndViewMethodReturnValueHandler |
Handles return values of type ModelAndView copying view and model information to the ModelAndViewContainer. If the return value is A ModelAndView return type has a set purpose. Therefore this handler should be configured ahead of handlers that support any return value type annotated with |
org.springframework.web.servlet.mvc.annotation.ModelAndViewResolver |
SPI for resolving custom return values from a specific handler method. Typically implemented to detect special return types, resolving well-known result values for them. A typical implementation could look like as follows:
|
org.springframework.web.servlet.mvc.method.annotation.ModelAndViewResolverMethodReturnValueHandler |
This return value handler is intended to be ordered after all others as it attempts to handle _any_ return value type (i.e. returns The return value is handled either with a ModelAndViewResolver or otherwise by regarding it as a model attribute if it is a non-simple type. If neither of these succeeds (essentially simple type other than String), UnsupportedOperationException is raised. Note: This class is primarily needed to support ModelAndViewResolver, which unfortunately cannot be properly adapted to the HandlerMethodReturnValueHandler contract since the |
org.springframework.web.reactive.result.method.annotation.ModelArgumentResolver |
Resolver for a controller method argument of type Model that can also be resolved as a java.util.Map. |
org.springframework.web.bind.annotation.ModelAttribute |
Annotation that binds a method parameter or method return value to a named model attribute, exposed to a web view. Supported for controller classes with RequestMapping methods. Can be used to expose command objects to a web view, using specific attribute names, through annotating corresponding parameters of an RequestMapping method. Can also be used to expose reference data to a web view through annotating accessor methods in a controller class with RequestMapping methods. Such accessor methods are allowed to have any arguments that RequestMapping methods support, returning the model attribute value to expose. Note however that reference data and all other model content is not available to web views when request processing results in an |
org.springframework.web.reactive.result.method.annotation.ModelAttributeMethodArgumentResolver |
Resolve Model attributes are sourced from the model, or created using a default constructor and then added to the model. Once created the attribute is populated via data binding to the request (form data, query params). Validation also may be applied if the argument is annotated with When this handler is created with |
org.springframework.web.method.annotation.ModelAttributeMethodProcessor |
Resolve Model attributes are obtained from the model or created with a default constructor (and then added to the model). Once created the attribute is populated via data binding to Servlet request parameters. Validation may be applied if the argument is annotated with When this handler is created with |
org.springframework.web.method.annotation.ModelFactory |
Assist with initialization of the Model before controller method invocation and with updates to it after the invocation. On initialization the model is populated with attributes temporarily stored in the session and through the invocation of On update model attributes are synchronized with the session and also BindingResult attributes are added if missing. |
org.springframework.jmx.export.notification.ModelMBeanNotificationPublisher |
NotificationPublisher implementation that uses the infrastructure provided by the ModelMBean interface to track javax.management.NotificationListener and send Notification to those listeners. |
org.springframework.web.method.annotation.ModelMethodProcessor |
Resolves Model arguments and handles Model return values. A Model return type has a set purpose. Therefore this handler should be configured ahead of handlers that support any return value type annotated with |
org.springframework.test.web.servlet.result.ModelResultMatchers |
Factory for assertions on the model. An instance of this class is typically accessed via |
org.springframework.format.number.money.MonetaryAmountFormatter |
Formatter for JSR-354 javax.money.MonetaryAmount values, delegating to |
org.springframework.messaging.simp.user.MultiServerUserRegistry |
|
org.springframework.http.client.MultipartBodyBuilder |
A mutable builder for multipart form bodies. For example:
|
org.springframework.web.multipart.MultipartException |
Exception thrown when multipart resolution fails. |
org.springframework.web.multipart.support.MultipartFilter |
Servlet Filter that resolves multipart requests via a MultipartResolver. in the root web application context. Looks up the MultipartResolver in Spring's root web application context. Supports a "multipartResolverBeanName" filter init-param in If no MultipartResolver bean is found, this filter falls back to a default MultipartResolver: StandardServletMultipartResolver for Servlet 3.0, based on a multipart-config section in MultipartResolver lookup is customizable: Override this filter's Note: This filter is an alternative to using DispatcherServlet's MultipartResolver support, for example for web applications with custom web views which do not use Spring's web MVC, or for custom filters applied before a Spring MVC DispatcherServlet (e.g. org.springframework.web.filter.HiddenHttpMethodFilter). In any case, this filter should not be combined with servlet-specific multipart resolution. |
org.springframework.http.codec.multipart.MultipartHttpMessageReader |
Note that this reader depends on access to an |
org.springframework.http.codec.multipart.MultipartHttpMessageWriter |
HttpMessageWriter for writing a The serialization of individual parts is delegated to other writers. By default only String and Resource parts are supported but you can configure others through a constructor argument. This writer can be configured with a FormHttpMessageWriter to delegate to. It is the preferred way of supporting both form data and multipart data (as opposed to registering each writer separately) so that when the MediaType is not specified and generics are not present on the target element type, we can inspect the values in the actual map and decide whether to write plain form data (String values only) or otherwise. |
org.springframework.web.multipart.support.MultipartResolutionDelegate |
A common delegate for |
org.springframework.web.servlet.config.MvcNamespaceHandler |
NamespaceHandler for Spring MVC configuration namespace. |
org.springframework.web.servlet.config.MvcNamespaceUtils |
Convenience methods for use in MVC namespace BeanDefinitionParsers. |
org.springframework.jdbc.support.incrementer.MySQLMaxValueIncrementer |
DataFieldMaxValueIncrementer that increments the maximum value of a given MySQL table with the equivalent of an auto-increment column. Note: If you use this class, your MySQL key column should NOT be auto-increment, as the sequence table does the job. The sequence is kept in a table; there should be one sequence table per table that needs an auto-generated key. The storage engine used by the sequence table can be MYISAM or INNODB since the sequences are allocated using a separate connection without being affected by any other transactions that might be in progress. Example: If "cacheSize" is set, the intermediate values are served without querying the database. If the server or your application is stopped or crashes or a transaction is rolled back, the unused values will never be served. The maximum hole size in numbering is consequently the value of cacheSize.
It is possible to avoid acquiring a new connection for the incrementer by setting the "useNewConnection" property to false. In this case you MUST use a non-transactional storage engine like MYISAM when defining the incrementer table. |
org.springframework.cache.interceptor.NameMatchCacheOperationSource |
Simple CacheOperationSource implementation that allows attributes to be matched by registered name. |
org.springframework.aop.support.NameMatchMethodPointcut |
Pointcut bean for simple method name matches, as alternative to regexp patterns. Does not handle overloaded methods: all methods with a given name will be eligible. |
org.springframework.aop.support.NameMatchMethodPointcutAdvisor |
Convenient class for name-match method pointcuts that hold an Advice, making them an Advisor. |
org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource |
Simple TransactionAttributeSource implementation that allows attributes to be matched by registered name. |
org.springframework.web.reactive.result.condition.NameValueExpression |
A contract for |
org.springframework.web.servlet.mvc.condition.NameValueExpression |
A contract for |
org.springframework.beans.factory.NamedBean |
Counterpart of BeanNameAware. Returns the bean name of an object. This interface can be introduced to avoid a brittle dependence on bean name in objects used with Spring IoC and Spring AOP. |
org.springframework.cache.interceptor.NamedCacheResolver |
A CacheResolver that forces the resolution to a configurable collection of name(s) against a given CacheManager. |
org.springframework.core.NamedInheritableThreadLocal |
InheritableThreadLocal subclass that exposes a specified name as |
org.springframework.jdbc.core.namedparam.NamedParameterBatchUpdateUtils |
Generic utility methods for working with JDBC batch statements using named parameters. Mainly for internal use within the framework. |
org.springframework.jdbc.core.namedparam.NamedParameterJdbcDaoSupport |
Extension of JdbcDaoSupport that exposes a NamedParameterJdbcTemplate as well. |
org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations |
Interface specifying a basic set of JDBC operations allowing the use of named parameters rather than the traditional '?' placeholders. This is an alternative to the classic org.springframework.jdbc.core.JdbcOperations interface, implemented by NamedParameterJdbcTemplate. This interface is not often used directly, but provides a useful option to enhance testability, as it can easily be mocked or stubbed. |
org.springframework.jdbc.core.namedparam.NamedParameterUtils |
Helper methods for named parameter parsing. Only intended for internal use within Spring's JDBC framework. |
org.springframework.core.NestedCheckedException |
Handy class for wrapping checked This class is The similarity between this class and the NestedRuntimeException class is unavoidable, as Java forces these two classes to have different superclasses (ah, the inflexibility of concrete inheritance!). |
org.springframework.core.NestedExceptionUtils |
Helper class for implementing exception classes which are capable of holding nested exceptions. Necessary because we can't share a base class among different exception types. Mainly for use within the framework. |
org.springframework.core.NestedIOException |
Subclass of IOException that properly handles a root cause, exposing the root cause just like NestedChecked/RuntimeException does. Proper root cause handling has not been added to standard IOException before Java 6, which is why we need to do it ourselves for Java 5 compatibility purposes. The similarity between this class and the NestedChecked/RuntimeException class is unavoidable, as this class needs to derive from IOException. |
org.springframework.web.servlet.tags.NestedPathTag |
The The BindTag will auto-detect the current nested path and automatically prepend it to its own path to form a complete path to the bean or bean property. This tag will also prepend any existing nested path that is currently set. Thus, you can nest multiple nested-path tags. Attribute Summary Attribute Required? Runtime Expression? Description path true true Set the path that this tag should apply. E.g. 'customer' to allow bind paths like 'address.street' rather than 'customer.address.street'. |
org.springframework.transaction.NestedTransactionNotSupportedException |
Exception thrown when attempting to work with a nested transaction but nested transactions are not supported by the underlying backend. |
org.springframework.http.client.Netty4ClientHttpRequestFactory |
org.springframework.http.client.ClientHttpRequestFactory implementation that uses Netty 4 to create requests. Allows to use a pre-configured EventLoopGroup instance: useful for sharing across multiple clients. Note that this implementation consistently closes the HTTP connection on each request. |
org.springframework.core.io.buffer.NettyDataBufferFactory |
Implementation of the |
org.springframework.web.reactive.socket.adapter.NettyWebSocketSessionSupport |
Base class for Netty-based WebSocketSession adapters that provides convenience methods to convert Netty WebSocketFrames to and from WebSocketMessages. |
org.springframework.cache.support.NoOpCache |
A no operation Cache implementation suitable for disabling caching. Will simply accept any items into the cache not actually storing them. |
org.springframework.cache.support.NoOpCacheManager |
A basic, no operation CacheManager implementation suitable for disabling caching, typically used for backing cache declarations without an actual backing store. Will simply accept any items into the cache not actually storing them. |
org.apache.commons.logging.impl.NoOpLog |
Trivial implementation of Log that throws away all messages. |
org.springframework.transaction.interceptor.NoRollbackRuleAttribute |
Tag subclass of RollbackRuleAttribute that has the opposite behavior to the |
org.springframework.context.NoSuchMessageException |
Exception thrown when a message can't be resolved. |
org.springframework.transaction.NoTransactionException |
Exception thrown when an operation is attempted that relies on an existing transaction (such as setting rollback status) and there is no existing transaction. This represents an illegal usage of the transaction API. |
org.springframework.beans.factory.NoUniqueBeanDefinitionException |
Exception thrown when a |
org.springframework.lang.NonNull |
A common Spring annotation to declare that annotated elements cannot be Should be used at parameter, return value, and field level. Method overrides should repeat parent Use |
org.springframework.lang.NonNullApi |
A common Spring annotation to declare that parameters and return values are to be considered as non-nullable by default for a given package. Leverages JSR-305 meta-annotations to indicate nullability in Java to common tools with JSR-305 support and used by Kotlin to infer nullability of Spring API. Should be used at package level in association with Nullable annotations at parameter and return value level. |
org.springframework.lang.NonNullFields |
A common Spring annotation to declare that fields are to be considered as non-nullable by default for a given package. Leverages JSR-305 meta-annotations to indicate nullability in Java to common tools with JSR-305 support and used by Kotlin to infer nullability of Spring API. Should be used at package level in association with Nullable annotations at field level. |
org.springframework.web.server.NotAcceptableStatusException |
Exception for errors that fit response status 406 (not acceptable). |
org.springframework.aop.aspectj.annotation.NotAnAtAspectException |
Extension of AopConfigException thrown when trying to perform an advisor generation operation on a class that is not an AspectJ annotation-style aspect. |
org.springframework.beans.NotReadablePropertyException |
Exception thrown on an attempt to get the value of a property that isn't readable, because there's no getter method. |
org.springframework.jca.cci.connection.NotSupportedRecordFactory |
Implementation of the CCI RecordFactory interface that always throws NotSupportedException. Useful as a placeholder for a RecordFactory argument (for example as defined by the RecordCreator callback), in particular when the connector's |
org.springframework.beans.NotWritablePropertyException |
Exception thrown on an attempt to set the value of a property that is not writable (typically because there is no setter method). |
org.springframework.jmx.export.NotificationListenerBean |
Helper class that aggregates a javax.management.NotificationListener, a javax.management.NotificationFilter, and an arbitrary handback object. Also provides support for associating the encapsulated javax.management.NotificationListener with any number of MBeans from which it wishes to receive javax.management.Notification via the Note: This class supports Spring bean names as |
org.springframework.jmx.export.notification.NotificationPublisherAware |
Interface to be implemented by any Spring-managed resource that is to be registered with an javax.management.MBeanServer and wishes to send JMX javax.management.Notification. Provides Spring-created managed resources with a NotificationPublisher as soon as they are registered with the javax.management.MBeanServer. NOTE: This interface only applies to simple Spring-managed beans which happen to get exported through Spring's org.springframework.jmx.export.MBeanExporter. It does not apply to any non-exported beans; neither does it apply to standard MBeans exported by Spring. For standard JMX MBeans, consider implementing the javax.management.modelmbean.ModelMBeanNotificationBroadcaster interface (or implementing a full javax.management.modelmbean.ModelMBean). |
org.springframework.expression.spel.ast.NullLiteral |
Expression language AST node that represents null. |
org.springframework.util.comparator.NullSafeComparator |
A Comparator that will safely compare nulls to be lower or higher than other objects. Can decorate a given Comparator or work on Comparables. |
org.springframework.beans.factory.parsing.NullSourceExtractor |
Simple implementation of SourceExtractor that returns This is the default implementation and prevents too much metadata from being held in memory during normal (non-tooled) runtime usage. |
org.springframework.cache.support.NullValue |
Simple serializable class that serves as a |
org.springframework.beans.NullValueInNestedPathException |
Exception thrown when navigation of a valid nested property path encounters a NullPointerException. For example, navigating "spouse.age" could fail because the spouse property of the target object has a null value. |
org.springframework.format.annotation.NumberFormat |
Declares that a field or method parameter should be formatted as a number. Supports formatting by style or custom pattern string. Can be applied to any JDK For style-based formatting, set the Each attribute is mutually exclusive, so only set one attribute per annotation instance (the one most convenient one for your formatting needs). When the |
org.springframework.format.number.NumberFormatAnnotationFormatterFactory |
Formats fields annotated with the NumberFormat annotation. |
org.springframework.validation.ObjectError |
Encapsulates an object error, that is, a global reason for rejecting an object. See the DefaultMessageCodesResolver javadoc for details on how a message code list is built for an |
org.springframework.beans.factory.config.ObjectFactoryCreatingFactoryBean |
A org.springframework.beans.factory.FactoryBean implementation that returns a value which is an org.springframework.beans.factory.ObjectFactory that in turn returns a bean sourced from a org.springframework.beans.factory.BeanFactory. As such, this may be used to avoid having a client object directly calling A sample config in an XML-based org.springframework.beans.factory.BeanFactory might look as follows:
The attendant
An alternate approach to this application of an object creational pattern would be to use the ServiceLocatorFactoryBean to source (prototype) beans. The ServiceLocatorFactoryBean approach has the advantage of the fact that one doesn't have to depend on any Spring-specific interface such as org.springframework.beans.factory.ObjectFactory, but has the disadvantage of requiring runtime class generation. Please do consult the ServiceLocatorFactoryBean for a fuller discussion of this issue. |
org.springframework.jmx.support.ObjectNameManager |
Helper class for the creation of javax.management.ObjectName instances. |
org.springframework.beans.factory.ObjectProvider |
A variant of ObjectFactory designed specifically for injection points, allowing for programmatic optionality and lenient not-unique handling. |
org.springframework.http.converter.ObjectToStringHttpMessageConverter |
An By default, this converter supports the media type A usage example:
|
org.springframework.http.client.OkHttp3ClientHttpRequestFactory |
ClientHttpRequestFactory implementation that uses OkHttp 3.x to create requests. |
org.springframework.expression.spel.ast.OpAnd |
Represents the boolean AND operation. |
org.springframework.expression.spel.ast.OpDec |
Decrement operator. Can be used in a prefix or postfix form. This will throw appropriate exceptions if the operand in question does not support decrement. |
org.springframework.expression.spel.ast.OpDivide |
Implements division operator. |
org.springframework.expression.spel.ast.OpEQ |
Implements the equality operator. |
org.springframework.expression.spel.ast.OpGE |
Implements greater-than-or-equal operator. |
org.springframework.expression.spel.ast.OpGT |
Implements the greater-than operator. |
org.springframework.expression.spel.ast.OpInc |
Increment operator. Can be used in a prefix or postfix form. This will throw appropriate exceptions if the operand in question does not support increment. |
org.springframework.expression.spel.ast.OpLE |
Implements the less-than-or-equal operator. |
org.springframework.expression.spel.ast.OpLT |
Implements the less-than operator. |
org.springframework.expression.spel.ast.OpMinus |
The minus operator supports:
It can be used as a unary operator for numbers. The standard promotions are performed when the operand types vary (double-int=double). For other options it defers to the registered overloader. |
org.springframework.expression.spel.ast.OpModulus |
Implements the modulus operator. |
org.springframework.expression.spel.ast.OpMultiply |
Implements the Conversions and promotions are handled as defined in Section 5.6.2 of the Java Language Specification, with the addiction of If any of the operands is of a reference type, unboxing conversion (Section 5.1.8) is performed. Then: If either operand is of type |
org.springframework.expression.spel.ast.OpNE |
Implements the not-equal operator. |
org.springframework.expression.spel.ast.OpOr |
Represents the boolean OR operation. |
org.springframework.expression.spel.ast.OpPlus |
The plus operator will:
It can be used as a unary operator for numbers. The standard promotions are performed when the operand types vary (double+int=double). For other options it defers to the registered overloader. |
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter |
Servlet Filter that binds a JPA EntityManager to the thread for the entire processing of the request. Intended for the "Open EntityManager in View" pattern, i.e. to allow for lazy loading in web views despite the original transactions already being completed. This filter makes JPA EntityManagers available via the current thread, which will be autodetected by transaction managers. It is suitable for service layer transactions via org.springframework.orm.jpa.JpaTransactionManager or org.springframework.transaction.jta.JtaTransactionManager as well as for non-transactional read-only execution. Looks up the EntityManagerFactory in Spring's root web application context. Supports an "entityManagerFactoryBeanName" filter init-param in |
org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor |
Spring web request interceptor that binds a JPA EntityManager to the thread for the entire processing of the request. Intended for the "Open EntityManager in View" pattern, i.e. to allow for lazy loading in web views despite the original transactions already being completed. This interceptor makes JPA EntityManagers available via the current thread, which will be autodetected by transaction managers. It is suitable for service layer transactions via org.springframework.orm.jpa.JpaTransactionManager or org.springframework.transaction.jta.JtaTransactionManager as well as for non-transactional read-only execution. In contrast to OpenEntityManagerInViewFilter, this interceptor is set up in a Spring application context and can thus take advantage of bean wiring. |
org.springframework.orm.hibernate5.support.OpenSessionInViewFilter |
Servlet Filter that binds a Hibernate Session to the thread for the entire processing of the request. Intended for the "Open Session in View" pattern, i.e. to allow for lazy loading in web views despite the original transactions already being completed. This filter makes Hibernate Sessions available via the current thread, which will be autodetected by transaction managers. It is suitable for service layer transactions via org.springframework.orm.hibernate5.HibernateTransactionManager as well as for non-transactional execution (if configured appropriately). NOTE: This filter will by default not flush the Hibernate Session, with the flush mode set to WARNING: Applying this filter to existing logic can cause issues that have not appeared before, through the use of a single Hibernate Session for the processing of an entire request. In particular, the reassociation of persistent objects with a Hibernate Session has to occur at the very beginning of request processing, to avoid clashes with already loaded instances of the same objects. Looks up the SessionFactory in Spring's root web application context. Supports a "sessionFactoryBeanName" filter init-param in |
org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor |
Spring web request interceptor that binds a Hibernate This class is a concrete expression of the "Open Session in View" pattern, which is a pattern that allows for the lazy loading of associations in web views despite the original transactions already being completed. This interceptor makes Hibernate Sessions available via the current thread, which will be autodetected by transaction managers. It is suitable for service layer transactions via org.springframework.orm.hibernate5.HibernateTransactionManager as well as for non-transactional execution (if configured appropriately). In contrast to OpenSessionInViewFilter, this interceptor is configured in a Spring application context and can thus take advantage of bean wiring. WARNING: Applying this interceptor to existing logic can cause issues that have not appeared before, through the use of a single Hibernate |
org.springframework.orm.hibernate5.support.OpenSessionInterceptor |
Simple AOP Alliance MethodInterceptor implementation that binds a new Hibernate Session for each method invocation, if none bound before. This is a simple Hibernate Session scoping interceptor along the lines of OpenSessionInViewInterceptor, just for use with AOP setup instead of MVC setup. It opens a new Session with flush mode "MANUAL" since the Session is only meant for reading, except when participating in a transaction. |
org.springframework.expression.spel.ast.OperatorBetween |
Represents the between operator. The left operand to between must be a single value and the right operand must be a list - this operator returns true if the left operand is between (using the registered comparator) the two elements in the list. The definition of between being inclusive follows the SQL BETWEEN definition. |
org.springframework.expression.spel.ast.OperatorInstanceof |
The operator 'instanceof' checks if an object is of the class specified in the right hand operand, in the same way that |
org.springframework.expression.spel.ast.OperatorMatches |
Implements the matches operator. Matches takes two operands: The first is a String and the second is a Java regex. It will return |
org.springframework.expression.spel.ast.OperatorNot |
Represents a NOT operation. |
org.springframework.expression.spel.ast.OperatorPower |
The power operator. |
org.springframework.web.servlet.tags.form.OptionTag |
The Must be used nested inside a SelectTag. Provides full support for databinding by marking an ' The An optional Attribute Summary Attribute Required? Runtime Expression? Description cssClass false true HTML Optional Attribute cssErrorClass false true HTML Optional Attribute. Used when the bound field has errors. cssStyle false true HTML Optional Attribute dir false true HTML Standard Attribute disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. htmlEscape false true Enable/disable HTML escaping of rendered values. id false true HTML Standard Attribute label false true HTML Optional Attribute lang false true HTML Standard Attribute onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onkeydown false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onmousedown false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onmouseover false true HTML Event Attribute onmouseup false true HTML Event Attribute tabindex false true HTML Standard Attribute title false true HTML Standard Attribute value true true HTML Optional Attribute |
org.springframework.validation.beanvalidation.OptionalValidatorFactoryBean |
LocalValidatorFactoryBean subclass that simply turns org.springframework.validation.Validator calls into no-ops in case of no Bean Validation provider being available. This is the actual class used by Spring's MVC configuration namespace, in case of the |
org.springframework.web.servlet.tags.form.OptionsTag |
The Must be used within a SelectTag. Attribute Summary Attribute Required? Runtime Expression? Description cssClass false true HTML Optional Attribute cssErrorClass false true HTML Optional Attribute. Used when the bound field has errors. cssStyle false true HTML Optional Attribute dir false true HTML Standard Attribute disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. htmlEscape false true Enable/disable HTML escaping of rendered values. id false true HTML Standard Attribute itemLabel false true Name of the property mapped to the inner text of the 'option' tag items true true The Collection, Map or array of objects used to generate the inner 'option' tags itemValue false true Name of the property mapped to 'value' attribute of the 'option' tag lang false true HTML Standard Attribute onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onkeydown false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onmousedown false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onmouseover false true HTML Event Attribute onmouseup false true HTML Event Attribute tabindex false true HTML Standard Attribute title false true HTML Standard Attribute |
org.springframework.jdbc.core.metadata.OracleCallMetaDataProvider |
Oracle-specific implementation for the CallMetaDataProvider interface. This class is intended for internal use by the Simple JDBC classes. |
org.springframework.jdbc.support.incrementer.OracleSequenceMaxValueIncrementer |
DataFieldMaxValueIncrementer that retrieves the next value of a given Oracle sequence. |
org.springframework.jdbc.core.metadata.OracleTableMetaDataProvider |
Oracle-specific implementation of the org.springframework.jdbc.core.metadata.TableMetaDataProvider. Supports a feature for including synonyms in the metadata lookup. Also supports lookup of current schema using the Thanks to Mike Youngstrom and Bruce Campbell for submitting the original suggestion for the Oracle current schema lookup implementation. |
org.springframework.core.annotation.Order |
The NOTE: Since Spring 4.0, annotation-based ordering is supported for many kinds of components in Spring, even for collection injection where the order values of the target components are taken into account (either from their target class or from their Since Spring 4.1, the standard javax.annotation.Priority annotation can be used as a drop-in replacement for this annotation in ordering scenarios. Note that Alternatively, order values may also be determined on a per-instance basis through the Ordered interface, allowing for configuration-determined instance values instead of hard-coded values attached to a particular class. Consult the javadoc for org.springframework.core.OrderComparator for details on the sort semantics for non-ordered objects. |
org.springframework.core.annotation.OrderUtils |
General utility for determining the order of an object based on its type declaration. Handles Spring's Order annotation as well as javax.annotation.Priority. |
org.springframework.jdbc.datasource.embedded.OutputStreamFactory |
Internal helper for exposing dummy OutputStreams to embedded databases such as Derby, preventing the creation of a log file. |
org.springframework.oxm.config.OxmNamespaceHandler |
NamespaceHandler for the ' |
org.springframework.beans.support.PagedListHolder |
PagedListHolder is a simple state holder for handling lists of objects, separating them into pages. Page numbering starts with 0. This is mainly targetted at usage in web UIs. Typically, an instance will be instantiated with a list of beans, put into the session, and exported as model. The properties can all be set/get programmatically, but the most common way will be data binding, i.e. populating the bean from request parameters. The getters will mainly be used by the view. Supports sorting the underlying list via a SortDefinition implementation, available as property "sort". By default, a MutableSortDefinition instance will be used, toggling the ascending value on setting the same property again. The data binding names have to be called "pageSize" and "sort.ascending", as expected by BeanWrapper. Note that the names and the nesting syntax match the respective JSTL EL expressions, like "myModelAttr.pageSize" and "myModelAttr.sort.ascending". |
org.springframework.web.servlet.tags.ParamTag |
The This tag must be nested under a param aware tag. Attribute Summary Attribute Required? Runtime Expression? Description name true true The name of the parameter. value false true The value of the parameter. |
org.springframework.web.accept.ParameterContentNegotiationStrategy |
Strategy that resolves the requested content type from a query parameter. The default query parameter name is "format". You can register static mappings between keys (i.e. the expected value of the query parameter) and MediaType's via |
org.springframework.web.reactive.accept.ParameterContentTypeResolver |
Resolver that checks a query parameter and uses it to lookup a matching MediaType. Lookup keys can be registered or as a fallback MediaTypeFactory can be used to perform a lookup. |
org.springframework.expression.ParseException |
Represent an exception that occurs during expression parsing. |
org.springframework.jdbc.core.namedparam.ParsedSql |
Holds information about a parsed SQL statement. |
org.springframework.mock.web.PassThroughFilterChain |
Implementation of the javax.servlet.FilterConfig interface which simply passes the call through to a given Filter/FilterChain combination (indicating the next Filter in the chain along with the FilterChain that it is supposed to work on) or to a given Servlet (indicating the end of the chain). |
org.springframework.beans.factory.parsing.PassThroughSourceExtractor |
Simple SourceExtractor implementation that just passes the candidate source metadata object through for attachment. Using this implementation means that tools will get raw access to the underlying configuration source metadata provided by the tool. This implementation should not be used in a production application since it is likely to keep too much metadata in memory (unnecessarily). |
org.springframework.web.servlet.tags.form.PasswordInputTag |
The Attribute Summary Attribute Required? Runtime Expression? Description accesskey false true HTML Standard Attribute alt false true HTML Optional Attribute autocomplete false true Common Optional Attribute cssClass false true HTML Optional Attribute cssErrorClass false true HTML Optional Attribute. Used when the bound field has errors. cssStyle false true HTML Optional Attribute dir false true HTML Standard Attribute disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. htmlEscape false true Enable/disable HTML escaping of rendered values. id false true HTML Standard Attribute lang false true HTML Standard Attribute maxlength false true HTML Optional Attribute onblur false true HTML Event Attribute onchange false true HTML Event Attribute onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onfocus false true HTML Event Attribute onkeydown false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onmousedown false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onmouseover false true HTML Event Attribute onmouseup false true HTML Event Attribute onselect false true HTML Event Attribute path true true Path to property for data binding readonly false true HTML Optional Attribute. Setting the value of this attribute to 'true' will make the HTML element readonly. showPassword false true Is the password value to be shown? Defaults to false. size false true HTML Optional Attribute tabindex false true HTML Standard Attribute title false true HTML Standard Attribute |
org.springframework.web.bind.annotation.PatchMapping |
Annotation for mapping HTTP Specifically, |
org.springframework.beans.propertyeditors.PathEditor |
Editor for Based on |
org.springframework.web.accept.PathExtensionContentNegotiationStrategy |
A If the file extension is not found in the explicit registrations provided to the constructor, the MediaTypeFactory is used as a fallback mechanism. |
org.springframework.core.io.support.PathMatchingResourcePatternResolver |
A ResourcePatternResolver implementation that is able to resolve a specified resource location path into one or more matching Resources. The source path may be a simple path which has a one-to-one mapping to a target org.springframework.core.io.Resource, or alternatively may contain the special " No Wildcards: In the simple case, if the specified location path does not start with the Ant-style Patterns: When the path location contains an Ant-style pattern, e.g.: the resolver follows a more complex but defined procedure to try to resolve the wildcard. It produces a Resource for the path up to the last non-wildcard segment and obtains a URL from it. If this URL is not a "jar: " URL or container-specific variant (e.g. "zip: " in WebLogic, "wsjar " in WebSphere", etc.), then a java.io.File is obtained from it, and used to resolve the wildcard by walking the filesystem. In the case of a jar URL, the resolver either gets a java.net.JarURLConnection from it, or manually parses the jar URL, and then traverses the contents of the jar file, to resolve the wildcards.
Implications on portability: If the specified path is already a file URL (either explicitly, or implicitly because the base If the specified path is a classpath location, then the resolver must obtain the last non-wildcard path segment URL via a If a jar URL is obtained for the last non-wildcard segment, the resolver must be able to get a
There is special support for retrieving multiple class path resources with the same name, via the " The "classpath*:" prefix can also be combined with a PathMatcher pattern in the rest of the location path, for example "classpath*:META-INF/*-beans.xml". In this case, the resolution strategy is fairly simple: a Other notes: WARNING: Note that " WARNING: Ant-style patterns with "classpath:" resources are not guaranteed to find matching resources if the root package to search is available in multiple class path locations. This is because a resource such as may be in only one location, but when a path such as is used to try to resolve it, the resolver will work off the (first) URL returned by getResource("com/mycompany"); . If this base package node exists in multiple classloader locations, the actual end resource may not be underneath. Therefore, preferably, use "classpath*: " with the same Ant-style pattern in such a case, which will search all class path locations that contain the root package.
|
org.springframework.core.io.PathResource |
Resource implementation for |
org.springframework.web.reactive.resource.PathResourceResolver |
A simple This resolver does not delegate to the |
org.springframework.web.servlet.resource.PathResourceResolver |
A simple This resolver does not delegate to the |
org.springframework.web.bind.annotation.PathVariable |
Annotation which indicates that a method parameter should be bound to a URI template variable. Supported for RequestMapping annotated handler methods in Servlet environments. If the method parameter is java.util.Map or org.springframework.util.MultiValueMap then the map is populated with all path variable names and values. |
org.springframework.web.reactive.result.method.annotation.PathVariableMapMethodArgumentResolver |
Resolver for Map method arguments also annotated with PathVariable where the annotation does not specify a path variable name. The resulting Map argument is a coyp of all URI template name-value pairs. |
org.springframework.web.servlet.mvc.method.annotation.PathVariableMapMethodArgumentResolver |
Resolves Map method arguments annotated with an @PathVariable where the annotation does not specify a path variable name. The created Map contains all URI template name/value pairs. |
org.springframework.web.reactive.result.method.annotation.PathVariableMethodArgumentResolver |
Resolves method arguments annotated with @PathVariable. An @PathVariable is a named value that gets resolved from a URI template variable. It is always required and does not have a default value to fall back on. See the base class org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver for more information on how named values are processed. If the method parameter type is Map, the name specified in the annotation is used to resolve the URI variable String value. The value is then converted to a Map via type conversion, assuming a suitable Converter. |
org.springframework.web.servlet.mvc.method.annotation.PathVariableMethodArgumentResolver |
Resolves method arguments annotated with an @PathVariable. An @PathVariable is a named value that gets resolved from a URI template variable. It is always required and does not have a default value to fall back on. See the base class org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver for more information on how named values are processed. If the method parameter type is Map, the name specified in the annotation is used to resolve the URI variable String value. The value is then converted to a Map via type conversion, assuming a suitable Converter or PropertyEditor has been registered. A WebDataBinder is invoked to apply type conversion to resolved path variable values that don't yet match the method parameter type. |
org.springframework.beans.propertyeditors.PatternEditor |
Editor for |
org.springframework.util.PatternMatchUtils |
Utility methods for simple pattern matching, in particular for Spring's typical "xxx*", "*xxx" and "*xxx*" pattern styles. |
org.springframework.web.util.pattern.PatternParseException |
Exception that is thrown when there is a problem with the pattern being parsed. |
org.springframework.messaging.handler.annotation.Payload |
Annotation that binds a method parameter to the payload of a message. Can also be used to associate a payload to a method invocation. The payload may be passed through a MessageConverter to convert it from serialized form with a specific MIME type to an Object matching the target method parameter. |
org.springframework.messaging.handler.annotation.support.PayloadArgumentResolver |
A resolver to extract and convert the payload of a message using a MessageConverter. It also validates the payload using a Validator if the argument is annotated with a Validation annotation. This HandlerMethodArgumentResolver should be ordered last as it supports all types and does not require the Payload annotation. |
org.springframework.web.socket.handler.PerConnectionWebSocketHandler |
A WebSocketHandler that initializes and destroys a WebSocketHandler instance for each WebSocket connection and delegates all other methods to it. Essentially create an instance of this class once, providing the type of WebSocketHandler class to create for each connection, and then pass it to any API method that expects a WebSocketHandler. If initializing the target WebSocketHandler type requires a Spring BeanFctory, then the |
org.springframework.aop.interceptor.PerformanceMonitorInterceptor |
Simple AOP Alliance Uses a |
org.springframework.scheduling.support.PeriodicTrigger |
A trigger for periodic task execution. The period may be applied as either fixed-rate or fixed-delay, and an initial delay value may also be configured. The default initial delay is 0, and the default behavior is fixed-delay (i.e. the interval between successive executions is measured from each completion time). To measure the interval between the scheduled start time of each execution instead, set the 'fixedRate' property to Note that the TaskScheduler interface already defines methods for scheduling tasks at fixed-rate or with fixed-delay. Both also support an optional value for the initial delay. Those methods should be used directly whenever possible. The value of this Trigger implementation is that it can be used within components that rely on the Trigger abstraction. For example, it may be convenient to allow periodic triggers, cron-based triggers, and even custom Trigger implementations to be used interchangeably. |
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor |
BeanPostProcessor that processes javax.persistence.PersistenceUnit and javax.persistence.PersistenceContext annotations, for injection of the corresponding JPA resources javax.persistence.EntityManagerFactory and javax.persistence.EntityManager. Any such annotated fields or methods in any Spring-managed object will automatically be injected. This post-processor will inject sub-interfaces of Note: In the present implementation, PersistenceAnnotationBeanPostProcessor only supports This post-processor can either obtain EntityManagerFactory beans defined in the Spring application context (the default), or obtain EntityManagerFactory references from JNDI ("persistence unit references"). In the bean case, the persistence unit name will be matched against the actual deployed unit, with the bean name used as fallback unit name if no deployed name found. Typically, Spring's org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean will be used for setting up such EntityManagerFactory beans. Alternatively, such beans may also be obtained from JNDI, e.g. using the In the JNDI case, specify the corresponding JNDI names in this post-processor's "persistenceUnits" map , typically with matching persistence-unit-ref entries in the Java EE deployment descriptor. By default, those names are considered as resource references (according to the Java EE resource-ref convention), located underneath the "java:comp/env/" namespace. For example: In this case, the specified persistence units will always be resolved in JNDI rather than as Spring-defined beans. The entire persistence unit deployment, including the weaving of persistent classes, is then up to the Java EE server. Persistence contexts (i.e. EntityManager references) will be built based on those server-provided EntityManagerFactory references, using Spring's own transaction synchronization facilities for transactional EntityManager handling (typically with Spring's @Transactional annotation for demarcation and org.springframework.transaction.jta.JtaTransactionManager as backend).
If you prefer the Java EE server's own EntityManager handling, specify entries in this post-processor's If the application only obtains EntityManager references in the first place, this is all you need to specify. If you need EntityManagerFactory references as well, specify entries for both "persistenceUnits" and "persistenceContexts", pointing to matching JNDI locations.
NOTE: In general, do not inject EXTENDED EntityManagers into STATELESS beans, i.e. do not use Note: A default PersistenceAnnotationBeanPostProcessor will be registered by the "context:annotation-config" and "context:component-scan" XML tags. Remove or turn off the default annotation configuration there if you intend to specify a custom PersistenceAnnotationBeanPostProcessor bean definition. |
org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor |
Spring AOP exception translation aspect for use at Repository or DAO layer level. Translates native persistence exceptions into Spring's DataAccessException hierarchy, based on a given PersistenceExceptionTranslator. |
org.springframework.dao.support.PersistenceExceptionTranslationInterceptor |
AOP Alliance MethodInterceptor that provides persistence exception translation based on a given PersistenceExceptionTranslator. Delegates to the given PersistenceExceptionTranslator to translate a RuntimeException thrown into Spring's DataAccessException hierarchy (if appropriate). If the RuntimeException in question is declared on the target method, it is always propagated as-is (with no translation applied). |
org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor |
Bean post-processor that automatically applies persistence exception translation to any bean marked with Spring's @org.springframework.stereotype.Repository annotation, adding a corresponding PersistenceExceptionTranslationAdvisor to the exposed proxy (either an existing AOP proxy or a newly generated proxy that implements all of the target's interfaces). Translates native resource exceptions to Spring's org.springframework.dao.DataAccessException hierarchy. Autodetects beans that implement the org.springframework.dao.support.PersistenceExceptionTranslator interface, which are subsequently asked to translate candidate exceptions. All of Spring's applicable resource factories (e.g. org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean) implement the |
org.springframework.orm.jpa.persistenceunit.PersistenceUnitManager |
Interface that defines an abstraction for finding and managing JPA PersistenceUnitInfos. Used by org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean in order to obtain a javax.persistence.spi.PersistenceUnitInfo for building a concrete javax.persistence.EntityManagerFactory. Obtaining a PersistenceUnitInfo instance is an exclusive process. A PersistenceUnitInfo instance is not available for further calls anymore once it has been obtained. |
org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor |
Callback interface for post-processing a JPA PersistenceUnitInfo. Implementations can be registered with a DefaultPersistenceUnitManager or via a LocalContainerEntityManagerFactoryBean. |
org.springframework.context.Phased |
Interface for objects that may participate in a phased process such as lifecycle management. |
org.springframework.beans.factory.xml.PluggableSchemaResolver |
EntityResolver implementation that attempts to resolve schema URLs into local ClassPathResource using a set of mappings files. By default, this class will look for mapping files in the classpath using the pattern: The pattern for the mapping files can be overidden using the |
org.springframework.aop.config.PointcutComponentDefinition |
org.springframework.beans.factory.parsing.ComponentDefinition implementation that holds a pointcut definition. |
org.springframework.aop.config.PointcutEntry |
ParseState entry representing a pointcut. |
org.springframework.aop.support.Pointcuts |
Pointcut constants for matching getters and setters, and static methods useful for manipulating and evaluating pointcuts. These methods are particularly useful for composing pointcuts using the union and intersection methods. |
org.springframework.messaging.PollableChannel |
A MessageChannel from which messages may be actively received through polling. |
org.springframework.web.bind.annotation.PostMapping |
Annotation for mapping HTTP Specifically, |
org.springframework.jdbc.support.incrementer.PostgreSQLSequenceMaxValueIncrementer |
DataFieldMaxValueIncrementer that retrieves the next value of a given PostgreSQL sequence. Thanks to Tomislav Urban for the suggestion! |
org.springframework.jdbc.core.metadata.PostgresCallMetaDataProvider |
Postgres-specific implementation for the CallMetaDataProvider interface. This class is intended for internal use by the Simple JDBC classes. |
org.springframework.jdbc.core.metadata.PostgresTableMetaDataProvider |
The PostgreSQL specific implementation of TableMetaDataProvider. Supports a feature for retrieving generated keys without the JDBC 3.0 |
org.springframework.beans.factory.config.PreferencesPlaceholderConfigurer |
Subclass of PropertyPlaceholderConfigurer that supports JDK 1.4's Preferences API ( Tries to resolve placeholders as keys first in the user preferences, then in the system preferences, then in this configurer's properties. Thus, behaves like PropertyPlaceholderConfigurer if no corresponding preferences defined. Supports custom paths for the system and user preferences trees. Also supports custom paths specified in placeholders ("myPath/myPlaceholderKey"). Uses the respective root node if not specified. |
org.springframework.jdbc.core.PreparedStatementCreatorFactory |
Helper class that efficiently creates multiple PreparedStatementCreator objects with different parameters based on a SQL statement and a single set of parameter declarations. |
org.springframework.context.annotation.Primary |
Indicates that a bean should be given preference when multiple candidates are qualified to autowire a single-valued dependency. If exactly one 'primary' bean exists among the candidates, it will be the autowired value. This annotation is semantically equivalent to the May be used on any class directly or indirectly annotated with
Because Note that using |
org.springframework.web.reactive.result.method.annotation.PrincipalArgumentResolver |
Resolves method argument value of type java.security.Principal. |
org.springframework.messaging.simp.annotation.support.PrincipalMethodArgumentResolver | |
org.springframework.test.web.servlet.result.PrintingResultHandler |
Result handler that prints MvcResult details to a given output stream — for example: An instance of this class is typically accessed via one of the |
org.springframework.core.PrioritizedParameterNameDiscoverer |
ParameterNameDiscoverer implementation that tries several discoverer delegates in succession. Those added first in the The default behavior is to return |
org.springframework.jms.core.ProducerCallback |
Callback for sending a message to a JMS destination. To be used with JmsTemplate's callback methods that take a ProducerCallback argument, often implemented as an anonymous inner class or as a lambda expression. The typical implementation will perform multiple operations on the supplied JMS Session and MessageProducer. |
org.springframework.context.annotation.Profile |
Indicates that a component is eligible for registration when one or more specified profiles are active. A profile is a named logical grouping that may be activated programmatically via The
If a If a given profile is prefixed with the NOT operator ( If the NOTE: With When defining Spring beans via XML, the |
org.springframework.test.context.junit4.statements.ProfileValueChecker |
|
org.springframework.test.annotation.ProfileValueSourceConfiguration |
As of Spring Framework 4.0, this annotation may be used as a meta-annotation to create custom composed annotations. |
org.springframework.test.annotation.ProfileValueUtils |
General utility methods for working with profile values. |
org.springframework.expression.spel.ast.Projection |
Represents projection, where a given operation is performed on all elements in some input sequence, returning a new sequence of the same size. For example: "{1,2,3,4,5,6,7,8,9,10}.!{#isEven(#this)}" returns "[n, y, n, y, n, y, n, y, n, y]" |
org.springframework.beans.factory.support.PropertiesBeanDefinitionReader |
Bean definition reader for a simple properties format. Provides bean definition registration methods for Map/Properties and ResourceBundle. Typically applied to a DefaultListableBeanFactory. Example:
|
org.springframework.beans.factory.config.PropertiesFactoryBean |
Allows for making a properties file from a classpath location available as Properties instance in a bean factory. Can be used to populate any bean property of type Properties via a bean reference. Supports loading from a properties file and/or setting local properties on this FactoryBean. The created Properties instance will be merged from loaded and local values. If neither a location nor local properties are set, an exception will be thrown on initialization. Can create a singleton or a new object on each request. Default is a singleton. |
org.springframework.core.convert.Property |
A description of a JavaBeans Property that allows us to avoid a dependency on Used to build a TypeDescriptor from a property location. The built TypeDescriptor can then be used to convert from/to the property type. |
org.springframework.beans.PropertyAccessException |
Superclass for exceptions related to a property access, such as type mismatch or invocation target exception. |
org.springframework.beans.PropertyAccessor |
Common interface for classes that can access named properties (such as bean properties of an object or fields in an object) Serves as base interface for BeanWrapper. |
org.springframework.beans.PropertyAccessorUtils |
Utility methods for classes that perform bean property access according to the PropertyAccessor interface. |
org.springframework.beans.PropertyBatchUpdateException |
Combined exception, composed of individual PropertyAccessException instances. An object of this class is created at the beginning of the binding process, and errors added to it as necessary. The binding process continues when it encounters application-level PropertyAccessExceptions, applying those changes that can be applied and storing rejected changes in an object of this class. |
org.springframework.beans.support.PropertyComparator |
PropertyComparator performs a comparison of two beans, evaluating the specified bean property via a BeanWrapper. |
org.springframework.beans.factory.parsing.PropertyEntry |
ParseState entry representing a JavaBean property. |
org.springframework.beans.PropertyMatches |
Helper class for calculating property matches, according to a configurable distance. Provide the list of potential matches and an easy way to generate an error message. Works for both java bean properties and fields. Mainly for use within the framework and in particular the binding facility. |
org.springframework.expression.spel.ast.PropertyOrFieldReference |
Represents a simple property or field reference. |
org.springframework.beans.factory.config.PropertyOverrideConfigurer |
Property resource configurer that overrides bean property values in an application context definition. It pushes values from a properties file into bean definitions. Configuration lines are expected to be of the following form: Example properties file: In contrast to PropertyPlaceholderConfigurer, the original definition can have default values or no values at all for such bean properties. If an overriding properties file does not have an entry for a certain bean property, the default context definition is used.
Note that the context definition is not aware of being overridden; so this is not immediately obvious when looking at the XML definition file. Furthermore, note that specified override values are always literal values; they are not translated into bean references. This also applies when the original value in the XML bean definition specifies a bean reference. In case of multiple PropertyOverrideConfigurers that define different values for the same bean property, the last one will win (due to the overriding mechanism). Property values can be converted after reading them in, through overriding the |
org.springframework.beans.factory.config.PropertyPathFactoryBean |
FactoryBean that evaluates a property path on a given target object. The target object can be specified directly or via a bean name. Usage examples:
If you are using Spring 2.0 and XML Schema support in your configuration file(s), you can also use the following style of configuration for property path access. (See also the appendix entitled 'XML Schema-based configuration' in the Spring reference manual for more examples.) Thanks to Matthias Ernst for the suggestion and initial prototype!
|
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer |
PlaceholderConfigurerSupport subclass that resolves ${...} placeholders against As of Spring 3.1, org.springframework.context.support.PropertySourcesPlaceholderConfigurer should be used preferentially over this implementation; it is more flexible through taking advantage of the org.springframework.core.env.Environment and org.springframework.core.env.PropertySource mechanisms also made available in Spring 3.1. PropertyPlaceholderConfigurer is still appropriate for use when:
Prior to Spring 3.1, the |
org.springframework.context.annotation.PropertySources |
Container annotation that aggregates several PropertySource annotations. Can be used natively, declaring several nested PropertySource annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, where PropertySource can simply be declared several times on the same type, implicitly generating this container annotation. |
org.springframework.context.support.PropertySourcesPlaceholderConfigurer |
Specialization of PlaceholderConfigurerSupport that resolves ${...} placeholders within bean definition property values and This class is designed as a general replacement for Any local properties (e.g. those added via See org.springframework.core.env.ConfigurableEnvironment and related javadocs for details on manipulating environment property sources. |
org.springframework.core.env.PropertySourcesPropertyResolver |
PropertyResolver implementation that resolves property values against an underlying set of PropertySources. |
org.springframework.beans.PropertyValue |
Object to hold information and value for an individual bean property. Using an object here, rather than just storing all properties in a map keyed by property name, allows for more flexibility, and the ability to handle indexed properties etc in an optimized way. Note that the value doesn't need to be the final required type: A BeanWrapper implementation should handle any necessary conversion, as this object doesn't know anything about the objects it will be applied to. |
org.springframework.beans.PropertyValuesEditor |
java.beans.PropertyEditor for a PropertyValues object. The required format is defined in the java.util.Properties documentation. Each property must be on a new line. The present implementation relies on a org.springframework.beans.propertyeditors.PropertiesEditor underneath. |
org.springframework.http.converter.protobuf.ProtobufJsonFormatHttpMessageConverter |
Subclass of ProtobufHttpMessageConverter which enforces the use of Protobuf 3 and its official library Most importantly, this class allows for custom JSON parser and printer configurations through the JsonFormat utility. If no special parser or printer configuration is given, default variants will be used instead. Requires Protobuf 3.x and |
org.springframework.aop.aspectj.annotation.PrototypeAspectInstanceFactory |
org.springframework.aop.aspectj.AspectInstanceFactory backed by a BeanFactory-provided prototype, enforcing prototype semantics. Note that this may instantiate multiple times, which probably won't give the semantics you expect. Use a LazySingletonAspectInstanceFactoryDecorator to wrap this to ensure only one new aspect comes back. |
org.springframework.aop.target.PrototypeTargetSource |
org.springframework.aop.TargetSource implementation that creates a new instance of the target bean for each request, destroying each instance on release (after each request). Obtains bean instances from its containing org.springframework.beans.factory.BeanFactory. |
org.springframework.beans.factory.config.ProviderCreatingFactoryBean |
A org.springframework.beans.factory.FactoryBean implementation that returns a value which is a JSR-330 javax.inject.Provider that in turn returns a bean sourced from a org.springframework.beans.factory.BeanFactory. This is basically a JSR-330 compliant variant of Spring's good old ObjectFactoryCreatingFactoryBean. It can be used for traditional external dependency injection configuration that targets a property or constructor argument of type |
org.springframework.scheduling.annotation.ProxyAsyncConfiguration |
|
org.springframework.cache.annotation.ProxyCachingConfiguration |
|
org.springframework.aop.framework.autoproxy.ProxyCreationContext |
Holder for the current proxy creation context, as exposed by auto-proxy creators such as AbstractAdvisorAutoProxyCreator. |
org.springframework.aop.framework.ProxyFactoryBean |
org.springframework.beans.factory.FactoryBean implementation that builds an AOP proxy based on beans in Spring org.springframework.beans.factory.BeanFactory. org.aopalliance.intercept.MethodInterceptor and org.springframework.aop.Advisor are identified by a list of bean names in the current bean factory, specified through the "interceptorNames" property. The last entry in the list can be the name of a target bean or a org.springframework.aop.TargetSource; however, it is normally preferable to use the "targetName"/"target"/"targetSource" properties instead. Global interceptors and advisors can be added at the factory level. The specified ones are expanded in an interceptor list where an "xxx*" entry is included in the list, matching the given prefix with the bean names (e.g. "global*" would match both "globalBean1" and "globalBean2", "*" all defined interceptors). The matching interceptors get applied according to their returned order value, if they implement the org.springframework.core.Ordered interface. Creates a JDK proxy when proxy interfaces are given, and a CGLIB proxy for the actual target class if not. Note that the latter will only work if the target class does not have final methods, as a dynamic subclass will be created at runtime. It's possible to cast a proxy obtained from this factory to Advised, or to obtain the ProxyFactoryBean reference and programmatically manipulate it. This won't work for existing prototype references, which are independent. However, it will work for prototypes subsequently obtained from the factory. Changes to interception will work immediately on singletons (including existing references). However, to change interfaces or target it's necessary to obtain a new instance from the factory. This means that singleton instances obtained from the factory do not have the same object identity. However, they do have the same interceptors and target, and changing any reference will change all objects. |
org.springframework.http.client.support.ProxyFactoryBean |
FactoryBean that creates a Proxy. |
org.springframework.cache.jcache.config.ProxyJCacheConfiguration |
Can safely be used alongside Spring's caching support. |
org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration |
|
org.springframework.web.bind.annotation.PutMapping |
Annotation for mapping HTTP Specifically, |
org.springframework.expression.spel.ast.QualifiedIdentifier |
Represents a dot separated sequence of strings that indicate a package qualified type reference. Example: "java.lang.String" as in the expression "new java.lang.String('hello')" |
org.springframework.beans.factory.annotation.Qualifier |
This annotation may be used on a field or parameter as a qualifier for candidate beans when autowiring. It may also be used to annotate other custom annotations that can then in turn be used as qualifiers. |
org.springframework.beans.factory.annotation.QualifierAnnotationAutowireCandidateResolver |
AutowireCandidateResolver implementation that matches bean definition qualifiers against Qualifier on the field or parameter to be autowired. Also supports suggested expression values through a Value annotation. Also supports JSR-330's javax.inject.Qualifier annotation, if available. |
org.springframework.beans.factory.parsing.QualifierEntry |
ParseState entry representing an autowire candidate qualifier. |
org.springframework.scheduling.quartz.QuartzJobBean |
Simple implementation of the Quartz Job interface, applying the passed-in JobDataMap and also the SchedulerContext as bean property values. This is appropriate because a new Job instance will be created for each execution. JobDataMap entries will override SchedulerContext entries with the same keys. For example, let's assume that the JobDataMap contains a key "myParam" with value "5": The Job implementation can then expose a bean property "myParam" of type int to receive such a value, i.e. a method "setMyParam(int)". This will also work for complex types like business objects etc. Note that the preferred way to apply dependency injection to Job instances is via a JobFactory: that is, to specify SpringBeanJobFactory as Quartz JobFactory (typically via |
org.springframework.dao.QueryTimeoutException |
Exception to be thrown on a query timeout. This could have different causes depending on the database API in use but most likely thrown after the database interrupts or stops the processing of a query before it has completed. This exception can be thrown by user code trapping the native database exception or by exception translation. |
org.springframework.aop.framework.autoproxy.target.QuickTargetSourceCreator |
Convenient TargetSourceCreator using bean name prefixes to create one of three well-known TargetSource types: |
org.springframework.web.servlet.tags.form.RadioButtonTag |
The Rendered elements are marked as 'checked' if the configured A typical usage pattern will involved multiple tag instances bound to the same property but with different values. Attribute Summary Attribute Required? Runtime Expression? Description accesskey false true HTML Standard Attribute cssClass false true HTML Optional Attribute cssErrorClass false true HTML Optional Attribute. Used when the bound field has errors. cssStyle false true HTML Optional Attribute dir false true HTML Standard Attribute disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. htmlEscape false true Enable/disable HTML escaping of rendered values. id false true HTML Standard Attribute label false true Value to be displayed as part of the tag lang false true HTML Standard Attribute onblur false true HTML Event Attribute onchange false true HTML Event Attribute onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onfocus false true HTML Event Attribute onkeydown false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onmousedown false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onmouseover false true HTML Event Attribute onmouseup false true HTML Event Attribute path true true Path to property for data binding tabindex false true HTML Standard Attribute title false true HTML Standard Attribute value false true HTML Optional Attribute |
org.springframework.web.servlet.tags.form.RadioButtonsTag |
The Rendered elements are marked as 'checked' if the configured Attribute Summary Attribute Required? Runtime Expression? Description accesskey false true HTML Standard Attribute cssClass false true HTML Optional Attribute cssErrorClass false true HTML Optional Attribute. Used when the bound field has errors. cssStyle false true HTML Optional Attribute delimiter false true Delimiter to use between each 'input' tag with type 'radio'. There is no delimiter by default. dir false true HTML Standard Attribute disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. element false true Specifies the HTML element that is used to enclose each 'input' tag with type 'radio'. Defaults to 'span'. htmlEscape false true Enable/disable HTML escaping of rendered values. id false true HTML Standard Attribute itemLabel false true Value to be displayed as part of the 'input' tags with type 'radio' items true true The Collection, Map or array of objects used to generate the 'input' tags with type 'radio' itemValue false true Name of the property mapped to 'value' attribute of the 'input' tags with type 'radio' lang false true HTML Standard Attribute onblur false true HTML Event Attribute onchange false true HTML Event Attribute onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onfocus false true HTML Event Attribute onkeydown false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onmousedown false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onmouseover false true HTML Event Attribute onmouseup false true HTML Event Attribute path true true Path to property for data binding tabindex false true HTML Standard Attribute title false true HTML Standard Attribute |
org.springframework.aop.RawTargetAccess |
Marker for AOP proxy interfaces (in particular: introduction interfaces) that explicitly intend to return the raw target object (which would normally get replaced with the proxy object when returned from a method invocation). Note that this is a marker interface in the style of java.io.Serializable, semantically applying to a declared interface rather than to the full class of a concrete object. In other words, this marker applies to a particular interface only (typically an introduction interface that does not serve as the primary interface of an AOP proxy), and hence does not affect other interfaces that a concrete AOP proxy may implement. |
org.springframework.core.ReactiveAdapterRegistry |
A registry of adapters to adapt a Reactive Streams Publisher to/from various async/reactive types such as By default, depending on classpath availability, adapters are registered for Reactor, RxJava 1, RxJava 2 types, CompletableFuture, and Java 9+ Flow.Publisher. |
org.springframework.http.client.reactive.ReactorClientHttpConnector |
Reactor-Netty implementation of ClientHttpConnector. |
org.springframework.http.server.reactive.ReactorHttpHandlerAdapter |
Adapt HttpHandler to the Reactor Netty channel handling function. |
org.springframework.web.reactive.socket.server.upgrade.ReactorNettyRequestUpgradeStrategy |
A RequestUpgradeStrategy for use with Reactor Netty. |
org.springframework.messaging.tcp.reactor.ReactorNettyTcpClient |
Reactor Netty based implementation of TcpOperations. |
org.springframework.messaging.tcp.reactor.ReactorNettyTcpConnection |
Reactor Netty based implementation of TcpConnection. |
org.springframework.messaging.simp.stomp.ReactorNettyTcpStompClient |
A STOMP over TCP client that uses ReactorNettyTcpClient. |
org.springframework.web.reactive.socket.client.ReactorNettyWebSocketClient |
WebSocketClient implementation for use with Reactor Netty. |
org.springframework.web.reactive.socket.adapter.ReactorNettyWebSocketSession |
Spring WebSocketSession implementation that adapts to Reactor Netty's WebSocket NettyInbound and NettyOutbound. |
org.springframework.format.datetime.joda.ReadableInstantPrinter |
Prints Joda-Time ReadableInstant instances using a DateTimeFormatter. |
org.springframework.format.datetime.joda.ReadablePartialPrinter |
Prints Joda-Time ReadablePartial instances using a DateTimeFormatter. |
org.springframework.beans.factory.parsing.ReaderContext |
Context that gets passed along a bean definition reading process, encapsulating all relevant configuration as well as state. |
org.springframework.beans.propertyeditors.ReaderEditor |
One-way PropertyEditor which can convert from a text String to a Supports Spring-style URL notation: any fully qualified standard URL ("file:", "http:", etc.) and Spring's special "classpath:" pseudo-URL. Note that such readers usually do not get closed by Spring itself! |
org.springframework.expression.spel.ast.RealLiteral |
Expression language AST node that represents a real literal. |
org.springframework.jca.cci.RecordTypeNotSupportedException |
Exception thrown when the creating of a CCI Record failed because the connector doesn't support the desired CCI Record type. |
org.springframework.web.servlet.mvc.support.RedirectAttributes |
A specialization of the Model interface that controllers can use to select attributes for a redirect scenario. Since the intent of adding redirect attributes is very explicit -- i.e. to be used for a redirect URL, attribute values may be formatted as Strings and stored that way to make them eligible to be appended to the query string or expanded as URI variables in This interface also provides a way to add flash attributes. For a general overview of flash attributes see FlashMap. You can use RedirectAttributes to store flash attributes and they will be automatically propagated to the "output" FlashMap of the current request. Example usage in an
A RedirectAttributes model is empty when the method is called and is never used unless the method returns a redirect view name or a RedirectView. After the redirect, flash attributes are automatically added to the model of the controller that serves the target URL. |
org.springframework.web.servlet.mvc.method.annotation.RedirectAttributesMethodArgumentResolver |
Resolves method arguments of type RedirectAttributes. This resolver must be listed ahead of org.springframework.web.method.annotation.ModelMethodProcessor and org.springframework.web.method.annotation.MapMethodProcessor, which support Map and Model arguments both of which are "super" types of |
org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap |
A ModelMap implementation of RedirectAttributes that formats values as Strings using a DataBinder. Also provides a place to store flash attributes so they can survive a redirect without the need to be embedded in the redirect URL. |
org.springframework.web.servlet.config.annotation.RedirectViewControllerRegistration |
Assist with the registration of a single redirect view controller. |
org.springframework.expression.spel.support.ReflectionHelper |
Utility methods used by the reflection resolver code to discover the appropriate methods/constructors and fields that should be used in expressions. |
org.springframework.test.util.ReflectionTestUtils |
There are often times when it would be beneficial to be able to set a non-
In addition, several methods in this class provide support for |
org.springframework.util.ReflectionUtils |
Simple utility class for working with the reflection API and handling reflection exceptions. Only intended for internal use. |
org.springframework.aop.aspectj.annotation.ReflectiveAspectJAdvisorFactory |
Factory that can create Spring AOP Advisors given AspectJ classes from classes honoring the AspectJ 5 annotation syntax, using reflection to invoke the corresponding advice methods. |
org.springframework.expression.spel.support.ReflectiveConstructorExecutor |
A simple ConstructorExecutor implementation that runs a constructor using reflective invocation. |
org.springframework.expression.spel.support.ReflectiveConstructorResolver |
A constructor resolver that uses reflection to locate the constructor that should be invoked. |
org.springframework.instrument.classloading.ReflectiveLoadTimeWeaver |
LoadTimeWeaver which uses reflection to delegate to an underlying ClassLoader with well-known transformation hooks. The underlying ClassLoader is expected to support the following weaving methods (as defined in the LoadTimeWeaver interface):
Please note that the above methods must reside in a class that is publicly accessible, although the class itself does not have to be visible to the application's class loader. The reflective nature of this LoadTimeWeaver is particularly useful when the underlying ClassLoader implementation is loaded in a different class loader itself (such as the application server's class loader which is not visible to the web application). There is no direct API dependency between this LoadTimeWeaver adapter and the underlying ClassLoader, just a 'loose' method contract. This is the LoadTimeWeaver to use e.g. with the Resin application server version 3.1+. |
org.springframework.expression.spel.support.ReflectiveMethodExecutor | |
org.springframework.aop.framework.ReflectiveMethodInvocation |
Spring's implementation of the AOP Alliance org.aopalliance.intercept.MethodInvocation interface, implementing the extended org.springframework.aop.ProxyMethodInvocation interface. Invokes the target object using reflection. Subclasses can override the It is possible to clone an invocation, to invoke NOTE: This class is considered internal and should not be directly accessed. The sole reason for it being public is compatibility with existing framework integrations (e.g. Pitchfork). For any other purposes, use the ProxyMethodInvocation interface instead. |
org.springframework.expression.spel.support.ReflectivePropertyAccessor |
Simple PropertyAccessor that uses reflection to access properties for reading and writing. A property can be accessed through a public getter method (when being read) or a public setter method (when being written), and also as a public field. |
org.springframework.scripting.support.RefreshableScriptTargetSource |
Subclass of BeanFactoryRefreshableTargetSource that determines whether a refresh is required through the given ScriptFactory. |
org.springframework.aop.support.RegexpMethodPointcutAdvisor |
Convenient class for regexp method pointcuts that hold an Advice, making them an org.springframework.aop.Advisor. Configure this class using the "pattern" and "patterns" pass-through properties. These are analogous to the pattern and patterns properties of AbstractRegexpMethodPointcut. Can delegate to any AbstractRegexpMethodPointcut subclass. By default, JdkRegexpMethodPointcut will be used. To choose a specific one, override the |
org.springframework.web.filter.RelativeRedirectFilter |
Overrides Note: While relative redirects are more efficient they may not work with reverse proxies under some configurations. |
org.springframework.context.support.ReloadableResourceBundleMessageSource |
Spring-specific org.springframework.context.MessageSource implementation that accesses resource bundles using specified basenames, participating in the Spring org.springframework.context.ApplicationContext's resource loading. In contrast to the JDK-based ResourceBundleMessageSource, this class uses java.util.Properties instances as its custom data structure for messages, loading them via a org.springframework.util.PropertiesPersister strategy from Spring Resource handles. This strategy is not only capable of reloading files based on timestamp changes, but also of loading properties files with a specific character encoding. It will detect XML property files as well. Note that the basenames set as For a typical web application, message files could be placed in This MessageSource can easily be used outside of an org.springframework.context.ApplicationContext: it will use a org.springframework.core.io.DefaultResourceLoader as default, simply getting overridden with the ApplicationContext's resource loader if running in a context. It does not have any other specific dependencies. Thanks to Thomas Achleitner for providing the initial implementation of this message source! |
org.springframework.remoting.support.RemoteInvocationBasedAccessor |
Abstract base class for remote service accessors that are based on serialization of RemoteInvocation objects. Provides a "remoteInvocationFactory" property, with a DefaultRemoteInvocationFactory as default strategy. |
org.springframework.remoting.support.RemoteInvocationExecutor |
Strategy interface for executing a RemoteInvocation on a target object. Used by org.springframework.remoting.rmi.RmiServiceExporter (for RMI invokers) and by org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter. |
org.springframework.remoting.RemoteInvocationFailureException |
RemoteAccessException subclass to be thrown when the execution of the target method failed on the server side, for example when a method was not found on the target object. |
org.springframework.remoting.support.RemoteInvocationTraceInterceptor |
AOP Alliance MethodInterceptor for tracing remote invocations. Automatically applied by RemoteExporter and its subclasses. Logs an incoming remote call as well as the finished processing of a remote call at DEBUG level. If the processing of a remote call results in a checked exception, the exception will get logged at INFO level; if it results in an unchecked exception (or error), the exception will get logged at WARN level. The logging of exceptions is particularly useful to save the stacktrace information on the server-side rather than just propagating the exception to the client (who might or might not log it properly). |
org.springframework.remoting.support.RemoteInvocationUtils |
General utilities for handling remote invocations. Mainly intended for use within the remoting framework. |
org.springframework.remoting.RemoteLookupFailureException |
RemoteAccessException subclass to be thrown in case of a lookup failure, typically if the lookup happens on demand for each method invocation. |
org.springframework.remoting.RemoteTimeoutException |
RemoteAccessException subclass to be thrown when the execution of the target method did not complete before a configurable timeout, for example when a reply message was not received. |
org.springframework.web.reactive.result.view.Rendering |
Public API for HTML rendering. Supported as a return value in Spring WebFlux controllers. Comparable to the use of Controllers typically return a String view name and rely on the "implicit" model which can also be injected into the controller method. Or controllers may return model attribute(s) and rely on a default view name being selected based on the request path. Rendering can be used to combine a view name with model attributes, set the HTTP status or headers, and for other more advanced options around redirect scenarios. |
org.springframework.web.reactive.result.view.script.RenderingContext |
Context passed to ScriptTemplateView render function. |
org.springframework.web.servlet.view.script.RenderingContext |
Context passed to ScriptTemplateView render function. |
org.springframework.web.reactive.function.server.RenderingResponse |
Rendering-specific subtype of ServerResponse that exposes model and template data. |
org.springframework.test.annotation.Repeat |
Test annotation to indicate that a test method should be invoked repeatedly. Note that the scope of execution to be repeated includes execution of the test method itself as well as any set up or tear down of the test fixture. As of Spring Framework 4.0, this annotation may be used as a meta-annotation to create custom composed annotations. |
org.springframework.beans.factory.support.ReplaceOverride |
Extension of MethodOverride that represents an arbitrary override of a method by the IoC container. Any non-final method can be overridden, irrespective of its parameters and return types. |
org.springframework.jms.listener.adapter.ReplyFailureException |
Exception to be thrown when the reply of a message failed to be sent. |
org.springframework.web.bind.annotation.RequestAttribute |
Annotation to bind a method parameter to a request attribute. The main motivation is to provide convenient access to request attributes from a controller method with an optional/required check and a cast to the target method parameter type. |
org.springframework.web.reactive.result.method.annotation.RequestAttributeMethodArgumentResolver |
Resolves method arguments annotated with an @RequestAttribute. |
org.springframework.web.servlet.mvc.method.annotation.RequestAttributeMethodArgumentResolver |
Resolves method arguments annotated with an @RequestAttribute. |
org.springframework.web.bind.annotation.RequestBody |
Annotation indicating a method parameter should be bound to the body of the web request. The body of the request is passed through an HttpMessageConverter to resolve the method argument depending on the content type of the request. Optionally, automatic validation can be applied by annotating the argument with Supported for annotated handler methods in Servlet environments. |
org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice |
Allows customizing the request before its body is read and converted into an Object and also allows for processing of the resulting Object before it is passed into a controller method as an Implementations of this contract may be registered directly with the |
org.springframework.web.reactive.result.method.annotation.RequestBodyArgumentResolver |
Resolves method arguments annotated with An |
org.springframework.web.filter.RequestContextFilter |
Servlet Filter that exposes the request to the current thread, through both org.springframework.context.i18n.LocaleContextHolder and RequestContextHolder. To be registered as filter in Alternatively, Spring's org.springframework.web.context.request.RequestContextListener and Spring's org.springframework.web.servlet.DispatcherServlet also expose the same request context to the current thread. This filter is mainly for use with third-party servlets, e.g. the JSF FacesServlet. Within Spring's own web support, DispatcherServlet's processing is perfectly sufficient. |
org.springframework.web.context.request.RequestContextListener |
Servlet listener that exposes the request to the current thread, through both org.springframework.context.i18n.LocaleContextHolder and RequestContextHolder. To be registered as listener in Alternatively, Spring's org.springframework.web.filter.RequestContextFilter and Spring's org.springframework.web.servlet.DispatcherServlet also expose the same request context to the current thread. In contrast to this listener, advanced options are available there (e.g. "threadContextInheritable"). This listener is mainly for use with third-party servlets, e.g. the JSF FacesServlet. Within Spring's own web support, DispatcherServlet's processing is perfectly sufficient. |
org.springframework.web.servlet.support.RequestContextUtils |
Utility class for easy access to request-specific state which has been set by the org.springframework.web.servlet.DispatcherServlet. Supports lookup of current WebApplicationContext, LocaleResolver, Locale, ThemeResolver, Theme, and MultipartResolver. |
org.springframework.test.web.client.RequestExpectation |
An extension of While |
org.springframework.web.context.support.RequestHandledEvent |
Event raised when a request is handled within an ApplicationContext. Supported by Spring's own FrameworkServlet (through a specific ServletRequestHandledEvent subclass), but can also be raised by any other web component. Used, for example, by Spring's out-of-the-box PerformanceMonitorListener. |
org.springframework.web.method.annotation.RequestHeaderMapMethodArgumentResolver |
Resolves Map method arguments annotated with The created Map contains all request header name/value pairs. The method parameter type may be a MultiValueMap to receive all values for a header, not only the first one. |
org.springframework.web.reactive.result.method.annotation.RequestHeaderMapMethodArgumentResolver |
Resolves Map method arguments annotated with The created Map contains all request header name/value pairs. The method parameter type may be a MultiValueMap to receive all values for a header, not only the first one. |
org.springframework.web.method.annotation.RequestHeaderMethodArgumentResolver |
Resolves method arguments annotated with An A WebDataBinder is invoked to apply type conversion to resolved request header values that don't yet match the method parameter type. |
org.springframework.web.reactive.result.method.annotation.RequestHeaderMethodArgumentResolver |
Resolves method arguments annotated with An A ConversionService is invoked to apply type conversion to resolved request header values that don't yet match the method parameter type. |
org.springframework.web.reactive.result.method.RequestMappingInfo |
Encapsulates the following request mapping conditions:
|
org.springframework.web.servlet.mvc.method.RequestMappingInfo |
A RequestCondition that consists of the following other conditions:
|
org.springframework.web.reactive.result.method.RequestMappingInfoHandlerMapping |
Abstract base class for classes for which RequestMappingInfo defines the mapping between a request and a handler method. |
org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping |
Abstract base class for classes for which RequestMappingInfo defines the mapping between a request and a handler method. |
org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMethodMappingNamingStrategy |
A org.springframework.web.servlet.handler.HandlerMethodMappingNamingStrategy for |
org.springframework.web.bind.annotation.RequestParam |
Annotation which indicates that a method parameter should be bound to a web request parameter. Supported for annotated handler methods in Servlet and Portlet environments. If the method parameter type is Map and a request parameter name is specified, then the request parameter value is converted to a Map assuming an appropriate conversion strategy is available. If the method parameter is java.util.Map or org.springframework.util.MultiValueMap and a parameter name is not specified, then the map parameter is populated with all request parameter names and values. |
org.springframework.web.method.annotation.RequestParamMapMethodArgumentResolver |
Resolves Map method arguments annotated with an @RequestParam where the annotation does not specify a request parameter name. See RequestParamMethodArgumentResolver for resolving Map method arguments with a request parameter name. The created Map contains all request parameter name/value pairs. If the method parameter type is MultiValueMap instead, the created map contains all request parameters and all there values for cases where request parameters have multiple values. |
org.springframework.web.reactive.result.method.annotation.RequestParamMapMethodArgumentResolver |
Resolver for Map method arguments annotated with RequestParam where the annotation does not specify a request parameter name. See RequestParamMethodArgumentResolver for resolving Map method arguments with a request parameter name. The created Map contains all request parameter name-value pairs. If the method parameter type is MultiValueMap instead, the created map contains all request parameters and all there values for cases where request parameters have multiple values. |
org.springframework.web.method.annotation.RequestParamMethodArgumentResolver |
Resolves method arguments annotated with @RequestParam, arguments of type MultipartFile in conjunction with Spring's MultipartResolver abstraction, and arguments of type If the method parameter type is Map, the name specified in the annotation is used to resolve the request parameter String value. The value is then converted to a Map via type conversion assuming a suitable Converter or PropertyEditor has been registered. Or if a request parameter name is not specified the RequestParamMapMethodArgumentResolver is used instead to provide access to all request parameters in the form of a map. A WebDataBinder is invoked to apply type conversion to resolved request header values that don't yet match the method parameter type. |
org.springframework.web.reactive.result.method.annotation.RequestParamMethodArgumentResolver |
Resolver for method arguments annotated with @RequestParam from URI query string parameters. This resolver can also be created in default resolution mode in which simple types (int, long, etc.) not annotated with @RequestParam are also treated as request parameters with the parameter name derived from the argument name. If the method parameter type is Map, the name specified in the annotation is used to resolve the request parameter String value. The value is then converted to a Map via type conversion assuming a suitable Converter has been registered. Or if a request parameter name is not specified the RequestParamMapMethodArgumentResolver is used instead to provide access to all request parameters in the form of a map. |
org.springframework.web.bind.annotation.RequestPart |
Annotation that can be used to associate the part of a "multipart/form-data" request with a method argument. Supported method argument types include MultipartFile in conjunction with Spring's MultipartResolver abstraction, Note that @RequestParam annotation can also be used to associate the part of a "multipart/form-data" request with a method argument supporting the same method argument types. The main difference is that when the method argument is not a String, @RequestParam relies on type conversion via a registered Converter or PropertyEditor while @RequestPart relies on HttpMessageConverters taking into consideration the 'Content-Type' header of the request part. @RequestParam is likely to be used with name-value form fields while @RequestPart is likely to be used with parts containing more complex content (e.g. JSON, XML). |
org.springframework.web.reactive.result.method.annotation.RequestPartMethodArgumentResolver |
Resolver for This resolver also supports arguments of type Part which may be wrapped with are reactive type for a single or multiple values. |
org.springframework.web.servlet.mvc.method.annotation.RequestPartMethodArgumentResolver |
Resolves the following method arguments:
When a parameter is annotated with When a parameter is not annotated or the name of the part is not specified, it is derived from the name of the method argument. Automatic validation may be applied if the argument is annotated with |
org.springframework.web.multipart.support.RequestPartServletServerHttpRequest |
ServerHttpRequest implementation that accesses one part of a multipart request. If using MultipartResolver configuration the part is accessed through a MultipartFile. Or if using Servlet 3.0 multipart processing the part is accessed through |
org.springframework.test.web.servlet.request.RequestPostProcessor |
Extension point for applications or 3rd party libraries that wish to further initialize a MockHttpServletRequest instance after it has been built by MockHttpServletRequestBuilder or its subclass MockMultipartHttpServletRequestBuilder. Implementations of this interface can be provided to |
org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor |
Resolves method arguments annotated with An |
org.springframework.test.web.servlet.result.RequestResultMatchers |
Factory for assertions on the request. An instance of this class is typically accessed via |
org.springframework.web.context.request.RequestScope |
Request-backed org.springframework.beans.factory.config.Scope implementation. Relies on a thread-bound RequestAttributes instance, which can be exported through RequestContextListener, org.springframework.web.filter.RequestContextFilter or org.springframework.web.servlet.DispatcherServlet. |
org.springframework.web.context.annotation.RequestScope |
Specifically,
|
org.springframework.web.servlet.RequestToViewNameTranslator |
Strategy interface for translating an incoming javax.servlet.http.HttpServletRequest into a logical view name when no view name is explicitly supplied. |
org.springframework.beans.factory.annotation.Required |
Marks a method (typically a JavaBean setter method) as being 'required': that is, the setter method must be configured to be dependency-injected with a value. Please do consult the javadoc for the RequiredAnnotationBeanPostProcessor class (which, by default, checks for the presence of this annotation). |
org.springframework.beans.factory.annotation.RequiredAnnotationBeanPostProcessor |
org.springframework.beans.factory.config.BeanPostProcessor implementation that enforces required JavaBean properties to have been configured. Required bean properties are detected through a Java 5 annotation: by default, Spring's Required annotation. The motivation for the existence of this BeanPostProcessor is to allow developers to annotate the setter properties of their own classes with an arbitrary JDK 1.5 annotation to indicate that the container must check for the configuration of a dependency injected value. This neatly pushes responsibility for such checking onto the container (where it arguably belongs), and obviates the need (in part) for a developer to code a method that simply checks that all required properties have actually been set. Please note that an 'init' method may still need to implemented (and may still be desirable), because all that this class does is enforce that a 'required' property has actually been configured with a value. It does not check anything else... In particular, it does not check that a configured value is not Note: A default RequiredAnnotationBeanPostProcessor will be registered by the "context:annotation-config" and "context:component-scan" XML tags. Remove or turn off the default annotation configuration there if you intend to specify a custom RequiredAnnotationBeanPostProcessor bean definition. |
org.springframework.util.ResizableByteArrayOutputStream |
An extension of java.io.ByteArrayOutputStream that:
As of 4.2, this class has been superseded by FastByteArrayOutputStream for Spring's internal use where no assignability to ByteArrayOutputStream is needed (since FastByteArrayOutputStream is more efficient with buffer resize management but doesn't extend the standard ByteArrayOutputStream). |
org.springframework.core.ResolvableTypeProvider |
Any object can implement this interface to provide its actual ResolvableType. Such information is very useful when figuring out if the instance matches a generic signature as Java does not convey the signature at runtime. Users of this interface should be careful in complex hierarchy scenarios, especially when the generic type signature of the class changes in sub-classes. It is always possible to return |
org.springframework.web.client.ResourceAccessException |
Exception thrown when an I/O error occurs. |
org.springframework.jca.context.ResourceAdapterApplicationContext |
org.springframework.context.ApplicationContext implementation for a JCA ResourceAdapter. Needs to be initialized with the JCA javax.resource.spi.BootstrapContext, passing it on to Spring-managed beans that implement BootstrapContextAware. |
org.springframework.jca.support.ResourceAdapterFactoryBean |
org.springframework.beans.factory.FactoryBean that bootstraps the specified JCA 1.7 javax.resource.spi.ResourceAdapter, starting it with a local javax.resource.spi.BootstrapContext and exposing it for bean references. It will also stop the ResourceAdapter on context shutdown. This corresponds to 'non-managed' bootstrap in a local environment, according to the JCA 1.7 specification. This is essentially an adapter for bean-style bootstrapping of a JCA ResourceAdapter, allowing the BootstrapContext or its elements (such as the JCA WorkManager) to be specified through bean properties. |
org.springframework.jms.ResourceAllocationException |
Runtime exception mirroring the JMS ResourceAllocationException. |
org.springframework.beans.propertyeditors.ResourceBundleEditor |
java.beans.PropertyEditor implementation for standard JDK java.util.ResourceBundle. Only supports conversion from a String, but not to a String. Find below some examples of using this class in a (properly configured) Spring container using XML-based metadata:
A 'properly configured' Spring org.springframework.context.ApplicationContext might contain a org.springframework.beans.factory.config.CustomEditorConfigurer definition such that the conversion can be effected transparently:
Please note that this java.beans.PropertyEditor is not registered by default with any of the Spring infrastructure. Thanks to David Leal Valmana for the suggestion and initial prototype. |
org.springframework.context.support.ResourceBundleMessageSource |
org.springframework.context.MessageSource implementation that accesses resource bundles using specified basenames. This class relies on the underlying JDK's java.util.ResourceBundle implementation, in combination with the JDK's standard message parsing provided by java.text.MessageFormat. This MessageSource caches both the accessed ResourceBundle instances and the generated MessageFormats for each message. It also implements rendering of no-arg messages without MessageFormat, as supported by the AbstractMessageSource base class. The caching provided by this MessageSource is significantly faster than the built-in caching of the The basenames follow java.util.ResourceBundle conventions: essentially, a fully-qualified classpath location. If it doesn't contain a package qualifier (such as |
org.springframework.ui.context.support.ResourceBundleThemeSource |
ThemeSource implementation that looks up an individual java.util.ResourceBundle per theme. The theme name gets interpreted as ResourceBundle basename, supporting a common basename prefix for all themes. |
org.springframework.web.servlet.view.ResourceBundleViewResolver |
A org.springframework.web.servlet.ViewResolver implementation that uses bean definitions in a ResourceBundle, specified by the bundle basename. The bundle is typically defined in a properties file, located in the classpath. The default bundle basename is "views". This Note: This |
org.springframework.core.codec.ResourceDecoder |
Decoder for Resources. |
org.springframework.beans.support.ResourceEditorRegistrar |
PropertyEditorRegistrar implementation that populates a given org.springframework.beans.PropertyEditorRegistry (typically a org.springframework.beans.BeanWrapper used for bean creation within an org.springframework.context.ApplicationContext) with resource editors. Used by org.springframework.context.support.AbstractApplicationContext. |
org.springframework.core.codec.ResourceEncoder |
Encoder for Resources. |
org.springframework.beans.factory.xml.ResourceEntityResolver |
EntityResolver implementation that tries to resolve entity references through a org.springframework.core.io.ResourceLoader (usually, relative to the resource base of an ApplicationContext), if applicable. Extends DelegatingEntityResolver to also provide DTD and XSD lookup. Allows to use standard XML entities to include XML snippets into an application context definition, for example to split a large XML file into various modules. The include paths can be relative to the application context's resource base as usual, instead of relative to the JVM working directory (the XML parser's default). Note: In addition to relative paths, every URL that specifies a file in the current system root, i.e. the JVM working directory, will be interpreted relative to the application context too. |
org.springframework.web.reactive.config.ResourceHandlerRegistration |
Assist with creating and configuring a static resources handler. |
org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration |
Encapsulates information required to create a resource handler. |
org.springframework.transaction.support.ResourceHolderSynchronization |
TransactionSynchronization implementation that manages a ResourceHolder bound through TransactionSynchronizationManager. |
org.springframework.http.converter.ResourceHttpMessageConverter |
Implementation of HttpMessageConverter that can read/write Resource and supports byte range requests. By default, this converter can read all media types. The MediaTypeFactory is used to determine the |
org.springframework.scheduling.quartz.ResourceLoaderClassLoadHelper |
Wrapper that adapts from the Quartz ClassLoadHelper interface onto Spring's ResourceLoader interface. Used by default when the SchedulerFactoryBean runs in a Spring ApplicationContext. |
org.springframework.instrument.classloading.ResourceOverridingShadowingClassLoader |
Subclass of ShadowingClassLoader that overrides attempts to locate certain files. |
org.springframework.core.io.support.ResourcePatternUtils |
Utility class for determining whether a given URL is a resource location that can be loaded via a ResourcePatternResolver. Callers will usually assume that a location is a relative path if the |
org.springframework.core.io.support.ResourcePropertySource |
Subclass of PropertiesPropertySource that loads a Properties object from a given org.springframework.core.io.Resource or resource location such as Both traditional and XML-based properties file formats are supported; however, in order for XML processing to take effect, the underlying |
org.springframework.core.io.support.ResourceRegion |
Region of a Resource implementation, materialized by a |
org.springframework.core.codec.ResourceRegionEncoder |
Encoder for ResourceRegions. |
org.springframework.http.converter.ResourceRegionHttpMessageConverter |
Implementation of HttpMessageConverter that can write a single ResourceRegion, or Collections of ResourceRegion. |
org.springframework.web.reactive.resource.ResourceResolverChain |
A contract for invoking a chain of ResourceResolvers where each resolver is given a reference to the chain allowing it to delegate when necessary. |
org.springframework.web.servlet.resource.ResourceResolverChain |
A contract for invoking a chain of ResourceResolvers where each resolver is given a reference to the chain allowing it to delegate when necessary. |
org.springframework.scripting.support.ResourceScriptSource |
org.springframework.scripting.ScriptSource implementation based on Spring's org.springframework.core.io.Resource abstraction. Loads the script text from the underlying Resource's |
org.springframework.web.reactive.resource.ResourceTransformer |
An abstraction for transforming the content of a resource. |
org.springframework.web.servlet.resource.ResourceTransformer |
An abstraction for transforming the content of a resource. |
org.springframework.web.servlet.resource.ResourceUrlEncodingFilter |
A filter that wraps the HttpServletResponse and overrides its |
org.springframework.web.servlet.resource.ResourceUrlProviderExposingInterceptor |
An interceptor that exposes the ResourceUrlProvider instance it is configured with as a request attribute. |
org.springframework.web.bind.annotation.ResponseBody |
Annotation that indicates a method return value should be bound to the web response body. Supported for annotated handler methods in Servlet environments. As of version 4.0 this annotation can also be added on the type level in which case it is inherited and does not need to be added on the method level. |
org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter |
A controller method return value type for asynchronous request processing where one or more objects are written to the response. While org.springframework.web.context.request.async.DeferredResult is used to produce a single result, a Supported as a return type on its own as well as within a org.springframework.http.ResponseEntity.
|
org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitterReturnValueHandler |
Handler for return values of type ResponseBodyEmitter and sub-classes such as SseEmitter including the same types wrapped with ResponseEntity. As of 5.0 also supports reactive return value types for any reactive library with registered adapters in ReactiveAdapterRegistry. |
org.springframework.test.web.client.ResponseCreator |
A contract for creating a ClientHttpResponse. Implementations can be obtained via MockRestResponseCreators. |
org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler |
A convenient base class for ControllerAdvice classes that wish to provide centralized exception handling across all This base class provides an If there is no need to write error content to the response body, or when using view resolution (e.g., via Note that in order for an |
org.springframework.web.bind.annotation.ResponseStatus |
Marks a method or exception class with the status The status code is applied to the HTTP response when the handler method is invoked and overrides status information set by other means, like Warning: when using this annotation on an exception class, or when setting the With Note that a controller class may also be annotated with |
org.springframework.web.server.handler.ResponseStatusExceptionHandler |
Handle ResponseStatusException by setting the response status. |
org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver |
A org.springframework.web.servlet.HandlerExceptionResolver that uses the ResponseStatus annotation to map exceptions to HTTP status codes. This exception resolver is enabled by default in the org.springframework.web.servlet.DispatcherServlet and the MVC Java config and the MVC namespace. As of 4.2 this resolver also looks recursively for As of 5.0 this resolver also supports ResponseStatusException. |
org.springframework.web.bind.annotation.RestController |
A convenience annotation that is itself annotated with Controller and ResponseBody. Types that carry this annotation are treated as controllers where RequestMapping methods assume ResponseBody semantics by default. NOTE: |
org.springframework.web.bind.annotation.RestControllerAdvice |
A convenience annotation that is itself annotated with ControllerAdvice and ResponseBody. Types that carry this annotation are treated as controller advice where ExceptionHandler methods assume ResponseBody semantics by default. NOTE: |
org.springframework.web.socket.sockjs.client.RestTemplateXhrTransport |
An |
org.springframework.test.web.servlet.ResultActions |
Allows applying actions, such as expectations, on the result of an executed request. See static factory methods in org.springframework.test.web.servlet.result.MockMvcResultMatchers and org.springframework.test.web.servlet.result.MockMvcResultHandlers. |
org.springframework.jdbc.core.ResultSetSupportingSqlParameter |
Common base class for ResultSet-supporting SqlParameters like SqlOutParameter and SqlReturnResultSet. |
org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet |
The default implementation of Spring's SqlRowSet interface, wrapping a java.sql.ResultSet, catching any SQLExceptions and translating them to a corresponding Spring InvalidResultSetAccessException. The passed-in ResultSet should already be disconnected if the SqlRowSet is supposed to be usable in a disconnected fashion. This means that you will usually pass in a Note: Since JDBC 4.0, it has been clarified that any methods using a String to identify the column should be using the column label. The column label is assigned using the ALIAS keyword in the SQL query string. When the query doesn't use an ALIAS, the default label is the column name. Most JDBC ResultSet implementations follow this new pattern but there are exceptions such as the Note: This class implements the |
org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSetMetaData |
The default implementation of Spring's SqlRowSetMetaData interface, wrapping a java.sql.ResultSetMetaData instance, catching any SQLExceptions and translating them to a corresponding Spring InvalidResultSetAccessException. Used by ResultSetWrappingSqlRowSet. |
org.springframework.remoting.rmi.RmiClientInterceptorUtils |
Factored-out methods for performing invocations within an RMI client. Can handle both RMI and non-RMI service interfaces working on an RMI stub. Note: This is an SPI class, not intended to be used by applications. |
org.springframework.remoting.rmi.RmiProxyFactoryBean |
FactoryBean for RMI proxies, supporting both conventional RMI services and RMI invokers. Exposes the proxied service for use as a bean reference, using the specified service interface. Proxies will throw Spring's unchecked RemoteAccessException on remote invocation failure instead of RMI's RemoteException. The service URL must be a valid RMI URL like "rmi://localhost:1099/myservice". RMI invokers work at the RmiInvocationHandler level, using the same invoker stub for any service. Service interfaces do not have to extend With conventional RMI services, this proxy factory is typically used with the RMI service interface. Alternatively, this factory can also proxy a remote RMI service with a matching non-RMI business interface, i.e. an interface that mirrors the RMI service methods but does not declare RemoteExceptions. In the latter case, RemoteExceptions thrown by the RMI stub will automatically get converted to Spring's unchecked RemoteAccessException. The major advantage of RMI, compared to Hessian, is serialization. Effectively, any serializable Java object can be transported without hassle. Hessian has its own (de-)serialization mechanisms, but is HTTP-based and thus much easier to setup than RMI. Alternatively, consider Spring's HTTP invoker to combine Java serialization with HTTP-based transport. |
org.springframework.remoting.rmi.RmiRegistryFactoryBean |
FactoryBean that locates a java.rmi.registry.Registry and exposes it for bean references. Can also create a local RMI registry on the fly if none exists already. Can be used to set up and pass around the actual Registry object to applications objects that need to work with RMI. One example for such an object that needs to work with RMI is Spring's RmiServiceExporter, which either works with a passed-in Registry reference or falls back to the registry as specified by its local properties and defaults. Also useful to enforce creation of a local RMI registry at a given port, for example for a JMX connector. If used in conjunction with org.springframework.jmx.support.ConnectorServerFactoryBean, it is recommended to mark the connector definition (ConnectorServerFactoryBean) as "depends-on" the registry definition (RmiRegistryFactoryBean), to guarantee starting up the registry first. Note: The implementation of this class mirrors the corresponding logic in RmiServiceExporter, and also offers the same customization hooks. RmiServiceExporter implements its own registry lookup as a convenience: It is very common to simply rely on the registry defaults. |
org.springframework.test.annotation.Rollback |
Consult the class-level Javadoc for org.springframework.test.context.transaction.TransactionalTestExecutionListener for an explanation of test-managed transactions. When declared as a class-level annotation, As of Spring Framework 4.2, Warning: Declaring This annotation may be used as a meta-annotation to create custom composed annotations. Consult the source code for Commit for a concrete example. |
org.springframework.aop.support.RootClassFilter |
Simple ClassFilter implementation that passes classes (and optionally subclasses) |
org.springframework.web.reactive.function.server.RouterFunctionDsl |
Provide a RouterFunction Kotlin DSL in order to be able to write idiomatic Kotlin code. |
org.springframework.jdbc.core.RowCountCallbackHandler |
Implementation of RowCallbackHandler. Convenient superclass for callback handlers. An instance can only be used once. We can either use this on its own (for example, in a test case, to ensure that our result sets have valid dimensions), or use it as a superclass for callback handlers that actually do something, and will benefit from the dimension information it provides. A usage example with JdbcTemplate:
|
org.springframework.jdbc.core.RowMapperResultSetExtractor |
Adapter implementation of the ResultSetExtractor interface that delegates to a RowMapper which is supposed to create an object for each row. Each object is added to the results List of this ResultSetExtractor. Useful for the typical case of one object per row in the database table. The number of entries in the results list will match the number of rows. Note that a RowMapper object is typically stateless and thus reusable; just the RowMapperResultSetExtractor adapter is stateful. A usage example with JdbcTemplate:
Alternatively, consider subclassing MappingSqlQuery from the |
org.springframework.http.converter.feed.RssChannelHttpMessageConverter |
Implementation of org.springframework.http.converter.HttpMessageConverter that can read and write RSS feeds. Specifically, this converter can handle Channel objects from the ROME project. >NOTE: As of Spring 4.1, this is based on the By default, this converter reads and writes the media type ( |
org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks |
NOTE: This class requires JUnit 4.9 or higher. |
org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks |
NOTE: This class requires JUnit 4.9 or higher. |
org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks |
NOTE: This class requires JUnit 4.9 or higher. |
org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks |
|
org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks |
|
org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks |
|
org.springframework.test.context.junit4.statements.RunPrepareTestInstanceCallbacks |
|
org.springframework.beans.factory.config.RuntimeBeanNameReference |
Immutable placeholder class used for a property value object when it's a reference to another bean name in the factory, to be resolved at runtime. |
org.springframework.beans.factory.config.RuntimeBeanReference |
Immutable placeholder class used for a property value object when it's a reference to another bean in the factory, to be resolved at runtime. |
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator |
Implementation of SQLExceptionTranslator that analyzes vendor-specific error codes. More precise than an implementation based on SQL state, but heavily vendor-specific. This class applies the following matching rules:
The configuration file named "sql-error-codes.xml" is by default read from this package. It can be overridden through a file of the same name in the root of the class path (e.g. in the "/WEB-INF/classes" directory), as long as the Spring JDBC package is loaded from the same ClassLoader. |
org.springframework.jdbc.support.SQLExceptionSubclassTranslator |
SQLExceptionTranslator implementation which analyzes the specific java.sql.SQLException subclass thrown by the JDBC driver. Falls back to a standard SQLStateSQLExceptionTranslator if the JDBC driver does not actually expose JDBC 4 compliant |
org.springframework.jdbc.support.SQLExceptionTranslator |
Strategy interface for translating between SQLException and Spring's data access strategy-agnostic DataAccessException hierarchy. Implementations can be generic (for example, using |
org.springframework.jdbc.support.SQLStateSQLExceptionTranslator |
SQLExceptionTranslator implementation that analyzes the SQL state in the SQLException based on the first two digits (the SQL state "class"). Detects standard SQL state values and well-known vendor-specific SQL states. Not able to diagnose all problems, but is portable between databases and does not require special initialization (no database vendor detection, etc.). For more precise translation, consider SQLErrorCodeSQLExceptionTranslator. |
org.springframework.jdbc.SQLWarningException |
Exception thrown when we're not ignoring java.sql.SQLWarning. If a SQLWarning is reported, the operation completed, so we will need to explicitly roll it back if we're not happy when looking at the warning. We might choose to ignore (and log) the warning, or to wrap and throw it in the shape of this SQLWarningException instead. |
org.springframework.oxm.support.SaxResourceUtils |
Convenient utility methods for dealing with SAX. |
org.springframework.context.annotation.ScannedGenericBeanDefinition |
Extension of the org.springframework.beans.factory.support.GenericBeanDefinition class, based on an ASM ClassReader, with support for annotation metadata exposed through the AnnotatedBeanDefinition interface. This class does not load the bean |
org.springframework.scheduling.concurrent.ScheduledExecutorFactoryBean |
org.springframework.beans.factory.FactoryBean that sets up a java.util.concurrent.ScheduledExecutorService (by default: a java.util.concurrent.ScheduledThreadPoolExecutor) and exposes it for bean references. Allows for registration of ScheduledExecutorTask, automatically starting the ScheduledExecutorService on initialization and cancelling it on destruction of the context. In scenarios that only require static registration of tasks at startup, there is no need to access the ScheduledExecutorService instance itself in application code at all; For an alternative, you may set up a ScheduledThreadPoolExecutor instance directly using constructor injection, or use a factory method definition that points to the java.util.concurrent.Executors class. This is strongly recommended in particular for common Note that java.util.concurrent.ScheduledExecutorService uses a Runnable instance that is shared between repeated executions, in contrast to Quartz which instantiates a new Job for each execution. WARNING: Runnable submitted via a native java.util.concurrent.ScheduledExecutorService are removed from the execution schedule once they throw an exception. If you would prefer to continue execution after such an exception, switch this FactoryBean's |
org.springframework.scheduling.concurrent.ScheduledExecutorTask |
JavaBean that describes a scheduled executor task, consisting of the Runnable and a delay plus period. The period needs to be specified; there is no point in a default for it. The java.util.concurrent.ScheduledExecutorService does not offer more sophisticated scheduling options such as cron expressions. Consider using ThreadPoolTaskScheduler for such needs. Note that the java.util.concurrent.ScheduledExecutorService mechanism uses a Runnable instance that is shared between repeated executions, in contrast to Quartz which creates a new Job instance for each execution. |
org.springframework.scheduling.support.ScheduledMethodRunnable |
Variant of MethodInvokingRunnable meant to be used for processing of no-arg scheduled methods. Propagates user exceptions to the caller, assuming that an error strategy for Runnables is in place. |
org.springframework.scheduling.config.ScheduledTask |
A representation of a scheduled task at runtime, used as a return value for scheduling methods. |
org.springframework.scheduling.config.ScheduledTasksBeanDefinitionParser |
Parser for the 'scheduled-tasks' element of the scheduling namespace. |
org.springframework.scheduling.commonj.ScheduledTimerListener |
JavaBean that describes a scheduled TimerListener, consisting of the TimerListener itself (or a Runnable to create a TimerListener for) and a delay plus period. Period needs to be specified; there is no point in a default for it. The CommonJ TimerManager does not offer more sophisticated scheduling options such as cron expressions. Consider using Quartz for such advanced needs. Note that the TimerManager uses a TimerListener instance that is shared between repeated executions, in contrast to Quartz which instantiates a new Job for each execution. |
org.springframework.scheduling.quartz.SchedulerAccessorBean |
Spring bean-style class for accessing a Quartz Scheduler, i.e. for registering jobs, triggers and listeners on a given org.quartz.Scheduler instance. Compatible with Quartz 2.1.4 and higher, as of Spring 4.1. |
org.springframework.scheduling.config.SchedulerBeanDefinitionParser |
Parser for the 'scheduler' element of the 'task' namespace. |
org.springframework.scheduling.annotation.Schedules |
Container annotation that aggregates several Scheduled annotations. Can be used natively, declaring several nested Scheduled annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, where Scheduled can simply be declared several times on the same method, implicitly generating this container annotation. This annotation may be used as a meta-annotation to create custom composed annotations. |
org.springframework.scheduling.SchedulingAwareRunnable |
Extension of the Runnable interface, adding special callbacks for long-running operations. This interface closely corresponds to the CommonJ Work interface, but is kept separate to avoid a required CommonJ dependency. Scheduling-capable TaskExecutors are encouraged to check a submitted Runnable, detecting whether this interface is implemented and reacting as appropriately as they are able to. |
org.springframework.scheduling.annotation.SchedulingConfiguration |
This configuration class is automatically imported when using the EnableScheduling annotation. See |
org.springframework.scheduling.annotation.SchedulingConfigurer |
Optional interface to be implemented by @ classes annotated with @EnableScheduling. Typically used for setting a specific org.springframework.scheduling.TaskScheduler bean to be used when executing scheduled tasks or for registering scheduled tasks in a programmatic fashion as opposed to the declarative approach of using the @Scheduled annotation. For example, this may be necessary when implementing -based tasks, which are not supported by the See @EnableScheduling for detailed usage examples. |
org.springframework.scheduling.SchedulingException |
General exception to be thrown on scheduling failures, such as the scheduler already having shut down. Unchecked since scheduling failures are usually fatal. |
org.springframework.context.annotation.Scope |
When used as a type-level annotation in conjunction with org.springframework.stereotype.Component, When used as a method-level annotation in conjunction with Bean, In this context, scope means the lifecycle of an instance, such as To register additional custom scopes, see org.springframework.beans.factory.config.CustomScopeConfigurer. |
org.springframework.aop.scope.ScopedObject |
An AOP introduction interface for scoped objects. Objects created from the ScopedProxyFactoryBean can be cast to this interface, enabling access to the raw target object and programmatic removal of the target object. |
org.springframework.aop.scope.ScopedProxyFactoryBean |
Convenient proxy factory bean for scoped objects. Proxies created using this factory bean are thread-safe singletons and may be injected into shared objects, with transparent scoping behavior. Proxies returned by this class implement the ScopedObject interface. This presently allows for removing the corresponding object from the scope, seamlessly creating a new instance in the scope on next access. Please note that the proxies created by this factory are class-based proxies by default. This can be customized through switching the "proxyTargetClass" property to "false". |
org.springframework.aop.scope.ScopedProxyUtils |
Utility class for creating a scoped proxy. Used by ScopedProxyBeanDefinitionDecorator and ClassPathBeanDefinitionScanner. |
org.springframework.scripting.ScriptCompilationException |
Exception to be thrown on script compilation failure. |
org.springframework.jdbc.datasource.init.ScriptException |
Root of the hierarchy of data access exceptions that are related to processing of SQL scripts. |
org.springframework.scripting.support.ScriptFactoryPostProcessor |
org.springframework.beans.factory.config.BeanPostProcessor that handles org.springframework.scripting.ScriptFactory definitions, replacing each factory with the actual scripted Java object generated by it. This is similar to the org.springframework.beans.factory.FactoryBean mechanism, but is specifically tailored for scripts and not built into Spring's core container itself but rather implemented as an extension. NOTE: The most important characteristic of this post-processor is that constructor arguments are applied to the org.springframework.scripting.ScriptFactory instance while bean property values are applied to the generated scripted object. Typically, constructor arguments include a script source locator and potentially script interfaces, while bean property values include references and config values to inject into the scripted object itself. The following ScriptFactoryPostProcessor will automatically be applied to the two org.springframework.scripting.ScriptFactory definitions below. At runtime, the actual scripted objects will be exposed for "bshMessenger" and "groovyMessenger", rather than the org.springframework.scripting.ScriptFactory instances. Both of those are supposed to be castable to the example's
NOTE: Please note that the above excerpt from a Spring XML bean definition file uses just the <bean/>-style syntax (in an effort to illustrate using the ScriptFactoryPostProcessor itself). In reality, you would never create a <bean/> definition for a ScriptFactoryPostProcessor explicitly; rather you would import the tags from the The Spring reference documentation contains numerous examples of using tags in the
|
org.springframework.jdbc.datasource.init.ScriptParseException |
Thrown by ScriptUtils if an SQL script cannot be properly parsed. |
org.springframework.jdbc.datasource.init.ScriptStatementFailedException |
Thrown by ScriptUtils if a statement in an SQL script failed when executing it against the target database. |
org.springframework.web.reactive.result.view.script.ScriptTemplateConfig |
Interface to be implemented by objects that configure and manage a JSR-223 ScriptEngine for automatic lookup in a web environment. Detected and used by ScriptTemplateView. |
org.springframework.web.servlet.view.script.ScriptTemplateConfig |
Interface to be implemented by objects that configure and manage a JSR-223 ScriptEngine for automatic lookup in a web environment. Detected and used by ScriptTemplateView. |
org.springframework.web.servlet.config.ScriptTemplateConfigurerBeanDefinitionParser |
Parse the MVC namespace element and register a |
org.springframework.web.reactive.result.view.script.ScriptTemplateView |
An AbstractUrlBasedView subclass designed to run any template library based on a JSR-223 script engine. If not set, each property is auto-detected by looking up a single ScriptTemplateConfig bean in the web application context and using it to obtain the configured properties. The Nashorn JavaScript engine requires Java 8+ and may require setting the |
org.springframework.web.servlet.view.script.ScriptTemplateView |
An AbstractUrlBasedView subclass designed to run any template library based on a JSR-223 script engine. If not set, each property is auto-detected by looking up a single ScriptTemplateConfig bean in the web application context and using it to obtain the configured properties. The Nashorn JavaScript engine requires Java 8+ and may require setting the |
org.springframework.web.reactive.result.view.script.ScriptTemplateViewResolver |
Convenience subclass of UrlBasedViewResolver that supports ScriptTemplateView and custom subclasses of it. The view class for all views created by this resolver can be specified via the Note: When chaining ViewResolvers this resolver will check for the existence of the specified template resources and only return a non-null View object if a template is actually found. |
org.springframework.web.servlet.view.script.ScriptTemplateViewResolver |
Convenience subclass of UrlBasedViewResolver that supports ScriptTemplateView and custom subclasses of it. The view class for all views created by this resolver can be specified via the Note: When chaining ViewResolvers this resolver will check for the existence of the specified template resources and only return a non-null View object if a template is actually found. |
org.springframework.expression.spel.ast.Selection |
Represents selection over a map or collection. For example: {1,2,3,4,5,6,7,8,9,10}.?{#isEven(#this) == 'y'} returns [2, 4, 6, 8, 10] Basically a subset of the input data is returned based on the evaluation of the expression supplied as selection criteria. |
org.springframework.jmx.export.naming.SelfNaming |
Interface that allows infrastructure components to provide their own Note: This interface is mainly intended for internal usage. |
org.springframework.messaging.simp.annotation.support.SendToMethodReturnValueHandler |
A HandlerMethodReturnValueHandler for sending to destinations specified in a SendTo or SendToUser method-level annotations. The value returned from the method is converted, and turned to a Message and sent through the provided MessageChannel. The message is then enriched with the session id of the input message as well as the destination from the annotation(s). If multiple destinations are specified, a copy of the message is sent to each destination. |
org.springframework.messaging.simp.annotation.SendToUser |
Annotation that indicates that the return value of a message-handling method should be sent as a org.springframework.messaging.Message to the specified destination(s) prepended with The annotation may also be placed at class-level in which case all methods in the class where the annotation applies will inherit it. |
org.springframework.core.serializer.support.SerializationDelegate |
A convenient delegate with pre-arranged configuration state for common serialization needs. Implements Serializer and Deserializer itself, so can also be passed into such more specific callback methods. |
org.springframework.core.serializer.support.SerializationFailedException |
Wrapper for the native IOException (or similar) when a org.springframework.core.serializer.Serializer or org.springframework.core.serializer.Deserializer failed. Thrown by SerializingConverter and DeserializingConverter. |
org.springframework.util.SerializationUtils |
Static utilities for serialization and deserialization. |
org.springframework.core.serializer.support.SerializingConverter |
A Converter that delegates to a org.springframework.core.serializer.Serializer to convert an object to a byte array. |
org.springframework.web.socket.server.standard.ServerEndpointExporter |
Detects beans of type javax.websocket.server.ServerEndpointConfig and registers with the standard Java WebSocket runtime. Also detects beans annotated with ServerEndpoint and registers them as well. Although not required, it is likely annotated endpoints should have their When this class is used, by declaring it in Spring configuration, it should be possible to turn off a Servlet container's scan for WebSocket endpoints. This can be done with the help of the |
org.springframework.web.server.ServerErrorException |
Exception for errors that fit response status 500 (bad request) for use in Spring Web applications. The exception provides additional fields (e.g. an optional MethodParameter if related to the error). |
org.springframework.http.server.reactive.ServerHttpRequestDecorator |
Wraps another ServerHttpRequest and delegates all methods to it. Sub-classes can override specific methods selectively. |
org.springframework.web.reactive.function.server.support.ServerRequestWrapper |
Implementation of the ServerRequest interface that can be subclassed to adapt the request to a HandlerFunction. All methods default to calling through to the wrapped request. |
org.springframework.http.codec.ServerSentEventHttpMessageReader |
Reader that supports a stream of ServerSentEvents and also plain Objects which is the same as an ServerSentEvent with data only. |
org.springframework.http.codec.ServerSentEventHttpMessageWriter |
|
org.springframework.web.reactive.result.method.annotation.ServerWebExchangeArgumentResolver |
Resolves ServerWebExchange-related method argument values of the following types:
For the |
org.springframework.web.server.ServerWebExchangeDecorator |
A convenient base class for classes that need to wrap another ServerWebExchange. Pre-implements all methods by delegating to the wrapped instance. Note: if the purpose for using a decorator is to override properties like |
org.springframework.beans.factory.serviceloader.ServiceFactoryBean |
org.springframework.beans.factory.FactoryBean that exposes the 'primary' service for the configured service class, obtained through the JDK 1.6 java.util.ServiceLoader facility. |
org.springframework.beans.factory.serviceloader.ServiceListFactoryBean |
org.springframework.beans.factory.FactoryBean that exposes all services for the configured service class, represented as a List of service objects, obtained through the JDK 1.6 java.util.ServiceLoader facility. |
org.springframework.beans.factory.serviceloader.ServiceLoaderFactoryBean |
org.springframework.beans.factory.FactoryBean that exposes the JDK 1.6 java.util.ServiceLoader for the configured service class. |
org.springframework.beans.factory.config.ServiceLocatorFactoryBean |
A FactoryBean implementation that takes an interface which must have one or more methods with the signatures Such service locators permit the decoupling of calling code from the org.springframework.beans.factory.BeanFactory API, by using an appropriate custom locator interface. They will typically be used for prototype beans, i.e. for factory methods that are supposed to return a new instance for each call. The client receives a reference to the service locator via setter or constructor injection, to be able to invoke the locator's factory methods on demand. For singleton beans, direct setter or constructor injection of the target bean is preferable. On invocation of the no-arg factory method, or the single-arg factory method with a String id of On invocation of the single-arg factory method with a non-null (and non-empty) argument, the proxy returns the result of a A factory method argument will usually be a String, but can also be an int or a custom enumeration type, for example, stringified via By way of an example, consider the following service locator interface. Note that this interface is not dependent on any Spring APIs.
A sample config in an XML-based org.springframework.beans.factory.BeanFactory might look as follows:
The attendant
By way of an example that looks up a bean by name, consider the following service locator interface. Again, note that this interface is not dependent on any Spring APIs.
A sample config in an XML-based org.springframework.beans.factory.BeanFactory might look as follows:
The attendant
See ObjectFactoryCreatingFactoryBean for an alternate approach. |
org.springframework.web.context.ServletConfigAware |
Interface to be implemented by any object that wishes to be notified of the ServletConfig (typically determined by the WebApplicationContext) that it runs in. Note: Only satisfied if actually running within a Servlet-specific WebApplicationContext. Otherwise, no ServletConfig will be set. |
org.springframework.web.context.support.ServletConfigPropertySource |
PropertySource that reads init parameters from a ServletConfig object. |
org.springframework.web.context.support.ServletContextAttributeExporter |
Exporter that takes Spring-defined objects and exposes them as ServletContext attributes. Usually, bean references will be used to export Spring-defined beans as ServletContext attributes. Useful to make Spring-defined beans available to code that is not aware of Spring at all, but rather just of the Servlet API. Client code can then use plain ServletContext attribute lookups to access those objects, despite them being defined in a Spring application context. Alternatively, consider using the WebApplicationContextUtils class to access Spring-defined beans via the WebApplicationContext interface. This makes client code aware of Spring API, of course. |
org.springframework.web.context.support.ServletContextAttributeFactoryBean |
FactoryBean that fetches a specific, existing ServletContext attribute. Exposes that ServletContext attribute when used as bean reference, effectively making it available as named Spring bean instance. Intended to link in ServletContext attributes that exist before the startup of the Spring application context. Typically, such attributes will have been put there by third-party web frameworks. In a purely Spring-based web application, no such linking in of ServletContext attributes will be necessary. NOTE: As of Spring 3.0, you may also use the "contextAttributes" default bean which is of type Map, and dereference it using an "#{contextAttributes.myKey}" expression to access a specific attribute by name. |
org.springframework.web.context.support.ServletContextAwareProcessor |
org.springframework.beans.factory.config.BeanPostProcessor implementation that passes the ServletContext to beans that implement the ServletContextAware interface. Web application contexts will automatically register this with their underlying bean factory. Applications do not use this directly. |
org.springframework.web.context.support.ServletContextLiveBeansView |
LiveBeansView subclass which looks for all ApplicationContexts in the web application, as exposed in ServletContext attributes. |
org.springframework.web.context.support.ServletContextParameterFactoryBean |
FactoryBean that retrieves a specific ServletContext init parameter (that is, a "context-param" defined in NOTE: As of Spring 3.0, you may also use the "contextParameters" default bean which is of type Map, and dereference it using an "#{contextParameters.myKey}" expression to access a specific parameter by name. |
org.springframework.web.context.support.ServletContextPropertySource |
PropertySource that reads init parameters from a ServletContext object. |
org.springframework.web.util.ServletContextPropertyUtils |
Helper class for resolving placeholders in texts. Usually applied to file paths. A text may contain |
org.springframework.web.filter.ServletContextRequestLoggingFilter |
Simple request logging filter that writes the request URI (and optionally the query string) to the ServletContext log. |
org.springframework.web.context.support.ServletContextResource |
org.springframework.core.io.Resource implementation for javax.servlet.ServletContext resources, interpreting relative paths within the web application root directory. Always supports stream access and URL access, but only allows |
org.springframework.web.context.support.ServletContextResourceLoader |
ResourceLoader implementation that resolves paths as ServletContext resources, for use outside a WebApplicationContext (for example, in an HttpServletBean or GenericFilterBean subclass). Within a WebApplicationContext, resource paths are automatically resolved as ServletContext resources by the context implementation. |
org.springframework.web.context.support.ServletContextResourcePatternResolver |
ServletContext-aware subclass of PathMatchingResourcePatternResolver, able to find matching resources below the web application root directory via |
org.springframework.web.context.support.ServletContextScope |
Scope wrapper for a ServletContext, i.e. for global web application attributes. This differs from traditional Spring singletons in that it exposes attributes in the ServletContext. Those attributes will get destroyed whenever the entire application shuts down, which might be earlier or later than the shutdown of the containing Spring ApplicationContext. The associated destruction mechanism relies on a org.springframework.web.context.ContextCleanupListener being registered in This scope is registered as default scope with key |
org.springframework.web.servlet.mvc.method.annotation.ServletCookieValueMethodArgumentResolver |
An org.springframework.web.method.annotation.AbstractCookieValueMethodArgumentResolver that resolves cookie values from an HttpServletRequest. |
org.springframework.web.servlet.mvc.ServletForwardingController |
Spring Controller implementation that forwards to a named servlet, i.e. the "servlet-name" in web.xml rather than a URL path mapping. A target servlet doesn't even need a "servlet-mapping" in web.xml in the first place: A "servlet" declaration is sufficient. Useful to invoke an existing servlet via Spring's dispatching infrastructure, for example to apply Spring HandlerInterceptors to its requests. This will work even in a minimal Servlet container that does not support Servlet filters. Example: web.xml, mapping all "/myservlet" requests to a Spring dispatcher. Also defines a custom "myServlet", but without servlet mapping. Example: myDispatcher-servlet.xml, in turn forwarding "/myservlet" to your servlet (identified by servlet name). All such requests will go through the configured HandlerInterceptor chain (e.g. an OpenSessionInViewInterceptor). From the servlet point of view, everything will work as usual.
|
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod |
Extends InvocableHandlerMethod with the ability to handle return values through a registered HandlerMethodReturnValueHandler and also supports setting the response status based on a method-level A |
org.springframework.web.servlet.mvc.method.annotation.ServletModelAttributeMethodProcessor |
A Servlet-specific ModelAttributeMethodProcessor that applies data binding through a WebDataBinder of type ServletRequestDataBinder. Also adds a fall-back strategy to instantiate the model attribute from a URI template variable or from a request parameter if the name matches the model attribute name and there is an appropriate type conversion strategy. |
org.springframework.web.accept.ServletPathExtensionContentNegotiationStrategy |
Extends |
org.springframework.web.bind.ServletRequestDataBinder |
Special org.springframework.validation.DataBinder to perform data binding from servlet request parameters to JavaBeans, including support for multipart files. See the DataBinder/WebDataBinder superclasses for customization options, which include specifying allowed/required fields, and registering custom property editors. Can also be used for manual data binding in custom web controllers: for example, in a plain Controller implementation or in a MultiActionController handler method. Simply instantiate a ServletRequestDataBinder for each binding process, and invoke
|
org.springframework.web.servlet.mvc.method.annotation.ServletRequestDataBinderFactory |
Creates a |
org.springframework.web.context.support.ServletRequestHandledEvent |
Servlet-specific subclass of RequestHandledEvent, adding servlet-specific context information. |
org.springframework.web.servlet.mvc.method.annotation.ServletRequestMethodArgumentResolver |
Resolves request-related method argument values of the following types:
|
org.springframework.web.bind.ServletRequestParameterPropertyValues |
PropertyValues implementation created from parameters in a ServletRequest. Can look for all property values beginning with a certain prefix and prefix separator (default is "_"). For example, with a prefix of "spring", "spring_param1" and "spring_param2" result in a Map with "param1" and "param2" as keys. This class is not immutable to be able to efficiently remove property values that should be ignored for binding. |
org.springframework.web.bind.ServletRequestUtils |
Parameter extraction methods, for an approach distinct from data binding, in which parameters of specific types are required. This approach is very useful for simple submissions, where binding request parameters to a command object would be overkill. |
org.springframework.web.servlet.mvc.method.annotation.ServletResponseMethodArgumentResolver |
Resolves response-related method argument values of types:
|
org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean |
A FactoryBean for configuring javax.websocket.server.ServerContainer. Since there is usually only one This is useful even if the |
org.springframework.http.server.ServletServerHttpAsyncRequestControl |
A ServerHttpAsyncRequestControl to use on Servlet containers (Servlet 3.0+). |
org.springframework.http.server.ServletServerHttpRequest |
ServerHttpRequest implementation that is based on a HttpServletRequest. |
org.springframework.http.server.ServletServerHttpResponse |
ServerHttpResponse implementation that is based on a HttpServletResponse. |
org.springframework.web.servlet.support.ServletUriComponentsBuilder |
UriComponentsBuilder with additional static factory methods to create links based on the current HttpServletRequest. Note: This class extracts and uses values from the headers "Forwarded" (RFC 7239), or "X-Forwarded-Host", "X-Forwarded-Port", and "X-Forwarded-Proto" if "Forwarded" is not found, in order to reflect the client-originated protocol and address. As an alternative consider using the org.springframework.web.filter.ForwardedHeaderFilter to have such headers extracted once and removed, or removed only (without being used). See the reference for further information including security considerations. |
org.springframework.web.servlet.mvc.method.annotation.ServletWebArgumentResolverAdapter |
A Servlet-specific org.springframework.web.method.annotation.AbstractWebArgumentResolverAdapter that creates a NativeWebRequest from ServletRequestAttributes. Note: This class is provided for backwards compatibility. However it is recommended to re-write a |
org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistry |
A WebSocketHandlerRegistry that maps WebSocketHandlers to URLs for use in a Servlet container. |
org.springframework.web.servlet.mvc.ServletWrappingController |
Spring Controller implementation that wraps a servlet instance which it manages internally. Such a wrapped servlet is not known outside of this controller; its entire lifecycle is covered here (in contrast to ServletForwardingController). Useful to invoke an existing servlet via Spring's dispatching infrastructure, for example to apply Spring HandlerInterceptors to its requests. Note that Struts has a special requirement in that it parses Example: a DispatcherServlet XML context, forwarding "*.do" to the Struts ActionServlet wrapped by a ServletWrappingController. All such requests will go through the configured HandlerInterceptor chain (e.g. an OpenSessionInViewInterceptor). From the Struts point of view, everything will work as usual.
|
org.springframework.web.bind.annotation.SessionAttribute |
Annotation to bind a method parameter to a session attribute. The main motivation is to provide convenient access to existing, permanent session attributes (e.g. user authentication object) with an optional/required check and a cast to the target method parameter type. For use cases that require adding or removing session attributes consider injecting For temporary storage of model attributes in the session as part of the workflow for a controller, consider using SessionAttributes instead. |
org.springframework.web.reactive.result.method.annotation.SessionAttributeMethodArgumentResolver |
Resolves method arguments annotated with an @SessionAttribute. |
org.springframework.web.servlet.mvc.method.annotation.SessionAttributeMethodArgumentResolver |
Resolves method arguments annotated with an @SessionAttribute. |
org.springframework.web.bind.annotation.SessionAttributes |
Annotation that indicates the session attributes that a specific handler uses. This will typically list the names of model attributes which should be transparently stored in the session or some conversational storage, serving as form-backing beans. Declared at the type level, applying to the model attributes that the annotated handler class operates on. NOTE: Session attributes as indicated using this annotation correspond to a specific handler's model attributes, getting transparently stored in a conversational session. Those attributes will be removed once the handler indicates completion of its conversational session. Therefore, use this facility for such conversational attributes which are supposed to be stored in the session temporarily during the course of a specific handler's conversation. For permanent session attributes, e.g. a user authentication object, use the traditional NOTE: When using controller interfaces (e.g. for AOP proxying), make sure to consistently put all your mapping annotations — such as |
org.springframework.web.method.annotation.SessionAttributesHandler |
Manages controller-specific session attributes declared via SessionAttributes. Actual storage is delegated to a SessionAttributeStore instance. When a controller annotated with |
org.springframework.jms.core.SessionCallback |
Callback for executing any number of operations on a provided Session. To be used with the |
org.springframework.web.socket.messaging.SessionConnectEvent |
Event raised when a new WebSocket client using a Simple Messaging Protocol (e.g. STOMP) as the WebSocket sub-protocol issues a connect request. Note that this is not the same as the WebSocket session getting established but rather the client's first attempt to connect within the sub-protocol, for example sending the STOMP CONNECT frame. |
org.springframework.web.socket.messaging.SessionConnectedEvent |
A connected event represents the server response to a client's connect request. See org.springframework.web.socket.messaging.SessionConnectEvent. |
org.springframework.web.socket.messaging.SessionDisconnectEvent |
Event raised when the session of a WebSocket client using a Simple Messaging Protocol (e.g. STOMP) as the WebSocket sub-protocol is closed. Note that this event may be raised more than once for a single session and therefore event consumers should be idempotent and ignore a duplicate event. |
org.springframework.web.servlet.support.SessionFlashMapManager |
Store and retrieve FlashMap instances to and from the HTTP session. |
org.springframework.orm.hibernate5.SessionHolder |
Session holder, wrapping a Hibernate Session and a Hibernate Transaction. HibernateTransactionManager binds instances of this class to the thread, for a given SessionFactory. Note: This is an SPI class, not intended to be used by applications. |
org.springframework.web.socket.handler.SessionLimitExceededException |
Raised when a WebSocket session has exceeded limits it has been configured for, e.g. timeout, buffer size, etc. |
org.springframework.web.servlet.i18n.SessionLocaleResolver |
org.springframework.web.servlet.LocaleResolver implementation that uses a locale attribute in the user's session in case of a custom setting, with a fallback to the specified default locale or the request's accept-header locale. This is most appropriate if the application needs user sessions anyway, i.e. when the Custom controllers can override the user's locale and time zone by calling In contrast to CookieLocaleResolver, this strategy stores locally chosen locale settings in the Servlet container's Note that there is no direct relationship with external session management mechanisms such as the "Spring Session" project. This |
org.springframework.web.context.request.SessionScope |
Session-backed org.springframework.beans.factory.config.Scope implementation. Relies on a thread-bound RequestAttributes instance, which can be exported through RequestContextListener, org.springframework.web.filter.RequestContextFilter or org.springframework.web.servlet.DispatcherServlet. |
org.springframework.web.context.annotation.SessionScope |
Specifically,
|
org.springframework.web.method.annotation.SessionStatusMethodArgumentResolver |
Resolves a SessionStatus argument by obtaining it from the ModelAndViewContainer. |
org.springframework.web.reactive.result.method.annotation.SessionStatusMethodArgumentResolver |
Resolver for a SessionStatus argument obtaining it from the BindingContext. |
org.springframework.web.socket.messaging.SessionSubscribeEvent |
Event raised when a new WebSocket client using a Simple Messaging Protocol (e.g. STOMP) sends a subscription request. |
org.springframework.web.servlet.theme.SessionThemeResolver |
org.springframework.web.servlet.ThemeResolver implementation that uses a theme attribute in the user's session in case of a custom setting, with a fallback to the default theme. This is most appropriate if the application needs user sessions anyway. Custom controllers can override the user's theme by calling |
org.springframework.web.socket.messaging.SessionUnsubscribeEvent |
Event raised when a new WebSocket client using a Simple Messaging Protocol (e.g. STOMP) sends a request to remove a subscription. |
org.springframework.beans.factory.config.SetFactoryBean |
Simple factory for shared Set instances. Allows for central setup of Sets via the "set" element in XML bean definitions. |
org.springframework.util.concurrent.SettableListenableFuture |
A ListenableFuture whose value can be set via Inspired by |
org.springframework.instrument.classloading.ShadowingClassLoader |
ClassLoader decorator that shadows an enclosing ClassLoader, applying registered transformers to all affected classes. |
org.springframework.web.filter.ShallowEtagHeaderFilter |
javax.servlet.Filter that generates an Since the ETag is based on the response content, the response (e.g. a org.springframework.web.servlet.View) is still rendered. As such, this filter only saves bandwidth, not server performance. NOTE: As of Spring Framework 5.0, this filter uses request/response decorators built on the Servlet 3.1 API. |
org.springframework.orm.jpa.support.SharedEntityManagerBean |
FactoryBean that exposes a shared JPA javax.persistence.EntityManager reference for a given EntityManagerFactory. Typically used for an EntityManagerFactory created by org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean, as direct alternative to a JNDI lookup for a Java EE server's EntityManager reference. The shared EntityManager will behave just like an EntityManager fetched from an application server's JNDI environment, as defined by the JPA specification. It will delegate all calls to the current transactional EntityManager, if any; otherwise, it will fall back to a newly created EntityManager per operation. Can be passed to DAOs that expect a shared EntityManager reference rather than an EntityManagerFactory. Note that Spring's org.springframework.orm.jpa.JpaTransactionManager always needs an EntityManagerFactory in order to create new transactional EntityManager instances. |
org.springframework.orm.jpa.SharedEntityManagerCreator |
Delegate for creating a shareable JPA javax.persistence.EntityManager reference for a given javax.persistence.EntityManagerFactory. A shared EntityManager will behave just like an EntityManager fetched from an application server's JNDI environment, as defined by the JPA specification. It will delegate all calls to the current transactional EntityManager, if any; otherwise it will fall back to a newly created EntityManager per operation. For a behavioral definition of such a shared transactional EntityManager, see |
org.springframework.test.web.servlet.setup.SharedHttpSessionConfigurer |
MockMvcConfigurer that stores and re-uses the HTTP session across multiple requests performed through the same Example use:
|
org.springframework.messaging.simp.SimpAttributesContextHolder |
Holder class to expose SiMP attributes associated with a session (e.g. WebSocket) in the form of a thread-bound SimpAttributes object. |
org.springframework.messaging.simp.SimpMessageMappingInfo |
Encapsulates the following request mapping conditions:
|
org.springframework.messaging.simp.SimpMessageTypeMessageCondition |
|
org.springframework.messaging.simp.SimpSessionScope |
A Scope implementation exposing the attributes of a SiMP session (e.g. WebSocket session). Relies on a thread-bound SimpAttributes instance exported by org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler. |
org.springframework.messaging.simp.user.SimpUser |
Represents a connected user. |
org.springframework.context.event.SimpleApplicationEventMulticaster |
Simple implementation of the ApplicationEventMulticaster interface. Multicasts all events to all registered listeners, leaving it up to the listeners to ignore events that they are not interested in. Listeners will usually perform corresponding By default, all listeners are invoked in the calling thread. This allows the danger of a rogue listener blocking the entire application, but adds minimal overhead. Specify an alternative task executor to have listeners executed in different threads, for example from a thread pool. |
org.springframework.aop.interceptor.SimpleAsyncUncaughtExceptionHandler |
A default AsyncUncaughtExceptionHandler that simply logs the exception. |
org.springframework.beans.factory.support.SimpleAutowireCandidateResolver |
AutowireCandidateResolver implementation to use when no annotation support is available. This implementation checks the bean definition only. |
org.springframework.beans.factory.support.SimpleBeanDefinitionRegistry |
Simple implementation of the BeanDefinitionRegistry interface. Provides registry capabilities only, with no factory capabilities built in. Can for example be used for testing bean definition readers. |
org.springframework.aop.config.SimpleBeanFactoryAwareAspectInstanceFactory |
Implementation of AspectInstanceFactory that locates the aspect from the org.springframework.beans.factory.BeanFactory using a configured bean name. |
org.springframework.jca.support.SimpleBootstrapContext |
Simple implementation of the JCA 1.7 javax.resource.spi.BootstrapContext interface, used for bootstrapping a JCA ResourceAdapter in a local environment. Delegates to the given WorkManager and XATerminator, if any. Creates simple local instances of |
org.springframework.cache.interceptor.SimpleCacheErrorHandler |
A simple CacheErrorHandler that does not handle the exception at all, simply throwing it back at the client. |
org.springframework.cache.support.SimpleCacheManager |
Simple cache manager working against a given collection of caches. Useful for testing or simple caching declarations. |
org.springframework.cache.interceptor.SimpleCacheResolver |
A simple CacheResolver that resolves the Cache instance(s) based on a configurable CacheManager and the name of the cache(s) as provided by |
org.springframework.http.client.SimpleClientHttpRequestFactory |
ClientHttpRequestFactory implementation that uses standard JDK facilities. |
org.springframework.core.env.SimpleCommandLinePropertySource |
CommandLinePropertySource implementation backed by a simple String array. Purpose This That is, options must be prefixed with "-- ", and may or may not specify a value. If a value is specified, the name and value must be separated without spaces by an equals sign ("="). Valid examples of option arguments Invalid examples of option arguments Working with non-option arguments Any and all arguments specified at the command line without the "-- " option prefix will be considered as "non-option arguments" and made available through the #getNonOptionArgs() method. Typical usage See CommandLinePropertySource for complete general usage examples. Beyond the basics
When more fully-featured command line parsing is necessary, consider using the provided JOptCommandLinePropertySource, or implement your own |
org.springframework.jdbc.datasource.SimpleConnectionHandle |
Simple implementation of the ConnectionHandle interface, containing a given JDBC Connection. |
org.springframework.beans.factory.xml.SimpleConstructorNamespaceHandler |
Simple An example of the usage of this Here the 'c:name ' corresponds directly to the 'name ' argument declared on the constructor of class 'TestBean '. The 'c:work-ref ' attributes corresponds to the 'work ' argument and, rather than being the concrete value, it contains the name of the bean that will be considered as a parameter. Note: This implementation supports only named parameters - there is no support for indexes or types. Further more, the names are used as hints by the container which, by default, does type introspection.
|
org.springframework.jdbc.datasource.SimpleDriverDataSource |
Simple implementation of the standard JDBC javax.sql.DataSource interface, configuring a plain old JDBC java.sql.Driver via bean properties, and returning a new java.sql.Connection from every NOTE: This class is not an actual connection pool; it does not actually pool Connections. It just serves as simple replacement for a full-blown connection pool, implementing the same standard interface, but creating new Connections on every call. In a Java EE container, it is recommended to use a JNDI DataSource provided by the container. Such a DataSource can be exposed as a DataSource bean in a Spring ApplicationContext via org.springframework.jndi.JndiObjectFactoryBean, for seamless switching to and from a local DataSource bean like this class. If you need a "real" connection pool outside of a Java EE container, consider Apache Commons DBCP or C3P0. Commons DBCP's BasicDataSource and C3P0's ComboPooledDataSource are full connection pool beans, supporting the same basic properties as this class plus specific settings (such as minimal/maximal pool size etc). |
org.springframework.cache.jcache.interceptor.SimpleExceptionCacheResolver |
A simple CacheResolver that resolves the exception cache based on a configurable CacheManager and the name of the cache: |
org.springframework.remoting.caucho.SimpleHessianServiceExporter |
HTTP request handler that exports the specified service bean as Hessian service endpoint, accessible via a Hessian proxy. Designed for Sun's JRE 1.6 HTTP server, implementing the com.sun.net.httpserver.HttpHandler interface. Hessian is a slim, binary RPC protocol. For information on Hessian, see the Hessian website. Note: As of Spring 4.0, this exporter requires Hessian 4.0 or above. Hessian services exported with this class can be accessed by any Hessian client, as there isn't any special handling involved. |
org.springframework.remoting.httpinvoker.SimpleHttpInvokerRequestExecutor |
HttpInvokerRequestExecutor implementation that uses standard J2SE facilities to execute POST requests, without support for HTTP authentication or advanced configuration options. Designed for easy subclassing, customizing specific template methods. However, consider |
org.springframework.remoting.httpinvoker.SimpleHttpInvokerServiceExporter |
HTTP request handler that exports the specified service bean as HTTP invoker service endpoint, accessible via an HTTP invoker proxy. Designed for Sun's JRE 1.6 HTTP server, implementing the com.sun.net.httpserver.HttpHandler interface. Deserializes remote invocation objects and serializes remote invocation result objects. Uses Java serialization just like RMI, but provides the same ease of setup as Caucho's HTTP-based Hessian protocol. HTTP invoker is the recommended protocol for Java-to-Java remoting. It is more powerful and more extensible than Hessian, at the expense of being tied to Java. Nevertheless, it is as easy to set up as Hessian, which is its main advantage compared to RMI. WARNING: Be aware of vulnerabilities due to unsafe Java deserialization: Manipulated input streams could lead to unwanted code execution on the server during the deserialization step. As a consequence, do not expose HTTP invoker endpoints to untrusted clients but rather just between your own services. In general, we strongly recommend any other message format (e.g. JSON) instead. |
org.springframework.remoting.support.SimpleHttpServerFactoryBean |
org.springframework.beans.factory.FactoryBean that creates a simple HTTP server, based on the HTTP server that is included in Sun's JRE 1.6. Starts the HTTP server on initialization and stops it on destruction. Exposes the resulting com.sun.net.httpserver.HttpServer object. Allows for registering com.sun.net.httpserver.HttpHandler for specific |
org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter |
Simple exporter for JAX-WS services, autodetecting annotated service beans (through the JAX-WS javax.jws.WebService annotation) and exporting them through the HTTP server included in Sun's JDK 1.6. The full address for each service will consist of the server's base address with the service name appended (e.g. "http://localhost:8080/OrderService"). Note that this exporter will only work on Sun's JDK 1.6 or higher, as well as on JDKs that ship Sun's entire class library as included in the Sun JDK. For a portable JAX-WS exporter, have a look at SimpleJaxWsServiceExporter. |
org.springframework.util.SimpleIdGenerator |
A simple IdGenerator that starts at 1 and increments by 1 with each call. |
org.springframework.beans.factory.support.SimpleInstantiationStrategy |
Simple object instantiation strategy for use in a BeanFactory. Does not support Method Injection, although it provides hooks for subclasses to override to add Method Injection support, for example by overriding methods. |
org.springframework.remoting.jaxws.SimpleJaxWsServiceExporter |
Simple exporter for JAX-WS services, autodetecting annotated service beans (through the JAX-WS javax.jws.WebService annotation) and exporting them with a configured base address (by default "http://localhost:8080/") using the JAX-WS provider's built-in publication support. The full address for each service will consist of the base address with the service name appended (e.g. "http://localhost:8080/OrderService"). Note that this exporter will only work if the JAX-WS runtime actually supports publishing with an address argument, i.e. if the JAX-WS runtime ships an internal HTTP server. This is the case with the JAX-WS runtime that's included in Sun's JDK 6 but not with the standalone JAX-WS 2.1 RI. For explicit configuration of JAX-WS endpoints with Sun's JDK 6 HTTP server, consider using SimpleHttpServerJaxWsServiceExporter! |
org.springframework.jdbc.core.simple.SimpleJdbcInsert |
A SimpleJdbcInsert is a multi-threaded, reusable object providing easy insert capabilities for a table. It provides meta data processing to simplify the code needed to construct a basic insert statement. All you need to provide is the name of the table and a Map containing the column names and the column values. The meta data processing is based on the DatabaseMetaData provided by the JDBC driver. As long as the JDBC driver can provide the names of the columns for a specified table than we can rely on this auto-detection feature. If that is not the case, then the column names must be specified explicitly. The actual insert is being handled using Spring's org.springframework.jdbc.core.JdbcTemplate. Many of the configuration methods return the current instance of the SimpleJdbcInsert to provide the ability to chain multiple ones together in a "fluent" interface style. |
org.springframework.jms.config.SimpleJmsListenerContainerFactory |
A JmsListenerContainerFactory implementation to build a standard SimpleMessageListenerContainer. |
org.springframework.jms.config.SimpleJmsListenerEndpoint |
A JmsListenerEndpoint simply providing the MessageListener to invoke to process an incoming message for this endpoint. |
org.springframework.cache.interceptor.SimpleKey |
A simple key as returned from the SimpleKeyGenerator. |
org.springframework.cache.interceptor.SimpleKeyGenerator |
Simple key generator. Returns the parameter itself if a single non-null value is given, otherwise returns a SimpleKey of the parameters. No collisions will occur with the keys generated by this class. The returned SimpleKey object can be safely used with a org.springframework.cache.concurrent.ConcurrentMapCache, however, might not be suitable for all org.springframework.cache.Cache implementations. |
org.springframework.instrument.classloading.SimpleLoadTimeWeaver |
Mainly intended for testing environments, where it is sufficient to perform all class transformation on a newly created |
org.apache.commons.logging.impl.SimpleLog |
Originally a simple Commons Logging provider configured by system properties. Deprecated in Instead of instantiating this directly, call |
org.springframework.web.servlet.handler.SimpleMappingExceptionResolver |
org.springframework.web.servlet.HandlerExceptionResolver implementation that allows for mapping exception class names to view names, either for a set of given handlers or for all handlers in the DispatcherServlet. Error views are analogous to error page JSPs, but can be used with any kind of exception including any checked one, with fine-granular mappings for specific handlers. |
org.springframework.aop.aspectj.annotation.SimpleMetadataAwareAspectInstanceFactory |
Implementation of MetadataAwareAspectInstanceFactory that creates a new instance of the specified aspect class for every |
org.springframework.core.type.classreading.SimpleMetadataReaderFactory |
Simple implementation of the MetadataReaderFactory interface, creating a new ASM org.springframework.asm.ClassReader for every request. |
org.springframework.util.xml.SimpleNamespaceContext |
Simple |
org.springframework.mock.jndi.SimpleNamingContext |
Simple implementation of a JNDI naming context. Only supports binding plain Objects to String names. Mainly for test environments, but also usable for standalone applications. This class is not intended for direct usage by applications, although it can be used for example to override JndiTemplate's |
org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler |
Simple An example of the usage of this Here the 'p:name ' corresponds directly to the 'name ' property on class 'TestBean '. The 'p:spouse-ref ' attributes corresponds to the 'spouse ' property and, rather than being the concrete value, it contains the name of the bean that will be injected into that property.
|
org.springframework.jca.cci.object.SimpleRecordOperation |
EIS operation object that accepts a passed-in CCI input Record and returns a corresponding CCI output Record. |
org.springframework.jmx.export.assembler.SimpleReflectiveMBeanInfoAssembler |
Simple subclass of |
org.springframework.ejb.access.SimpleRemoteSlsbInvokerInterceptor |
Basic invoker for a remote Stateless Session Bean. Designed for EJB 2.x, but works for EJB 3 Session Beans as well. "Creates" a new EJB instance for each invocation, or caches the session bean instance for all invocations (see In a bean container, this class is normally best used as a singleton. However, if that bean container pre-instantiates singletons (as do the XML ApplicationContext variants) you may have a problem if the bean container is loaded before the EJB container loads the target EJB. That is because by default the JNDI lookup will be performed in the init method of this class and cached, but the EJB will not have been bound at the target location yet. The best solution is to set the "lookupHomeOnStartup" property to "false", in which case the home will be fetched on first access to the EJB. (This flag is only true by default for backwards compatibility reasons). This invoker is typically used with an RMI business interface, which serves as super-interface of the EJB component interface. Alternatively, this invoker can also proxy a remote SLSB with a matching non-RMI business interface, i.e. an interface that mirrors the EJB business methods but does not declare RemoteExceptions. In the latter case, RemoteExceptions thrown by the EJB stub will automatically get converted to Spring's unchecked RemoteAccessException. |
org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean |
Convenient FactoryBean for remote SLSB proxies. Designed for EJB 2.x, but works for EJB 3 Session Beans as well. See org.springframework.jndi.JndiObjectLocator for info on how to specify the JNDI location of the target EJB. If you want control over interceptor chaining, use an AOP ProxyFactoryBean with SimpleRemoteSlsbInvokerInterceptor rather than rely on this class. In a bean container, this class is normally best used as a singleton. However, if that bean container pre-instantiates singletons (as do the XML ApplicationContext variants) you may have a problem if the bean container is loaded before the EJB container loads the target EJB. That is because by default the JNDI lookup will be performed in the init method of this class and cached, but the EJB will not have been bound at the target location yet. The best solution is to set the lookupHomeOnStartup property to false, in which case the home will be fetched on first access to the EJB. (This flag is only true by default for backwards compatibility reasons). This proxy factory is typically used with an RMI business interface, which serves as super-interface of the EJB component interface. Alternatively, this factory can also proxy a remote SLSB with a matching non-RMI business interface, i.e. an interface that mirrors the EJB business methods but does not declare RemoteExceptions. In the latter case, RemoteExceptions thrown by the EJB stub will automatically get converted to Spring's unchecked RemoteAccessException. |
org.springframework.test.web.client.SimpleRequestExpectationManager |
Simple When request expectations have an expected count greater than one, only the first execution is expected to match the order of declaration. Subsequent request executions may be inserted anywhere thereafter. |
org.springframework.util.xml.SimpleSaxErrorHandler |
Simple |
org.springframework.beans.factory.support.SimpleSecurityContextProvider |
Simple SecurityContextProvider implementation. |
org.springframework.web.servlet.handler.SimpleServletHandlerAdapter |
Adapter to use the Servlet interface with the generic DispatcherServlet. Calls the Servlet's Last-modified checking is not explicitly supported: This is typically handled by the Servlet implementation itself (usually deriving from the HttpServlet base class). This adapter is not activated by default; it needs to be defined as a bean in the DispatcherServlet context. It will automatically apply to mapped handler beans that implement the Servlet interface then. Note that Servlet instances defined as bean will not receive initialization and destruction callbacks, unless a special post-processor such as SimpleServletPostProcessor is defined in the DispatcherServlet context. Alternatively, consider wrapping a Servlet with Spring's ServletWrappingController. This is particularly appropriate for existing Servlet classes, allowing to specify Servlet initialization parameters etc. |
org.springframework.web.servlet.handler.SimpleServletPostProcessor |
org.springframework.beans.factory.config.BeanPostProcessor that applies initialization and destruction callbacks to beans that implement the javax.servlet.Servlet interface. After initialization of the bean instance, the Servlet Before destruction of the bean instance, the Servlet Note that this post-processor does not support Servlet initialization parameters. Bean instances that implement the Servlet interface are supposed to be configured like any other Spring bean, that is, through constructor arguments or bean properties. For reuse of a Servlet implementation in a plain Servlet container and as a bean in a Spring context, consider deriving from Spring's org.springframework.web.servlet.HttpServletBean base class that applies Servlet initialization parameters as bean properties, supporting both the standard Servlet and the Spring bean initialization style. Alternatively, consider wrapping a Servlet with Spring's org.springframework.web.servlet.mvc.ServletWrappingController. This is particularly appropriate for existing Servlet classes, allowing to specify Servlet initialization parameters etc. |
org.springframework.web.bind.support.SimpleSessionStatus |
Simple implementation of the SessionStatus interface, keeping the |
org.springframework.web.servlet.view.tiles3.SimpleSpringPreparerFactory |
Tiles org.apache.tiles.preparer.PreparerFactory implementation that expects preparer class names and builds preparer instances for those, creating them through the Spring ApplicationContext in order to apply Spring container callbacks and configured Spring BeanPostProcessors. |
org.springframework.jca.work.SimpleTaskWorkManager |
Simple JCA 1.7 javax.resource.spi.work.WorkManager implementation that delegates to a Spring org.springframework.core.task.TaskExecutor. Provides simple task execution including start timeouts, but without support for a JCA ExecutionContext (i.e. without support for imported transactions). Uses a org.springframework.core.task.SyncTaskExecutor for NOTE: This WorkManager does not provide thread pooling by default! Specify a org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor (or any other thread-pooling TaskExecutor) as "asyncTaskExecutor" in order to achieve actual thread pooling. This WorkManager automatically detects a specified org.springframework.core.task.AsyncTaskExecutor implementation and uses its extended timeout functionality where appropriate. JCA WorkListeners are fully supported in any case. |
org.springframework.ui.context.support.SimpleTheme |
Default Theme implementation, wrapping a name and an underlying org.springframework.context.MessageSource. |
org.springframework.scheduling.quartz.SimpleThreadPoolTaskExecutor |
Subclass of Quartz's SimpleThreadPool that implements Spring's org.springframework.core.task.TaskExecutor interface and listens to Spring lifecycle callbacks. Can be shared between a Quartz Scheduler (specified as "taskExecutor") and other TaskExecutor users, or even used completely independent of a Quartz Scheduler (as plain TaskExecutor backend). |
org.springframework.context.support.SimpleThreadScope |
A simple thread-backed Scope implementation. NOTE: This thread scope is not registered by default in common contexts. Instead, you need to explicitly assign it to a scope key in your setup, either through
For an implementation of a thread-based Thanks to Eugene Kuleshov for submitting the original prototype for a thread scope! |
org.springframework.context.i18n.SimpleTimeZoneAwareLocaleContext |
Simple implementation of the TimeZoneAwareLocaleContext interface, always returning a specified Note: Prefer the use of SimpleLocaleContext when only setting a Locale but no TimeZone. |
org.springframework.transaction.jta.SimpleTransactionFactory |
Default implementation of the TransactionFactory strategy interface, simply wrapping a standard JTA javax.transaction.TransactionManager. Does not support transaction names; simply ignores any specified name. |
org.springframework.transaction.support.SimpleTransactionScope |
A simple transaction-backed Scope implementation, delegating to TransactionSynchronizationManager's resource binding mechanism. NOTE: Like org.springframework.context.support.SimpleThreadScope, this transaction scope is not registered by default in common contexts. Instead, you need to explicitly assign it to a scope key in your setup, either through |
org.springframework.transaction.support.SimpleTransactionStatus |
A simple org.springframework.transaction.TransactionStatus implementation. Derives from AbstractTransactionStatus and adds an explicit This class is not used by any of Spring's pre-built org.springframework.transaction.PlatformTransactionManager implementations. It is mainly provided as a start for custom transaction manager implementations and as a static mock for testing transactional code (either as part of a mock |
org.springframework.util.xml.SimpleTransformErrorListener |
Simple |
org.springframework.scheduling.support.SimpleTriggerContext |
Simple data holder implementation of the TriggerContext interface. |
org.springframework.scheduling.quartz.SimpleTriggerFactoryBean |
A Spring FactoryBean for creating a Quartz org.quartz.SimpleTrigger instance, supporting bean-style usage for trigger configuration.
This class will also register the trigger with the job name and group of a given org.quartz.JobDetail. This allows SchedulerFactoryBean to automatically register a trigger for the corresponding JobDetail, instead of registering the JobDetail separately. |
org.springframework.web.reactive.handler.SimpleUrlHandlerMapping |
Implementation of the org.springframework.web.reactive.HandlerMapping interface to map from URLs to request handler beans. Supports both mapping to bean instances and mapping to bean names; the latter is required for non-singleton handlers. The "urlMap" property is suitable for populating the handler map with bean instances. Mappings to bean names can be set via the "mappings" property, in a form accepted by the
The syntax is Supports direct matches, e.g. a registered "/test" matches "/test", and various Ant-style pattern matches, e.g. a registered "/t*" pattern matches both "/test" and "/team", "/test/*" matches all paths under "/test", "/test/**" matches all paths below "/test". For details, see the org.springframework.web.util.pattern.PathPattern javadoc. |
org.springframework.web.servlet.handler.SimpleUrlHandlerMapping |
Implementation of the org.springframework.web.servlet.HandlerMapping interface to map from URLs to request handler beans. Supports both mapping to bean instances and mapping to bean names; the latter is required for non-singleton handlers. The "urlMap" property is suitable for populating the handler map with bean references, e.g. via the map element in XML bean definitions. Mappings to bean names can be set via the "mappings" property, in a form accepted by the Supports direct matches (given "/test" -> registered "/test") and "*" pattern matches (given "/test" -> registered "/t*"). Note that the default is to map within the current servlet mapping if applicable; see the |
org.springframework.cache.support.SimpleValueWrapper |
Straightforward implementation of org.springframework.cache.Cache.ValueWrapper, simply holding the value as given at construction and returning it from |
org.springframework.jdbc.core.SingleColumnRowMapper |
RowMapper implementation that converts a single column into a single result value per row. Expects to operate on a The type of the result value for each row can be specified. The value for the single column will be extracted from the |
org.springframework.jdbc.datasource.SingleConnectionDataSource |
Implementation of SmartDataSource that wraps a single JDBC Connection which is not closed after use. Obviously, this is not multi-threading capable. Note that at shutdown, someone should close the underlying Connection via the If client code will call This is primarily intended for testing. For example, it enables easy testing outside an application server, for code that expects to work on a DataSource. In contrast to DriverManagerDataSource, it reuses the same Connection all the time, avoiding excessive creation of physical Connections. |
org.springframework.jca.cci.connection.SingleConnectionFactory |
A CCI ConnectionFactory adapter that returns the same Connection on all Useful for testing and standalone environments, to keep using the same Connection for multiple CciTemplate calls, without having a pooling ConnectionFactory, also spanning any number of transactions. You can either pass in a CCI Connection directly, or let this factory lazily create a Connection via a given target ConnectionFactory. |
org.springframework.jdbc.datasource.lookup.SingleDataSourceLookup |
An implementation of the DataSourceLookup that simply wraps a single given DataSource, returned for any data source name. |
org.springframework.aop.aspectj.annotation.SingletonMetadataAwareAspectInstanceFactory |
Implementation of MetadataAwareAspectInstanceFactory that is backed by a specified singleton object, returning the same instance for every |
org.springframework.context.event.SmartApplicationListener |
Extended variant of the standard ApplicationListener interface, exposing further metadata such as the supported event type. Users are strongly advised to use the GenericApplicationListener interface instead as it provides an improved detection of generics-based event types. |
org.springframework.core.SmartClassLoader |
Interface to be implemented by a reloading-aware ClassLoader (e.g. a Groovy-based ClassLoader). Detected for example by Spring's CGLIB proxy factory for making a caching decision. If a ClassLoader does not implement this interface, then all of the classes obtained from it should be considered as not reloadable (i.e. cacheable). |
org.springframework.jms.connection.SmartConnectionFactory |
Extension of the |
org.springframework.beans.factory.SmartFactoryBean |
Extension of the FactoryBean interface. Implementations may indicate whether they always return independent instances, for the case where their Plain FactoryBean implementations which do not implement this extended interface are simply assumed to always return independent instances if their NOTE: This interface is a special purpose interface, mainly for internal use within the framework and within collaborating frameworks. In general, application-provided FactoryBeans should simply implement the plain FactoryBean interface. New methods might be added to this extended interface even in point releases. |
org.springframework.beans.factory.SmartInitializingSingleton |
Callback interface triggered at the end of the singleton pre-instantiation phase during BeanFactory bootstrap. This interface can be implemented by singleton beans in order to perform some initialization after the regular singleton instantiation algorithm, avoiding side effects with accidental early initialization (e.g. from This callback variant is somewhat similar to org.springframework.context.event.ContextRefreshedEvent but doesn't require an implementation of org.springframework.context.ApplicationListener, with no need to filter context references across a context hierarchy etc. It also implies a more minimal dependency on just the NOTE: If you intend to start/manage asynchronous tasks, preferably implement org.springframework.context.Lifecycle instead which offers a richer model for runtime management and allows for phased startup/shutdown. |
org.springframework.orm.jpa.persistenceunit.SmartPersistenceUnitInfo |
Extension of the standard JPA PersistenceUnitInfo interface, for advanced collaboration between Spring's org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean and PersistenceUnitManager implementations. |
org.springframework.web.servlet.SmartView |
Provides additional information about a View such as whether it performs redirects. |
org.springframework.remoting.soap.SoapFaultException |
RemoteInvocationFailureException subclass that provides the details of a SOAP fault. |
org.springframework.web.socket.sockjs.client.SockJsClient |
A SockJS implementation of org.springframework.web.socket.client.WebSocketClient with fallback alternatives that simulate a WebSocket interaction through plain HTTP streaming and long polling techniques.. Implements Lifecycle in order to propagate lifecycle events to the transports it is configured with. |
org.springframework.web.socket.sockjs.frame.SockJsFrameType |
SockJS frame types. |
org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler |
An HttpRequestHandler that allows mapping a SockJsService to requests in a Servlet container. |
org.springframework.web.socket.sockjs.SockJsMessageDeliveryException |
An exception thrown when a message frame was successfully received over an HTTP POST and parsed but one or more of the messages it contained could not be delivered to the WebSocketHandler either because the handler failed or because the connection got closed. The SockJS session is not automatically closed after this exception. |
org.springframework.web.socket.config.annotation.SockJsServiceRegistration |
A helper class for configuring SockJS fallback options for use with an org.springframework.web.socket.config.annotation.EnableWebSocket and WebSocketConfigurer setup. |
org.springframework.web.socket.sockjs.SockJsTransportFailureException |
Indicates a serious failure that occurred in the SockJS implementation as opposed to in user code (e.g. IOException while writing to the response). When this exception is raised, the SockJS session is typically closed. |
org.springframework.web.socket.sockjs.client.SockJsUrlInfo |
Container for the base URL of a SockJS endpoint with additional helper methods to derive related SockJS URLs as the |
org.springframework.web.socket.sockjs.transport.handler.SockJsWebSocketHandler |
An implementation of WebSocketHandler that adds SockJS messages frames, sends SockJS heartbeat messages, and delegates lifecycle events and messages to a target WebSocketHandler. Methods in this class allow exceptions from the wrapped WebSocketHandler to propagate. However, any exceptions resulting from SockJS message handling (e.g. while sending SockJS frames or heartbeat messages) are caught and treated as transport errors, i.e. routed to the |
org.springframework.util.SocketUtils |
Simple utility methods for working with network sockets — for example, for finding available ports on Within this class, a TCP port refers to a port for a ServerSocket; whereas, a UDP port refers to a port for a DatagramSocket. |
org.springframework.jdbc.config.SortedResourcesFactoryBean |
FactoryBean implementation that takes a list of location Strings and creates a sorted array of Resource instances. |
org.springframework.context.event.SourceFilteringListener |
org.springframework.context.ApplicationListener decorator that filters events from a specified event source, invoking its delegate listener for matching org.springframework.context.ApplicationEvent objects only. Can also be used as base class, overriding the |
org.springframework.http.converter.xml.SourceHttpMessageConverter |
Implementation of org.springframework.http.converter.HttpMessageConverter that can read and write Source objects. |
org.springframework.expression.spel.standard.SpelCompiler |
A SpelCompiler will take a regular parsed expression and create (and load) a class containing byte code that does the same thing as that expression. The compiled form of an expression will evaluate far faster than the interpreted form. The SpelCompiler is not currently handling all expression types but covers many of the common cases. The framework is extensible to cover more cases in the future. For absolute maximum speed there is *no checking* in the compiled code. The compiled version of the expression uses information learned during interpreted runs of the expression when it generates the byte code. For example if it knows that a particular property dereference always seems to return a Map then it will generate byte code that expects the result of the property dereference to be a Map. This ensures maximal performance but should the dereference result in something other than a map, the compiled expression will fail - like a ClassCastException would occur if passing data of an unexpected type in a regular Java program. Due to the lack of checking there are likely some expressions that should never be compiled, for example if an expression is continuously dealing with different types of data. Due to these cases the compiler is something that must be selectively turned on for an associated SpelExpressionParser (through the SpelParserConfiguration object), it is not on by default. Individual expressions can be compiled by calling |
org.springframework.expression.spel.SpelEvaluationException |
Root exception for Spring EL related exceptions. Rather than holding a hard coded string indicating the problem, it records a message key and the inserts for the message. See SpelMessage for the list of all possible messages that can occur. |
org.springframework.expression.spel.standard.SpelExpression |
A |
org.springframework.expression.spel.SpelParserConfiguration |
Configuration object for the SpEL expression parser. |
org.springframework.asm.SpringAsmInfo |
Utility class exposing constants related to Spring's internal repackaging of the ASM bytecode manipulation library (currently based on version 6.0). See package-level javadocs for more information on |
org.springframework.web.context.support.SpringBeanAutowiringSupport |
Convenient base class for self-autowiring classes that gets constructed within a Spring-based web application. Resolves A typical usage of this base class is a JAX-WS endpoint class: Such a Spring-based JAX-WS endpoint implementation will follow the standard JAX-WS contract for endpoint classes but will be 'thin' in that it delegates the actual work to one or more Spring-managed service beans - typically obtained using NOTE: If there is an explicit way to access the ServletContext, prefer such a way over using this class. The WebApplicationContextUtils class allows for easy access to the Spring root web application context based on the ServletContext. |
org.springframework.web.jsf.el.SpringBeanFacesELResolver |
JSF Configure this resolver in your All your JSF expressions can then implicitly refer to the names of Spring-managed service layer beans, for example in property values of JSF-managed beans: with "mySpringManagedBusinessObject" defined as Spring bean in applicationContext.xml:
|
org.springframework.scheduling.quartz.SpringBeanJobFactory |
Subclass of AdaptableJobFactory that also supports Spring-style dependency injection on bean properties. This is essentially the direct equivalent of Spring's QuartzJobBean in the shape of a Quartz org.quartz.spi.JobFactory. Applies scheduler context, job data map and trigger data map entries as bean property values. If no matching bean property is found, the entry is by default simply ignored. This is analogous to QuartzJobBean's behavior. Compatible with Quartz 2.1.4 and higher, as of Spring 4.1. |
org.springframework.web.servlet.view.tiles3.SpringBeanPreparerFactory |
Tiles org.apache.tiles.preparer.PreparerFactory implementation that expects preparer bean names and obtains preparer beans from the Spring ApplicationContext. The full bean creation process will be in the control of the Spring application context in this case, allowing for the use of scoped beans etc. |
org.springframework.cache.annotation.SpringCacheAnnotationParser |
Strategy implementation for parsing Spring's Caching, Cacheable, CacheEvict, and CachePut annotations. |
org.springframework.cglib.SpringCglibInfo |
Empty class used to ensure that the See package-level javadocs for more information on |
org.springframework.test.context.junit4.rules.SpringClassRule |
In contrast to the org.springframework.test.context.junit4.SpringJUnit4ClassRunner, Spring's rule-based JUnit support has the advantage that it is independent of any org.junit.runner.Runner and can therefore be combined with existing alternative runners like JUnit's In order to achieve the same functionality as the
The following list constitutes all annotations currently supported directly or indirectly by
NOTE: As of Spring Framework 4.3, this class requires JUnit 4.12 or higher. |
org.springframework.web.socket.server.standard.SpringConfigurator |
A javax.websocket.server.ServerEndpointConfig.Configurator for initializing ServerEndpoint-annotated classes through Spring.
|
org.springframework.validation.beanvalidation.SpringConstraintValidatorFactory |
JSR-303 ConstraintValidatorFactory implementation that delegates to a Spring BeanFactory for creating autowired ConstraintValidator instances. Note that this class is meant for programmatic use, not for declarative use in a standard |
org.springframework.jca.context.SpringContextResourceAdapter |
JCA 1.7 javax.resource.spi.ResourceAdapter implementation that loads a Spring org.springframework.context.ApplicationContext, starting and stopping Spring-managed beans as part of the ResourceAdapter's lifecycle. Ideal for application contexts that do not need any HTTP entry points but rather just consist of message endpoints and scheduled jobs etc. Beans in such a context may use application server resources such as the JTA transaction manager and JNDI-bound JDBC DataSources and JMS ConnectionFactory instances, and may also register with the platform's JMX server - all through Spring's standard transaction management and JNDI and JMX support facilities. If the need for scheduling asynchronous work arises, consider using Spring's org.springframework.jca.work.WorkManagerTaskExecutor as a standard bean definition, to be injected into application beans through dependency injection. This WorkManagerTaskExecutor will automatically use the JCA WorkManager from the BootstrapContext that has been provided to this ResourceAdapter. The JCA javax.resource.spi.BootstrapContext may also be accessed directly, through application components that implement the BootstrapContextAware interface. When deployed using this ResourceAdapter, the BootstrapContext is guaranteed to be passed on to such components. This ResourceAdapter is to be defined in a "META-INF/ra.xml" file within a Java EE ".rar" deployment unit like as follows: Note that "META-INF/applicationContext.xml" is the default context config location, so it doesn't have to specified unless you intend to specify different/additional config files. So in the default case, you may remove the entire config-property section above.
For simple deployment needs, all you need to do is the following: Package all application classes into a RAR file (which is just a standard JAR file with a different file extension), add all required library jars into the root of the RAR archive, add a "META-INF/ra.xml" deployment descriptor as shown above as well as the corresponding Spring XML bean definition file(s) (typically "META-INF/applicationContext.xml"), and drop the resulting RAR file into your application server's deployment directory! |
org.springframework.test.context.junit.jupiter.SpringExtension |
To use this extension, simply annotate a JUnit Jupiter based test class with |
org.springframework.core.io.support.SpringFactoriesLoader |
General purpose factory loading mechanism for internal use within the framework.
where example.MyService is the name of the interface, and MyServiceImpl1 and MyServiceImpl2 are two implementations.
|
org.springframework.test.context.junit4.statements.SpringFailOnTimeout |
In contrast to JUnit's org.junit.internal.runners.statements.FailOnTimeout, the next |
org.springframework.orm.hibernate5.SpringFlushSynchronization |
Simple synchronization adapter that propagates a |
org.springframework.http.converter.json.SpringHandlerInstantiator |
Allows for creating Jackson (JsonSerializer, JsonDeserializer, KeyDeserializer, TypeResolverBuilder, TypeIdResolver) beans with autowiring against a Spring ApplicationContext. As of Spring 4.3, this overrides all factory methods in HandlerInstantiator, including non-abstract ones and recently introduced ones from Jackson 2.4 and 2.5: for ValueInstantiator, ObjectIdGenerator, ObjectIdResolver, PropertyNamingStrategy, Converter, VirtualBeanPropertyWriter. |
org.springframework.test.context.junit.jupiter.SpringJUnitConfig |
|
org.springframework.test.context.junit.jupiter.web.SpringJUnitWebConfig |
|
org.springframework.orm.hibernate5.SpringJtaSessionContext |
Spring-specific subclass of Hibernate's JTASessionContext, setting |
org.springframework.transaction.jta.SpringJtaSynchronizationAdapter |
Adapter that implements the JTA javax.transaction.Synchronization interface delegating to an underlying Spring org.springframework.transaction.support.TransactionSynchronization. Useful for synchronizing Spring resource management code with plain JTA / EJB CMT transactions, despite the original code being built for Spring transaction synchronization. |
org.springframework.web.servlet.view.tiles3.SpringLocaleResolver |
Tiles LocaleResolver adapter that delegates to a Spring org.springframework.web.servlet.LocaleResolver, exposing the DispatcherServlet-managed locale. This adapter gets automatically registered by TilesConfigurer. |
org.springframework.test.context.junit4.rules.SpringMethodRule |
In contrast to the org.springframework.test.context.junit4.SpringJUnit4ClassRunner, Spring's rule-based JUnit support has the advantage that it is independent of any org.junit.runner.Runner and can therefore be combined with existing alternative runners like JUnit's In order to achieve the same functionality as the
The following list constitutes all annotations currently supported directly or indirectly by
NOTE: As of Spring Framework 4.3, this class requires JUnit 4.12 or higher. WARNING: Due to the shortcomings of JUnit rules, the |
org.springframework.jmx.export.SpringModelMBean |
Extension of the RequiredModelMBean class that ensures the |
org.springframework.cglib.core.SpringNamingPolicy |
Custom extension of CGLIB's DefaultNamingPolicy, modifying the tag in generated class names from "ByCGLIB" to "BySpringCGLIB". This is primarily designed to avoid clashes between a regular CGLIB version (used by some other library) and Spring's embedded variant, in case the same class happens to get proxied for different purposes. |
org.springframework.objenesis.SpringObjenesis |
Spring-specific variant of ObjenesisStd / ObjenesisBase, providing a cache based on |
org.springframework.test.context.junit4.statements.SpringRepeat |
|
org.springframework.test.context.junit4.SpringRunner |
To use this class, simply annotate a JUnit 4 based test class with If you would like to use the Spring TestContext Framework with a runner other than this one, use org.springframework.test.context.junit4.rules.SpringClassRule and org.springframework.test.context.junit4.rules.SpringMethodRule. NOTE: This class requires JUnit 4.12 or higher. |
org.springframework.web.SpringServletContainerInitializer |
Servlet 3.0 ServletContainerInitializer designed to support code-based configuration of the servlet container using Spring's WebApplicationInitializer SPI as opposed to (or possibly in combination with) the traditional Relationship to Spring's WebApplicationInitializer Spring's WebApplicationInitializer SPI consists of just one method: WebApplicationInitializer#onStartup(ServletContext) . The signature is intentionally quite similar to ServletContainerInitializer#onStartup(Set, ServletContext) : simply put, SpringServletContainerInitializer is responsible for instantiating and delegating the ServletContext to any user-defined WebApplicationInitializer implementations. It is then the responsibility of each WebApplicationInitializer to do the actual work of initializing the ServletContext . The exact process of delegation is described in detail in the onStartup documentation below. General Notes In general, this class should be viewed as supporting infrastructure for the more important and user-facing WebApplicationInitializer SPI. Taking advantage of this container initializer is also completely optional: while it is true that this initializer will be loaded and invoked under all Servlet 3.0+ runtimes, it remains the user's choice whether to make any WebApplicationInitializer implementations available on the classpath. If no WebApplicationInitializer types are detected, this container initializer will have no effect.
Note that use of this container initializer and of This class is neither designed for extension nor intended to be extended. It should be considered an internal type, with |
org.springframework.orm.hibernate5.SpringSessionContext |
Implementation of Hibernate 3.1's CurrentSessionContext interface that delegates to Spring's SessionFactoryUtils for providing a Spring-managed current Session. This CurrentSessionContext implementation can also be specified in custom SessionFactory setup through the "hibernate.current_session_context_class" property, with the fully qualified name of this class as value. |
org.springframework.orm.hibernate5.SpringSessionSynchronization |
Callback for resource cleanup at the end of a Spring-managed transaction for a pre-bound Hibernate Session. |
org.springframework.ui.freemarker.SpringTemplateLoader |
FreeMarker TemplateLoader adapter that loads via a Spring ResourceLoader. Used by FreeMarkerConfigurationFactory for any resource loader path that cannot be resolved to a java.io.File. |
org.springframework.transaction.annotation.SpringTransactionAnnotationParser |
Strategy implementation for parsing Spring's Transactional annotation. |
org.springframework.core.SpringVersion |
Class that exposes the Spring version. Fetches the "Implementation-Version" manifest attribute from the jar file. Note that some ClassLoaders do not expose the package metadata, hence this class might not be able to determine the Spring version in all environments. Consider using a reflection-based check instead: For example, checking for the presence of a specific Spring 2.0 method that you intend to call. |
org.springframework.web.bind.support.SpringWebConstraintValidatorFactory |
JSR-303 ConstraintValidatorFactory implementation that delegates to the current Spring WebApplicationContext for creating autowired ConstraintValidator instances. In contrast to org.springframework.validation.beanvalidation.SpringConstraintValidatorFactory, this variant is meant for declarative use in a standard |
org.springframework.web.servlet.view.tiles3.SpringWildcardServletTilesApplicationContext |
Spring-specific subclass of the Tiles ServletApplicationContext. |
org.springframework.test.context.jdbc.Sql |
Method-level declarations override class-level declarations. Script execution is performed by the SqlScriptsTestExecutionListener, which is enabled by default. The configuration options provided by this annotation and SqlConfig are equivalent to those supported by org.springframework.jdbc.datasource.init.ScriptUtils and org.springframework.jdbc.datasource.init.ResourceDatabasePopulator but are a superset of those provided by the Beginning with Java 8, This annotation may be used as a meta-annotation to create custom composed annotations with attribute overrides. |
org.springframework.jdbc.object.SqlFunction |
SQL "function" wrapper for a query that returns a single row of results. The default behavior is to return an int, but that can be overridden by using the constructor with an extra return type parameter. Intended to use to call SQL functions that return a single result using a query like "select user()" or "select sysdate from dual". It is not intended for calling more complex stored functions or for using a CallableStatement to invoke a stored procedure or stored function. Use StoredProcedure or SqlCall for this type of processing. This is a concrete class, which there is often no need to subclass. Code using this package can create an object of this type, declaring SQL and parameters, and then invoke the appropriate Like all RdbmsOperation objects, SqlFunction objects are thread-safe. |
org.springframework.test.context.jdbc.SqlGroup |
Container annotation that aggregates several Sql annotations. Can be used natively, declaring several nested This annotation may be used as a meta-annotation to create custom composed annotations. |
org.springframework.jdbc.core.SqlInOutParameter |
Subclass of SqlOutParameter to represent an INOUT parameter. Will return Output parameters - like all stored procedure parameters - must have names. |
org.springframework.jdbc.core.support.SqlLobValue |
Object to represent an SQL BLOB/CLOB value parameter. BLOBs can either be an InputStream or a byte array. CLOBs can be in the form of a Reader, InputStream or String. Each CLOB/BLOB value will be stored together with its length. The type is based on which constructor is used. Objects of this class are immutable except for the LobCreator reference. Use them and discard them. This class holds a reference to a LocCreator that must be closed after the update has completed. This is done via a call to the closeLobCreator method. All handling of the LobCreator is done by the framework classes that use it - no need to set or close the LobCreator for end users of this class. A usage example:
|
org.springframework.jdbc.core.SqlOutParameter |
Subclass of SqlParameter to represent an output parameter. No additional properties: instanceof will be used to check for such types. Output parameters - like all stored procedure parameters - must have names. |
org.springframework.jdbc.core.namedparam.SqlParameterSourceUtils |
Class that provides helper methods for the use of SqlParameterSource, in particular with NamedParameterJdbcTemplate. |
org.springframework.jdbc.core.SqlParameterValue |
Object to represent a SQL parameter value, including parameter metadata such as the SQL type and the scale for numeric values. Designed for use with JdbcTemplate's operations that take an array of argument values: Each such argument value may be a |
org.springframework.jdbc.core.SqlProvider |
Interface to be implemented by objects that can provide SQL strings. Typically implemented by PreparedStatementCreators, CallableStatementCreators and StatementCallbacks that want to expose the SQL they use to create their statements, to allow for better contextual information in case of exceptions. |
org.springframework.jdbc.core.SqlReturnUpdateCount |
Represents a returned update count from a stored procedure call. Returned update counts - like all stored procedure parameters - must have names. |
org.springframework.jdbc.core.SqlRowSetResultSetExtractor |
ResultSetExtractor implementation that returns a Spring SqlRowSet representation for each given ResultSet. The default implementation uses a standard JDBC CachedRowSet underneath. |
org.springframework.jdbc.core.metadata.SqlServerCallMetaDataProvider |
SQL Server specific implementation for the CallMetaDataProvider interface. This class is intended for internal use by the Simple JDBC classes. |
org.springframework.jdbc.support.incrementer.SqlServerMaxValueIncrementer |
DataFieldMaxValueIncrementer that increments the maximum value of a given SQL Server table with the equivalent of an auto-increment column. Note: If you use this class, your table key column should NOT be defined as an IDENTITY column, as the sequence table does the job. This class is intended to be used with Microsoft SQL Server. The sequence is kept in a table. There should be one sequence table per table that needs an auto-generated key. Example: If "cacheSize" is set, the intermediate values are served without querying the database. If the server or your application is stopped or crashes or a transaction is rolled back, the unused values will never be served. The maximum hole size in numbering is consequently the value of cacheSize. HINT: Since Microsoft SQL Server supports the JDBC 3.0 getGeneratedKeys method, it is recommended to use IDENTITY columns directly in the tables and then using a org.springframework.jdbc.core.simple.SimpleJdbcInsert or utilizing a org.springframework.jdbc.support.KeyHolder when calling the with the update(PreparedStatementCreator psc, KeyHolder generatedKeyHolder) method of the org.springframework.jdbc.core.JdbcTemplate.
Thanks to Preben Nilsson for the suggestion! |
org.springframework.jdbc.support.SqlValue |
Simple interface for complex types to be set as statement parameters. Implementations perform the actual work of setting the actual values. They must implement the callback method |
org.springframework.jdbc.support.xml.SqlXmlFeatureNotImplementedException |
Exception thrown when the underlying implementation does not support the requested feature of the API. |
org.springframework.jdbc.support.xml.SqlXmlObjectMappingHandler |
Abstraction for handling XML object mapping to fields in a database. Provides accessor methods for XML fields unmarshalled to an Object, and acts as factory for SqlXmlValue instances for marshalling purposes. |
org.springframework.web.servlet.mvc.method.annotation.SseEmitter |
A specialization of ResponseBodyEmitter for sending Server-Sent Events. |
org.springframework.context.expression.StandardBeanExpressionResolver |
Standard implementation of the org.springframework.beans.factory.config.BeanExpressionResolver interface, parsing and evaluating Spring EL using Spring's expression module. |
org.springframework.core.type.StandardClassMetadata |
ClassMetadata implementation that uses standard reflection to introspect a given |
org.springframework.jms.listener.endpoint.StandardJmsActivationSpecFactory |
Standard implementation of the JmsActivationSpecFactory interface. Supports the standard JMS properties as defined by the JMS 1.5 specification (Appendix B); ignores Spring's "maxConcurrency" and "prefetchSize" settings. The 'activationSpecClass' property is required, explicitly defining the fully-qualified class name of the provider's ActivationSpec class (e.g. "org.apache.activemq.ra.ActiveMQActivationSpec"). Check out DefaultJmsActivationSpecFactory for an extended variant of this class, supporting some further default conventions beyond the plain JMS 1.5 specification. |
org.springframework.core.type.StandardMethodMetadata |
MethodMetadata implementation that uses standard reflection to introspect a given |
org.springframework.web.multipart.support.StandardMultipartHttpServletRequest |
Spring MultipartHttpServletRequest adapter, wrapping a Servlet 3.0 HttpServletRequest and its Part objects. Parameters get exposed through the native request's getParameter methods - without any custom processing on our side. |
org.springframework.expression.spel.support.StandardOperatorOverloader | |
org.springframework.core.StandardReflectionParameterNameDiscoverer |
ParameterNameDiscoverer implementation which uses JDK 8's reflection facilities for introspecting parameter names (based on the "-parameters" compiler flag). |
org.springframework.scripting.support.StandardScriptEvalException |
Exception decorating a javax.script.ScriptException coming out of JSR-223 script evaluation, i.e. a This exception does not print the Java stacktrace, since the JSR-223 ScriptException results in a rather convoluted text output. From that perspective, this exception is primarily a decorator for a ScriptException root cause passed into an outer exception. |
org.springframework.scripting.support.StandardScriptEvaluator |
|
org.springframework.scripting.support.StandardScriptFactory |
org.springframework.scripting.ScriptFactory implementation based on the JSR-223 script engine abstraction (as included in Java 6+). Supports JavaScript, Groovy, JRuby and other JSR-223 compliant engines. Typically used in combination with a org.springframework.scripting.support.ScriptFactoryPostProcessor; see the latter's javadoc for a configuration example. |
org.springframework.scripting.support.StandardScriptUtils |
Common operations for dealing with a JSR-223 ScriptEngine. |
org.springframework.web.context.request.async.StandardServletAsyncWebRequest |
A Servlet 3.0 implementation of AsyncWebRequest. The servlet and all filters involved in an async request must have async support enabled using the Servlet API or by adding an |
org.springframework.web.context.support.StandardServletEnvironment |
Environment implementation to be used by Contributes |
org.springframework.web.multipart.support.StandardServletMultipartResolver |
Standard implementation of the MultipartResolver interface, based on the Servlet 3.0 javax.servlet.http.Part API. To be added as "multipartResolver" bean to a Spring DispatcherServlet context, without any extra configuration at the bean level (see below). Note: In order to use Servlet 3.0 based multipart parsing, you need to mark the affected servlet with a "multipart-config" section in |
org.springframework.web.socket.adapter.standard.StandardToWebSocketExtensionAdapter |
A sub-class of org.springframework.web.socket.WebSocketExtension that can be constructed from an javax.websocket.Extension. |
org.springframework.expression.spel.support.StandardTypeComparator |
A simple basic TypeComparator implementation. It supports comparison of Numbers and types implementing Comparable. |
org.springframework.expression.spel.support.StandardTypeConverter |
Default implementation of the TypeConverter interface, delegating to a core Spring ConversionService. |
org.springframework.expression.spel.support.StandardTypeLocator |
A simple implementation of TypeLocator that uses the context ClassLoader (or any ClassLoader set upon it). It supports 'well-known' packages: So if a type cannot be found, it will try the registered imports to locate it. |
org.springframework.web.socket.client.standard.StandardWebSocketClient |
A WebSocketClient based on standard Java WebSocket API. |
org.springframework.web.socket.adapter.standard.StandardWebSocketHandlerAdapter |
Adapts a WebSocketHandler to the standard WebSocket for Java API. |
org.springframework.jdbc.core.StatementCreatorUtils |
Utility methods for PreparedStatementSetter/Creator and CallableStatementCreator implementations, providing sophisticated parameter management (including support for LOB values). Used by PreparedStatementCreatorFactory and CallableStatementCreatorFactory, but also available for direct use in custom setter/creator implementations. |
org.springframework.context.support.StaticApplicationContext |
org.springframework.context.ApplicationContext implementation which supports programmatic registration of beans and messages, rather than reading bean definitions from external configuration sources. Mainly useful for testing. |
org.springframework.beans.factory.support.StaticListableBeanFactory |
Static org.springframework.beans.factory.BeanFactory implementation which allows to register existing singleton instances programmatically. Does not have support for prototype beans or aliases. Serves as example for a simple implementation of the org.springframework.beans.factory.ListableBeanFactory interface, managing existing bean instances rather than creating new ones based on bean definitions, and not implementing any extended SPI interfaces (such as org.springframework.beans.factory.config.ConfigurableBeanFactory). For a full-fledged factory based on bean definitions, have a look at DefaultListableBeanFactory. |
org.springframework.context.support.StaticMessageSource |
Simple implementation of org.springframework.context.MessageSource which allows messages to be registered programmatically. This MessageSource supports basic internationalization. Intended for testing rather than for use in production systems. |
org.springframework.aop.support.StaticMethodMatcherPointcutAdvisor |
Convenient base class for Advisors that are also static pointcuts. Serializable if Advice and subclass are. |
org.springframework.scripting.support.StaticScriptSource |
Static implementation of the org.springframework.scripting.ScriptSource interface, encapsulating a given String that contains the script source text. Supports programmatic updates of the script String. |
org.springframework.web.context.support.StaticWebApplicationContext |
Static org.springframework.web.context.WebApplicationContext implementation for testing. Not intended for use in production applications. Implements the org.springframework.web.context.ConfigurableWebApplicationContext interface to allow for direct replacement of an XmlWebApplicationContext, despite not actually supporting external configuration files. Interprets resource paths as servlet context resources, i.e. as paths beneath the web application root. Absolute paths, e.g. for files outside the web app root, can be accessed via "file:" URLs, as implemented by org.springframework.core.io.DefaultResourceLoader. In addition to the special beans detected by org.springframework.context.support.AbstractApplicationContext, this class detects a bean of type org.springframework.ui.context.ThemeSource in the context, under the special bean name "themeSource". |
org.springframework.test.web.servlet.result.StatusResultMatchers |
Factory for assertions on the response status. An instance of this class is typically accessed via |
org.springframework.util.xml.StaxUtils |
Convenience methods for working with the StAX API. Partly historic due to JAXP 1.3 compatibility; as of Spring 4.0, relying on JAXP 1.4 as included in JDK 1.6 and higher. In particular, methods for using StAX ( |
org.springframework.messaging.simp.stomp.StompClientSupport |
Base class for STOMP client implementations. Subclasses can connect over WebSocket or TCP using any library. When creating a new connection, a subclass can create an instance of @link DefaultStompSession} which extends org.springframework.messaging.tcp.TcpConnectionHandler whose lifecycle methods the subclass must then invoke. In effect, |
org.springframework.messaging.simp.stomp.StompConversionException |
Raised after a failure to encode or decode a STOMP message. |
org.springframework.messaging.simp.stomp.StompDecoder |
Decodes one or more STOMP frames contained in a ByteBuffer. An attempt is made to read all complete STOMP frames from the buffer, which could be zero, one, or more. If there is any left-over content, i.e. an incomplete STOMP frame, at the end the buffer is reset to point to the beginning of the partial content. The caller is then responsible for dealing with that incomplete content by buffering until there is more input available. |
org.springframework.messaging.simp.stomp.StompFrameHandler |
Contract to handle a STOMP frame. |
org.springframework.messaging.simp.stomp.StompHeaderAccessor |
A When created from STOMP frame content, the actual STOMP headers are stored in the native header sub-map managed by the parent class org.springframework.messaging.support.NativeMessageHeaderAccessor while the parent class SimpMessageHeaderAccessor manages common processing headers some of which are based on STOMP headers (e.g. destination, content-type, etc). An instance of this class can also be created by wrapping an existing |
org.springframework.messaging.simp.stomp.StompReactorNettyCodec |
Simple delegation to StompDecoder and StompEncoder. |
org.springframework.messaging.simp.stomp.StompSessionHandlerAdapter |
Abstract adapter class for StompSessionHandler with mostly empty implementation methods except for |
org.springframework.util.StopWatch |
Simple stop watch, allowing for timing of a number of tasks, exposing total running time and running time for each named task. Conceals use of Note that this object is not designed to be thread-safe and does not use synchronization. This class is normally used to verify performance during proof-of-concepts and in development, rather than as part of production applications. |
org.springframework.http.StreamingHttpOutputMessage |
Represents a HTTP output message that allows for setting a streaming body. Note that such messages typically do not support |
org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody |
A controller method return value type for asynchronous request processing where the application can write directly to the response Note: when using this option it is highly recommended to configure explicitly the TaskExecutor used in Spring MVC for executing asynchronous requests. Both the MVC Java config and the MVC namespaces provide options to configure asynchronous handling. If not using those, an application can set the |
org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBodyReturnValueHandler |
Supports return values of type org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody and also |
org.springframework.beans.propertyeditors.StringArrayPropertyEditor |
Custom java.beans.PropertyEditor for String arrays. Strings must be in CSV format, with a customizable separator. By default values in the result are trimmed of whitespace. |
org.springframework.core.codec.StringDecoder |
Decode from a bytes stream to a By default, this decoder will split the received DataBuffers along newline characters ( |
org.springframework.expression.spel.ast.StringLiteral |
Expression language AST node that represents a string literal. |
org.springframework.web.multipart.support.StringMultipartFileEditor |
Custom java.beans.PropertyEditor for converting MultipartFile to Strings. Allows one to specify the charset to use. |
org.springframework.beans.propertyeditors.StringTrimmerEditor |
Property editor that trims Strings. Optionally allows transforming an empty string into a |
org.springframework.core.style.StylerUtils |
Simple utility class to allow for convenient access to value styling logic, mainly to support descriptive logging messages. For more sophisticated needs, use the ValueStyler abstraction directly. This class simply uses a shared DefaultValueStyler instance underneath. |
org.springframework.web.socket.messaging.SubProtocolErrorHandler |
A contract for handling sub-protocol errors sent to clients. |
org.springframework.web.socket.messaging.SubProtocolHandler |
A contract for handling WebSocket messages as part of a higher level protocol, referred to as "sub-protocol" in the WebSocket RFC specification. Handles both WebSocketMessages from a client as well as Messages to a client. Implementations of this interface can be configured on a SubProtocolWebSocketHandler which selects a sub-protocol handler to delegate messages to based on the sub-protocol requested by the client through the |
org.springframework.messaging.simp.annotation.SubscribeMapping |
Annotation for mapping subscription messages onto specific handler methods based on the destination of a subscription. Supported with STOMP over WebSocket only (e.g. STOMP SUBSCRIBE frame). This is a method-level annotation that can be combined with a type-level org.springframework.messaging.handler.annotation.MessageMapping. Supports the same method arguments as The return value also follows the same rules as for NOTE: When using controller interfaces (e.g. for AOP proxying), make sure to consistently put all your mapping annotations - such as |
org.springframework.messaging.simp.annotation.support.SubscriptionMethodReturnValueHandler |
The value returned from the method is converted and turned into a Message that is then enriched with the sessionId, subscriptionId, and destination of the input message. Note: this default behavior for interpreting the return value from an |
org.springframework.jdbc.support.incrementer.SybaseAnywhereMaxValueIncrementer |
DataFieldMaxValueIncrementer that increments the maximum value of a given Sybase SQL Anywhere table with the equivalent of an auto-increment column. Note: If you use this class, your table key column should NOT be defined as an IDENTITY column, as the sequence table does the job. This class is intended to be used with Sybase Anywhere. The sequence is kept in a table. There should be one sequence table per table that needs an auto-generated key. Example: If "cacheSize" is set, the intermediate values are served without querying the database. If the server or your application is stopped or crashes or a transaction is rolled back, the unused values will never be served. The maximum hole size in numbering is consequently the value of cacheSize. HINT: Since Sybase Anywhere supports the JDBC 3.0 getGeneratedKeys method, it is recommended to use IDENTITY columns directly in the tables and then using a org.springframework.jdbc.core.simple.SimpleJdbcInsert or utilizing a org.springframework.jdbc.support.KeyHolder when calling the with the update(PreparedStatementCreator psc, KeyHolder generatedKeyHolder) method of the org.springframework.jdbc.core.JdbcTemplate.
Thanks to Tarald Saxi Stormark for the suggestion! |
org.springframework.jdbc.core.metadata.SybaseCallMetaDataProvider |
Sybase specific implementation for the CallMetaDataProvider interface. This class is intended for internal use by the Simple JDBC classes. |
org.springframework.jdbc.support.incrementer.SybaseMaxValueIncrementer |
DataFieldMaxValueIncrementer that increments the maximum value of a given Sybase table with the equivalent of an auto-increment column. Note: If you use this class, your table key column should NOT be defined as an IDENTITY column, as the sequence table does the job. This class is intended to be used with Sybase Adaptive Server. The sequence is kept in a table. There should be one sequence table per table that needs an auto-generated key. Example: If "cacheSize" is set, the intermediate values are served without querying the database. If the server or your application is stopped or crashes or a transaction is rolled back, the unused values will never be served. The maximum hole size in numbering is consequently the value of cacheSize. HINT: Since Sybase supports the JDBC 3.0 getGeneratedKeys method, it is recommended to use IDENTITY columns directly in the tables and then using a org.springframework.jdbc.core.simple.SimpleJdbcInsert or utilizing a org.springframework.jdbc.support.KeyHolder when calling the with the update(PreparedStatementCreator psc, KeyHolder generatedKeyHolder) method of the org.springframework.jdbc.core.JdbcTemplate.
Thanks to Yinwei Liu for the suggestion! |
org.springframework.web.reactive.result.method.SyncInvocableHandlerMethod |
Extension of HandlerMethod that invokes the underlying method via InvocableHandlerMethod but uses sync argument resolvers only and thus can return directly a HandlerResult with no async wrappers. |
org.springframework.core.task.SyncTaskExecutor |
TaskExecutor implementation that executes each task synchronously in the calling thread. Mainly intended for testing scenarios. Execution in the calling thread does have the advantage of participating in it's thread context, for example the thread context class loader or the thread's current transaction association. That said, in many cases, asynchronous execution will be preferable: choose an asynchronous |
org.springframework.jms.connection.SynchedLocalTransactionFailedException |
Exception thrown when a synchronized local transaction failed to complete (after the main transaction has already completed). |
org.springframework.http.codec.multipart.SynchronossPartHttpMessageReader |
This reader can be provided to MultipartHttpMessageReader in order to aggregate all parts into a Map. |
org.springframework.core.annotation.SynthesizedAnnotation |
Marker interface implemented by synthesized annotation proxies. Used to detect whether an annotation has already been synthesized. |
org.springframework.core.annotation.SynthesizingMethodParameter |
A MethodParameter variant which synthesizes annotations that declare attribute aliases via AliasFor. |
org.springframework.core.env.SystemEnvironmentPropertySource |
Specialization of MapPropertySource designed for use with system environment variables. Compensates for constraints in Bash and other shells that do not allow for variables containing the period character and/or hyphen character; also allows for uppercase variations on property names for more idiomatic shell use. For example, a call to
The same applies for calls to This feature is particularly useful when specifying active or default profiles as environment variables. The following is not allowable under Bash: However, the following syntax is permitted and is also more conventional:
Enable debug- or trace-level logging for this class (or package) for messages explaining when these 'property name resolutions' occur. This property source is included by default in StandardEnvironment and all its subclasses. |
org.springframework.test.annotation.SystemProfileValueSource |
Implementation of ProfileValueSource which uses system properties as the underlying source. |
org.springframework.util.SystemPropertyUtils |
Helper class for resolving placeholders in texts. Usually applied to file paths. A text may contain |
org.springframework.jdbc.core.metadata.TableMetaDataProviderFactory |
Factory used to create a TableMetaDataProvider implementation based on the type of database being used. |
org.springframework.web.util.TagUtils |
Utility class for tag library related code, exposing functionality such as translating String to web scopes.
|
org.springframework.scheduling.config.TaskExecutorFactoryBean |
FactoryBean for creating ThreadPoolTaskExecutor instances, primarily used behind the XML task namespace. |
org.springframework.messaging.simp.config.TaskExecutorRegistration |
A registration class for customizing the properties of ThreadPoolTaskExecutor. |
org.springframework.scheduling.config.TaskNamespaceHandler |
|
org.springframework.core.task.TaskTimeoutException |
Exception thrown when a AsyncTaskExecutor rejects to accept a given task for execution because of the specified timeout. |
org.springframework.scheduling.support.TaskUtils |
Utility methods for decorating tasks with error handling. NOTE: This class is intended for internal use by Spring's scheduler implementations. It is only public so that it may be accessed from impl classes within other packages. It is not intended for general use. |
org.springframework.expression.common.TemplateAwareExpressionParser |
An expression parser that understands templates. It can be subclassed by expression parsers that do not offer first class support for templating. |
org.springframework.expression.common.TemplateParserContext |
Configurable ParserContext implementation for template parsing. Expects the expression prefix and suffix as constructor arguments. |
org.springframework.format.datetime.standard.TemporalAccessorParser |
Parser implementation for a JSR-310 java.time.temporal.TemporalAccessor, using a java.time.format.DateTimeFormatter) (the contextual one, if available). |
org.springframework.format.datetime.standard.TemporalAccessorPrinter |
Printer implementation for a JSR-310 java.time.temporal.TemporalAccessor, using a java.time.format.DateTimeFormatter) (the contextual one, if available). |
org.springframework.jdbc.support.lob.TemporaryLobCreator |
LobCreator implementation based on temporary LOBs, using JDBC 4.0's Used by DefaultLobHandler's |
org.springframework.expression.spel.ast.Ternary |
Represents a ternary expression, for example: "someCheck()?true:false". |
org.springframework.test.annotation.TestAnnotationUtils |
Collection of utility methods for working with Spring's core testing annotations. |
org.springframework.test.context.util.TestContextResourceUtils |
Utility methods for working with resources within the Spring TestContext Framework. Mainly for internal use within the framework. |
org.springframework.test.context.transaction.TestContextTransactionUtils |
Utility methods for working with transactions and data access related beans within the Spring TestContext Framework. Mainly for internal use within the framework. |
org.springframework.test.context.TestExecutionListener |
Note that not all testing frameworks support all lifecycle callbacks defined in this API. For example, This interface provides empty Concrete implementations must provide a Implementations may optionally declare the position in which they should be ordered among the chain of default listeners via the org.springframework.core.Ordered interface or org.springframework.core.annotation.Order annotation. See Spring provides the following out-of-the-box implementations (all of which implement
|
org.springframework.test.context.support.TestPropertySourceUtils |
Utility methods for working with TestPropertySource and adding test PropertySource to the Primarily intended for use within the framework. |
org.springframework.test.context.transaction.TestTransaction |
Consult the javadocs for TransactionalTestExecutionListener for a detailed explanation of test-managed transactions. Support for |
org.springframework.web.socket.handler.TextWebSocketHandler |
A convenient base class for WebSocketHandler implementations that process text messages only. Binary messages are rejected with |
org.springframework.web.servlet.tags.form.TextareaTag |
The Attribute Summary Attribute Required? Runtime Expression? Description accesskey false true HTML Standard Attribute cols false true HTML Required Attribute cssClass false true HTML Optional Attribute cssErrorClass false true HTML Optional Attribute. Used when the bound field has errors. cssStyle false true HTML Optional Attribute dir false true HTML Standard Attribute disabled false true HTML Optional Attribute. Setting the value of this attribute to 'true' will disable the HTML element. htmlEscape false true Enable/disable HTML escaping of rendered values. id false true HTML Standard Attribute lang false true HTML Standard Attribute onblur false true HTML Event Attribute onchange false true HTML Event Attribute onclick false true HTML Event Attribute ondblclick false true HTML Event Attribute onfocus false true HTML Event Attribute onkeydown false true HTML Event Attribute onkeypress false true HTML Event Attribute onkeyup false true HTML Event Attribute onmousedown false true HTML Event Attribute onmousemove false true HTML Event Attribute onmouseout false true HTML Event Attribute onmouseover false true HTML Event Attribute onmouseup false true HTML Event Attribute onselect false true HTML Event Attribute path true true Path to property for data binding readonly false true HTML Optional Attribute. Setting the value of this attribute to 'true' will make the HTML element readonly. rows false true HTML Required Attribute tabindex false true HTML Standard Attribute title false true HTML Standard Attribute |
org.springframework.web.servlet.theme.ThemeChangeInterceptor |
Interceptor that allows for changing the current theme on every request, via a configurable request parameter (default parameter name: "theme"). |
org.springframework.ui.context.ThemeSource |
Interface to be implemented by objects that can resolve Theme. This enables parameterization and internationalization of messages for a given 'theme'. |
org.springframework.web.servlet.tags.ThemeTag |
The Regards a HTML escaping setting, either on this tag instance, the page level, or the web.xml level. If "code" isn't set or cannot be resolved, "text" will be used as default message. Message arguments can be specified via the |
org.springframework.aop.target.ThreadLocalTargetSource |
Alternative to an object pool. This org.springframework.aop.TargetSource uses a threading model in which every thread has its own copy of the target. There's no contention for targets. Target object creation is kept to a minimum on the running server. Application code is written as to a normal pool; callers can't assume they will be dealing with the same instance in invocations in different threads. However, state can be relied on during the operations of a single thread: for example, if one caller makes repeated calls on the AOP proxy. Cleanup of thread-bound objects is performed on BeanFactory destruction, calling their |
org.springframework.aop.target.ThreadLocalTargetSourceStats |
Statistics for a ThreadLocal TargetSource. |
org.springframework.scheduling.concurrent.ThreadPoolExecutorFactoryBean |
JavaBean that allows for configuring a java.util.concurrent.ThreadPoolExecutor in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a bean reference of its native java.util.concurrent.ExecutorService type. For an alternative, you may set up a ThreadPoolExecutor instance directly using constructor injection, or use a factory method definition that points to the java.util.concurrent.Executors class. This is strongly recommended in particular for common If you need a timing-based java.util.concurrent.ScheduledExecutorService instead, consider ScheduledExecutorFactoryBean. |
org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler |
Implementation of Spring's TaskScheduler interface, wrapping a native java.util.concurrent.ScheduledThreadPoolExecutor. |
org.springframework.aop.ThrowsAdvice |
Tag interface for throws advice. There are not any methods on this interface, as methods are invoked by reflection. Implementing classes must implement methods of the form:
Some examples of valid methods would be: The first three arguments are optional, and only useful if we want further information about the joinpoint, as in AspectJ after-throwing advice.
Note: If a throws-advice method throws an exception itself, it will override the original exception (i.e. change the exception thrown to the user). The overriding exception will typically be a RuntimeException; this is compatible with any method signature. However, if a throws-advice method throws a checked exception, it will have to match the declared exceptions of the target method and is hence to some degree coupled to specific target method signatures. Do not throw an undeclared checked exception that is incompatible with the target method's signature! |
org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor |
Interceptor to wrap an after-throwing advice. The signatures on handler methods on the Only the last argument is required. Some examples of valid methods would be:
This is a framework class that need not be used directly by Spring users. |
org.springframework.web.servlet.view.tiles3.TilesConfigurer |
Helper class to configure Tiles 3.x for the Spring Framework. See http://tiles.apache.org for more information about Tiles, which basically is a templating mechanism for web applications using JSPs and other template engines. The TilesConfigurer simply configures a TilesContainer using a set of files containing definitions, to be accessed by TilesView instances. This is a Spring-based alternative (for usage in Spring configuration) to the Tiles-provided TilesViews can be managed by any org.springframework.web.servlet.ViewResolver. For simple convention-based view resolution, consider using TilesViewResolver. A typical TilesConfigurer bean definition looks as follows: The values in the list are the actual Tiles XML files containing the definitions. If the list is not specified, the default is "/WEB-INF/tiles.xml" .
Note that in Tiles 3 an underscore in the name of a file containing Tiles definitions is used to indicate locale information, for example:
|
org.springframework.web.servlet.config.TilesConfigurerBeanDefinitionParser |
Parse the MVC namespace element and register a corresponding TilesConfigurer bean. |
org.springframework.web.servlet.view.tiles3.TilesViewResolver |
Convenience subclass of UrlBasedViewResolver that supports TilesView (i.e. Tiles definitions) and custom subclasses of it. |
org.springframework.beans.propertyeditors.TimeZoneEditor |
Editor for |
org.springframework.test.annotation.Timed |
Test-specific annotation to indicate that a test method has to finish execution in a specified time period. If the text execution takes longer than the specified time period, then the test is considered to have failed. Note that the time period includes execution of the test method itself, any Repeat of the test, and any set up or tear down of the test fixture. As of Spring Framework 4.0, this annotation may be used as a meta-annotation to create custom composed annotations. |
org.springframework.web.context.request.async.TimeoutCallableProcessingInterceptor |
Sends a 503 (SERVICE_UNAVAILABLE) in case of a timeout if the response is not already committed. As of 4.2.8 this is done indirectly by setting the result to an AsyncRequestTimeoutException which is then handled by Spring MVC's default exception handling as a 503 error. Registered at the end, after all other interceptors and therefore invoked only if no other interceptor handles the timeout. Note that according to RFC 7231, a 503 without a 'Retry-After' header is interpreted as a 500 error and the client should not retry. Applications can install their own interceptor to handle a timeout and add a 'Retry-After' header if necessary. |
org.springframework.web.context.request.async.TimeoutDeferredResultProcessingInterceptor |
Sends a 503 (SERVICE_UNAVAILABLE) in case of a timeout if the response is not already committed. As of 4.2.8 this is done indirectly by returning AsyncRequestTimeoutException as the result of processing which is then handled by Spring MVC's default exception handling as a 503 error. Registered at the end, after all other interceptors and therefore invoked only if no other interceptor handles the timeout. Note that according to RFC 7231, a 503 without a 'Retry-After' header is interpreted as a 500 error and the client should not retry. Applications can install their own interceptor to handle a timeout and add a 'Retry-After' header if necessary. |
org.springframework.scheduling.commonj.TimerManagerAccessor |
Base class for classes that are accessing a CommonJ commonj.timers.TimerManager Defines common configuration settings and common lifecycle handling. |
org.springframework.scheduling.commonj.TimerManagerFactoryBean |
org.springframework.beans.factory.FactoryBean that retrieves a CommonJ commonj.timers.TimerManager and exposes it for bean references. This is the central convenience class for setting up a CommonJ TimerManager in a Spring context. Allows for registration of ScheduledTimerListeners. This is the main purpose of this class; the TimerManager itself could also be fetched from JNDI via org.springframework.jndi.JndiObjectFactoryBean. In scenarios that just require static registration of tasks at startup, there is no need to access the TimerManager itself in application code. Note that the TimerManager uses a TimerListener instance that is shared between repeated executions, in contrast to Quartz which instantiates a new Job for each execution. |
org.springframework.scheduling.commonj.TimerManagerTaskScheduler |
Implementation of Spring's TaskScheduler interface, wrapping a CommonJ commonj.timers.TimerManager. |
org.springframework.core.style.ToStringCreator |
Utility class that builds pretty-printing |
org.springframework.http.server.reactive.TomcatHttpHandlerAdapter |
ServletHttpHandlerAdapter extension that uses Tomcat APIs for reading from the request and writing to the response with ByteBuffer. |
org.springframework.instrument.classloading.tomcat.TomcatLoadTimeWeaver |
org.springframework.instrument.classloading.LoadTimeWeaver implementation for Tomcat's new |
org.springframework.web.reactive.socket.server.upgrade.TomcatRequestUpgradeStrategy |
A RequestUpgradeStrategy for use with Tomcat. |
org.springframework.web.socket.server.standard.TomcatRequestUpgradeStrategy |
A WebSocket To modify properties of the underlying javax.websocket.server.ServerContainer you can use ServletServerContainerFactoryBean in XML configuration or, when using Java configuration, access the container instance through the "javax.websocket.server.ServerContainer" ServletContext attribute. |
org.springframework.web.reactive.socket.client.TomcatWebSocketClient |
WebSocketClient implementation for use with the Java WebSocket API. |
org.springframework.transaction.interceptor.TransactionAttributeEditor |
PropertyEditor for TransactionAttribute objects. Accepts a String of form
where only propagation code is required. For example:
The tokens can be in any order. Propagation and isolation codes must use the names of the constants in the TransactionDefinition class. Timeout values are in seconds. If no timeout is specified, the transaction manager will apply a default timeout specific to the particular transaction manager. A "+" before an exception name substring indicates that transactions should commit even if this exception is thrown; a "-" that they should roll back. |
org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor |
Advisor driven by a TransactionAttributeSource, used to include a TransactionInterceptor only for methods that are transactional. Because the AOP framework caches advice calculations, this is normally faster than just letting the TransactionInterceptor run and find out itself that it has no work to do. |
org.springframework.transaction.interceptor.TransactionAttributeSourceEditor |
Property editor that converts a String into a TransactionAttributeSource. The transaction attribute string must be parseable by the TransactionAttributeEditor in this package. Strings are in property syntax, with the form: For example: NOTE: The specified class must be the one where the methods are defined; in case of implementing an interface, the interface class name. Note: Will register all overloaded methods for a given name. Does not support explicit registration of certain overloaded methods. Supports "xxx*" mappings, e.g. "notify*" for "notify" and "notifyAll". |
org.springframework.cache.transaction.TransactionAwareCacheDecorator |
Cache decorator which synchronizes its Use of more aggressive operations such as |
org.springframework.cache.transaction.TransactionAwareCacheManagerProxy |
Proxy for a target CacheManager, exposing transaction-aware Cache objects which synchronize their |
org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy |
Proxy for a target JMS javax.jms.ConnectionFactory, adding awareness of Spring-managed transactions. Similar to a transactional JNDI ConnectionFactory as provided by a Java EE application server. Messaging code which should remain unaware of Spring's JMS support can work with this proxy to seamlessly participate in Spring-managed transactions. Note that the transaction manager, for example JmsTransactionManager, still needs to work with the underlying ConnectionFactory, not with this proxy. Make sure that TransactionAwareConnectionFactoryProxy is the outermost ConnectionFactory of a chain of ConnectionFactory proxies/adapters. TransactionAwareConnectionFactoryProxy can delegate either directly to the target factory or to some intermediary adapter like UserCredentialsConnectionFactoryAdapter. Delegates to ConnectionFactoryUtils for automatically participating in thread-bound transactions, for example managed by JmsTransactionManager. Note that transactional JMS Sessions will be registered on a per-Connection basis. To share the same JMS Session across a transaction, make sure that you operate on the same JMS Connection handle - either through reusing the handle or through configuring a SingleConnectionFactory underneath. Returned transactional Session proxies will implement the SessionProxy interface to allow for access to the underlying target Session. This is only intended for accessing vendor-specific Session API or for testing purposes (e.g. to perform manual transaction control). For typical application purposes, simply use the standard JMS Session interface. |
org.springframework.jca.cci.connection.TransactionAwareConnectionFactoryProxy |
Proxy for a target CCI javax.resource.cci.ConnectionFactory, adding awareness of Spring-managed transactions. Similar to a transactional JNDI ConnectionFactory as provided by a Java EE server. Data access code that should remain unaware of Spring's data access support can work with this proxy to seamlessly participate in Spring-managed transactions. Note that the transaction manager, for example the CciLocalTransactionManager, still needs to work with underlying ConnectionFactory, not with this proxy. Make sure that TransactionAwareConnectionFactoryProxy is the outermost ConnectionFactory of a chain of ConnectionFactory proxies/adapters. TransactionAwareConnectionFactoryProxy can delegate either directly to the target connection pool or to some intermediate proxy/adapter like ConnectionSpecConnectionFactoryAdapter. Delegates to ConnectionFactoryUtils for automatically participating in thread-bound transactions, for example managed by CciLocalTransactionManager. This proxy allows data access code to work with the plain JCA CCI API and still participate in Spring-managed transactions, similar to CCI code in a Java EE/JTA environment. However, if possible, use Spring's ConnectionFactoryUtils, CciTemplate or CCI operation objects to get transaction participation even without a proxy for the target ConnectionFactory, avoiding the need to define such a proxy in the first place. NOTE: This ConnectionFactory proxy needs to return wrapped Connections in order to handle close calls properly. Therefore, the returned Connections cannot be cast to a native CCI Connection type or to a connection pool implementation type. |
org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy |
Proxy for a target JDBC javax.sql.DataSource, adding awareness of Spring-managed transactions. Similar to a transactional JNDI DataSource as provided by a Java EE server. Data access code that should remain unaware of Spring's data access support can work with this proxy to seamlessly participate in Spring-managed transactions. Note that the transaction manager, for example DataSourceTransactionManager, still needs to work with the underlying DataSource, not with this proxy. Make sure that TransactionAwareDataSourceProxy is the outermost DataSource of a chain of DataSource proxies/adapters. TransactionAwareDataSourceProxy can delegate either directly to the target connection pool or to some intermediary proxy/adapter like LazyConnectionDataSourceProxy or UserCredentialsDataSourceAdapter. Delegates to DataSourceUtils for automatically participating in thread-bound transactions, for example managed by DataSourceTransactionManager. This proxy allows data access code to work with the plain JDBC API and still participate in Spring-managed transactions, similar to JDBC code in a Java EE/JTA environment. However, if possible, use Spring's DataSourceUtils, JdbcTemplate or JDBC operation objects to get transaction participation even without a proxy for the target DataSource, avoiding the need to define such a proxy in the first place. As a further effect, using a transaction-aware DataSource will apply remaining transaction timeouts to all created JDBC (Prepared/Callable)Statement. This means that all operations performed through standard JDBC will automatically participate in Spring-managed transaction timeouts. NOTE: This DataSource proxy needs to return wrapped Connections (which implement the ConnectionProxy interface) in order to handle close calls properly. Use |
org.springframework.transaction.support.TransactionCallbackWithoutResult |
Simple convenience class for TransactionCallback implementation. Allows for implementing a doInTransaction version without result, i.e. without the need for a return statement. |
org.springframework.jms.TransactionInProgressException |
Runtime exception mirroring the JMS TransactionInProgressException. |
org.springframework.transaction.support.TransactionOperations |
Interface specifying basic transaction execution operations. Implemented by TransactionTemplate. Not often used directly, but a useful option to enhance testability, as it can easily be mocked or stubbed. |
org.springframework.transaction.event.TransactionPhase |
The phase at which a transactional event listener applies. |
org.springframework.jms.TransactionRolledBackException |
Runtime exception mirroring the JMS TransactionRolledBackException. |
org.springframework.transaction.TransactionSuspensionNotSupportedException |
Exception thrown when attempting to suspend an existing transaction but transaction suspension is not supported by the underlying backend. |
org.springframework.transaction.support.TransactionSynchronizationUtils |
Utility methods for triggering specific TransactionSynchronization callback methods on all currently registered synchronizations. |
org.springframework.transaction.TransactionSystemException |
Exception thrown when a general transaction system error is encountered, like on commit or rollback. |
org.springframework.transaction.support.TransactionTemplate |
Template class that simplifies programmatic transaction demarcation and transaction exception handling. The central method is Typical usage: Allows for writing low-level data access objects that use resources such as JDBC DataSources but are not transaction-aware themselves. Instead, they can implicitly participate in transactions handled by higher-level application services utilizing this class, making calls to the low-level services via an inner-class callback object. Can be used within a service implementation via direct instantiation with a transaction manager reference, or get prepared in an application context and passed to services as bean reference. Note: The transaction manager should always be configured as bean in the application context: in the first case given to the service directly, in the second case given to the prepared template. Supports setting the propagation behavior and the isolation level by name, for convenient configuration in context definitions. |
org.springframework.transaction.TransactionTimedOutException |
Exception to be thrown when a transaction has timed out. Thrown by Spring's local transaction strategies if the deadline for a transaction has been reached when an operation is attempted, according to the timeout specified for the given transaction. Beyond such checks before each transactional operation, Spring's local transaction strategies will also pass appropriate timeout values to resource operations (for example to JDBC Statements, letting the JDBC driver respect the timeout). Such operations will usually throw native resource exceptions (for example, JDBC SQLExceptions) if their operation timeout has been exceeded, to be converted to Spring's DataAccessException in the respective DAO (which might use Spring's JdbcTemplate, for example). In a JTA environment, it is up to the JTA transaction coordinator to apply transaction timeouts. Usually, the corresponding JTA-aware connection pool will perform timeout checks and throw corresponding native resource exceptions (for example, JDBC SQLExceptions). |
org.springframework.transaction.event.TransactionalEventListener |
An EventListener that is invoked according to a TransactionPhase. If the event is not published within the boundaries of a managed transaction, the event is discarded unless the Adding org.springframework.core.annotation.Order to your annotated method allows you to prioritize that listener amongst other listeners running before or after transaction completion. |
org.springframework.transaction.interceptor.TransactionalProxy |
A marker interface for manually created transactional proxies. TransactionAttributeSourcePointcut will ignore such existing transactional proxies during AOP auto-proxying and therefore avoid re-processing transaction metadata on them. |
org.springframework.web.servlet.tags.TransformTag |
The The BindTag has a PropertyEditor that it uses to transform properties of a bean to a String, usable in HTML forms. This tag uses that PropertyEditor to transform objects passed into this tag. Attribute Summary Attribute Required? Runtime Expression? Description htmlEscape false true Set HTML escaping for this tag, as boolean value. Overrides the default HTML escaping setting for the current page. scope false true The scope to use when exported the result to a variable. This attribute is only used when var is also set. Possible values are page, request, session and application. value true true The value to transform. This is the actual object you want to have transformed (for instance a Date). Using the PropertyEditor that is currently in use by the 'spring:bind' tag. var false true The string to use when binding the result to the page, request, session or application scope. If not specified, the result gets outputted to the writer (i.e. typically directly to the JSP). |
org.springframework.web.reactive.resource.TransformedResource |
An extension of ByteArrayResource that a ResourceTransformer can use to represent an original resource preserving all other information except the content. |
org.springframework.web.servlet.resource.TransformedResource |
An extension of ByteArrayResource that a ResourceTransformer can use to represent an original resource preserving all other information except the content. |
org.springframework.util.xml.TransformerUtils |
Contains common behavior relating to javax.xml.transform.Transformer, and the |
org.springframework.dao.TransientDataAccessResourceException |
Data access exception thrown when a resource fails temporarily and the operation can be retried. |
org.springframework.web.socket.sockjs.client.Transport |
A client-side implementation for a SockJS transport. |
org.springframework.transaction.config.TxNamespaceHandler |
This namespace handler is the central piece of functionality in the Spring transaction management facilities and offers two approaches to declaratively manage transactions. One approach uses transaction semantics defined in XML using the |
org.springframework.asm.Type |
A Java field or method type. This class can be used to make it easier to manipulate type and method descriptors. |
org.springframework.expression.spel.ast.TypeCode |
Captures primitive types and their corresponding class objects, plus one special entry that represents all reference (non-primitive) types. |
org.springframework.dao.TypeMismatchDataAccessException |
Exception thrown on mismatch between Java type and database type: for example on an attempt to set an object of the wrong type in an RDBMS column. |
org.springframework.beans.TypeMismatchException |
Exception thrown on a type mismatch when trying to set a bean property. |
org.springframework.jndi.TypeMismatchNamingException |
Exception thrown if a type mismatch is encountered for an object located in a JNDI environment. Thrown by JndiTemplate. |
org.springframework.aop.aspectj.TypePatternClassFilter |
Spring AOP ClassFilter implementation using AspectJ type matching. |
org.springframework.asm.TypeReference |
A reference to a type appearing in a class, field or method declaration, or on an instruction. Such a reference designates the part of the class where the referenced type is appearing (e.g. an 'extends', 'implements' or 'throws' clause, a 'new' instruction, a 'catch' clause, a type cast, a local variable declaration, etc). |
org.springframework.expression.spel.ast.TypeReference |
Represents a reference to a type, for example "T(String)" or "T(com.somewhere.Foo)" |
org.springframework.util.TypeUtils |
Utility to work with Java 5 generic type parameters. Mainly for internal use within the framework. |
org.springframework.beans.factory.config.TypedStringValue |
Holder for a typed String value. Can be added to bean definitions in order to explicitly specify a target type for a String value, for example for collection elements. This holder will just store the String value and the target type. The actual conversion will be performed by the bean factory. |
org.springframework.beans.propertyeditors.URIEditor |
Editor for Supports Spring-style URI notation: any fully qualified standard URI ("file:", "http:", etc) and Spring's special "classpath:" pseudo-URL, which will be resolved to a corresponding URI. By default, this editor will encode Strings into URIs. For instance, a space will be encoded into Note: A URI is more relaxed than a URL in that it does not require a valid protocol to be specified. Any scheme within a valid URI syntax is allowed, even without a matching protocol handler being registered. |
org.springframework.beans.propertyeditors.URLEditor |
Editor for Supports Spring-style URL notation: any fully qualified standard URL ("file:", "http:", etc) and Spring's special "classpath:" pseudo-URL, as well as Spring's context-specific relative file paths. Note: A URL must specify a valid protocol, else it will be rejected upfront. However, the target resource does not necessarily have to exist at the time of URL creation; this depends on the specific resource type. |
org.springframework.beans.propertyeditors.UUIDEditor |
Editor for |
org.springframework.ui.context.support.UiApplicationContextUtils |
Utility class for UI application context implementations. Provides support for a special bean named "themeSource", of type org.springframework.ui.context.ThemeSource. |
org.springframework.jmx.export.UnableToRegisterMBeanException |
Exception thrown when we are unable to register an MBean, for example because of a naming conflict. |
org.springframework.jmx.export.notification.UnableToSendNotificationException |
Thrown when a JMX javax.management.Notification is unable to be sent. The root cause of just why a particular notification could not be sent will typically be available via the |
org.springframework.jms.UncategorizedJmsException |
JmsException to be thrown when no other matching subclass found. |
org.springframework.jdbc.UncategorizedSQLException |
Exception thrown when we can't classify a SQLException into one of our generic data access exceptions. |
org.springframework.jdbc.datasource.init.UncategorizedScriptException |
Thrown when we cannot determine anything more specific than "something went wrong while processing an SQL script": for example, a java.sql.SQLException from JDBC that we cannot pinpoint more precisely. |
org.springframework.http.server.reactive.UndertowHttpHandlerAdapter |
Adapt HttpHandler to the Undertow io.undertow.server.HttpHandler. |
org.springframework.web.reactive.socket.server.upgrade.UndertowRequestUpgradeStrategy |
A RequestUpgradeStrategy for use with Undertow. |
org.springframework.web.socket.server.standard.UndertowRequestUpgradeStrategy |
A WebSocket Requires Undertow 1.3.5+ as of Spring Framework 5.0. |
org.springframework.web.reactive.socket.client.UndertowWebSocketClient |
Undertow based implementation of WebSocketClient. |
org.springframework.web.reactive.socket.adapter.UndertowWebSocketHandlerAdapter |
Undertow WebSocketConnectionCallback implementation that adapts and delegates to a Spring WebSocketHandler. |
org.springframework.web.reactive.socket.adapter.UndertowWebSocketSession |
Spring WebSocketSession implementation that adapts to an Undertow io.undertow.websockets.core.WebSocketChannel. |
org.springframework.web.socket.sockjs.client.UndertowXhrTransport |
An XHR transport based on Undertow's io.undertow.client.UndertowClient. Requires Undertow 1.3 or 1.4, including XNIO, as of Spring Framework 5.0. When used for testing purposes (e.g. load testing) or for specific use cases (like HTTPS configuration), a custom OptionMap should be provided:
|
org.springframework.transaction.UnexpectedRollbackException |
Thrown when an attempt to commit a transaction resulted in an unexpected rollback. |
org.springframework.aop.framework.adapter.UnknownAdviceTypeException |
Exception thrown when an attempt is made to use an unsupported Advisor or Advice type. |
org.springframework.web.client.UnknownHttpStatusCodeException |
Exception thrown when an unknown (or custom) HTTP status code is received. |
org.springframework.test.web.client.UnorderedRequestExpectationManager |
|
org.springframework.beans.factory.UnsatisfiedDependencyException |
Exception thrown when a bean depends on other beans or simple properties that were not specified in the bean factory definition, although dependency checking was enabled. |
org.springframework.web.bind.UnsatisfiedServletRequestParameterException |
ServletRequestBindingException subclass that indicates an unsatisfied parameter condition, as typically expressed using an |
org.springframework.web.server.UnsupportedMediaTypeStatusException |
Exception for errors that fit response status 416 (unsupported media type). |
org.springframework.jdbc.object.UpdatableSqlQuery |
Reusable RDBMS query in which concrete subclasses must implement the abstract updateRow(ResultSet, int, context) method to update each row of the JDBC ResultSet and optionally map contents into an object. Subclasses can be constructed providing SQL, parameter types and a DataSource. SQL will often vary between subclasses. |
org.springframework.web.servlet.mvc.method.annotation.UriComponentsBuilderMethodArgumentResolver |
Resolvers argument values of type UriComponentsBuilder. The returned instance is initialized via |
org.springframework.web.util.UriTemplate |
Represents a URI template. A URI template is a URI-like String that contains variables enclosed by braces ( See This class is designed to be thread-safe and reusable, allowing for any number of expand or match calls. |
org.springframework.web.util.UriUtils |
Utility class for URI encoding and decoding based on RFC 3986. Offers encoding methods for the various URI components. All
|
org.springframework.web.cors.UrlBasedCorsConfigurationSource |
Provide a per request CorsConfiguration instance based on a collection of CorsConfiguration mapped on path patterns. Exact path mapping URIs (such as |
org.springframework.web.cors.reactive.UrlBasedCorsConfigurationSource |
Provide a per reactive request CorsConfiguration instance based on a collection of CorsConfiguration mapped on path patterns. Exact path mapping URIs (such as |
org.springframework.web.reactive.config.UrlBasedViewResolverRegistration |
Assist with configuring properties of a UrlBasedViewResolver. |
org.springframework.web.servlet.config.annotation.UrlBasedViewResolverRegistration |
Assist with configuring a org.springframework.web.servlet.view.UrlBasedViewResolver. |
org.springframework.web.servlet.mvc.UrlFilenameViewController |
Simple Can optionally prepend a Find some examples below:
Thanks to David Barri for suggesting prefix/suffix support! |
org.springframework.test.web.servlet.htmlunit.UrlRegexRequestMatcher |
A WebRequestMatcher that allows matching on For example, if you would like to match on the domain
|
org.springframework.web.servlet.tags.UrlTag |
The Enhancements to the JSTL functionality include:
Template URI variables are indicated in the Use of the spring:param tag for URI template variables is strongly recommended over direct EL substitution as the values are URL encoded. Failure to properly encode URL can leave an application vulnerable to XSS and other injection attacks. URLs can be HTML/XML escaped by setting the Example usage:
The above results in: |
org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter |
An adapter for a target JMS javax.jms.ConnectionFactory, applying the given user credentials to every standard Can be used to proxy a target JNDI ConnectionFactory that does not have user credentials configured. Client code can work with the ConnectionFactory without passing in username and password on every In the following example, client code can simply transparently work with the preconfigured "myConnectionFactory", implicitly accessing "myTargetConnectionFactory" with the specified user credentials.
If the "username" is empty, this proxy will simply delegate to the standard |
org.springframework.messaging.simp.user.UserDestinationResult |
Contains the result from parsing a "user" destination from a source message and translating it to target destinations (one per active user session). |
org.springframework.web.servlet.handler.UserRoleAuthorizationInterceptor |
Interceptor that checks the authorization of the current user via the user's roles, as evaluated by HttpServletRequest's isUserInRole method. |
org.springframework.transaction.jta.UserTransactionAdapter |
Adapter for a JTA UserTransaction handle, taking a JTA javax.transaction.TransactionManager reference and creating a JTA javax.transaction.UserTransaction handle for it. The JTA UserTransaction interface is an exact subset of the JTA TransactionManager interface. Unfortunately, it does not serve as super-interface of TransactionManager, though, which requires an adapter such as this class to be used when intending to talk to a TransactionManager handle through the UserTransaction interface. Used internally by Spring's JtaTransactionManager for certain scenarios. Not intended for direct use in application code. |
org.springframework.lang.UsesJava7 |
Indicates that the annotated element uses Java 7 specific API constructs, without implying that it strictly requires Java 7. |
org.springframework.lang.UsesJava8 |
Indicates that the annotated element uses Java 8 specific API constructs, without implying that it strictly requires Java 8. |
org.springframework.lang.UsesSunMisc |
Indicates that the annotated element uses an API from the |
org.springframework.beans.factory.xml.UtilNamespaceHandler |
NamespaceHandler for the |
org.springframework.validation.annotation.Validated |
Variant of JSR-303's javax.validation.Valid, supporting the specification of validation groups. Designed for convenient use with Spring's JSR-303 support but not JSR-303 specific. Can be used e.g. with Spring MVC handler methods arguments. Supported through org.springframework.validation.SmartValidator's validation hint concept, with validation group classes acting as hint objects. Can also be used with method level validation, indicating that a specific class is supposed to be validated at the method level (acting as a pointcut for the corresponding validation interceptor), but also optionally specifying the validation groups for method-level validation in the annotated class. Applying this annotation at the method level allows for overriding the validation groups for a specific method but does not serve as a pointcut; a class-level annotation is nevertheless necessary to trigger method validation for a specific bean to begin with. Can also be used as a meta-annotation on a custom stereotype annotation or a custom group-specific validated annotation. |
org.springframework.oxm.ValidationFailureException |
Exception thrown on marshalling validation failure. |
org.springframework.validation.ValidationUtils |
Utility class offering convenient methods for invoking a Validator and for rejecting empty fields. Checks for an empty field in |
org.springframework.beans.factory.annotation.Value |
Annotation at the field or method/constructor parameter level that indicates a default value expression for the affected argument. Typically used for expression-driven dependency injection. Also supported for dynamic resolution of handler method parameters, e.g. in Spring MVC. A common use case is to assign default field values using "#{systemProperties.myProp}" style expressions. Note that actual processing of the |
org.springframework.messaging.handler.annotation.ValueConstants |
Common annotation value constants. |
org.springframework.web.bind.annotation.ValueConstants |
Common value constants shared between bind annotations. |
org.springframework.expression.spel.ast.VariableReference |
Represents a variable reference, eg. #someVar. Note this is different to a *local* variable like $someVar |
org.springframework.web.reactive.resource.VersionResourceResolver |
Resolves request paths containing a version string that can be used as part of an HTTP caching strategy in which a resource is cached with a date in the distant future (e.g. 1 year) and cached until the version, and therefore the URL, is changed. Different versioning strategies exist, and this resolver must be configured with one or more such strategies along with path mappings to indicate which strategy applies to which resources.
Note that using this resolver to serve CSS files means that the CssLinkResourceTransformer should also be used in order to modify links within CSS files to also contain the appropriate versions generated by this resolver. |
org.springframework.web.servlet.resource.VersionResourceResolver |
Resolves request paths containing a version string that can be used as part of an HTTP caching strategy in which a resource is cached with a date in the distant future (e.g. 1 year) and cached until the version, and therefore the URL, is changed. Different versioning strategies exist, and this resolver must be configured with one or more such strategies along with path mappings to indicate which strategy applies to which resources.
Note that using this resolver to serve CSS files means that the CssLinkResourceTransformer should also be used in order to modify links within CSS files to also contain the appropriate versions generated by this resolver. |
org.springframework.web.reactive.resource.VersionStrategy |
A strategy to determine the version of a static resource and to apply and/or extract it from the URL path. |
org.springframework.core.io.VfsUtils |
Utility for detecting and accessing JBoss VFS in the classpath. As of Spring 4.0, this class supports VFS 3.x on JBoss AS 6+ (package Thanks go to Marius Bogoevici for the initial patch. Note: This is an internal class and should not be used outside the framework. |
org.springframework.web.servlet.config.annotation.ViewControllerRegistration |
Assist with the registration of a single view controller. |
org.springframework.web.servlet.mvc.method.annotation.ViewMethodReturnValueHandler |
Handles return values that are of type View. A A View return type has a set purpose. Therefore this handler should be configured ahead of handlers that support any return value type annotated with |
org.springframework.web.servlet.mvc.method.annotation.ViewNameMethodReturnValueHandler |
Handles return values of types A A String return value can be interpreted in more than one ways depending on the presence of annotations like |
org.springframework.web.servlet.config.ViewResolversBeanDefinitionParser |
Parse the All registered resolvers are wrapped in a single (composite) ViewResolver with its order property set to 0 so that other external resolvers may be ordered before or after it. When content negotiation is enabled the order property is set to highest priority instead with the ContentNegotiatingViewResolver encapsulating all other registered view resolver instances. That way the resolvers registered through the MVC namespace form self-encapsulated resolver chain. |
org.springframework.test.web.servlet.result.ViewResultMatchers |
Factory for assertions on the selected view. An instance of this class is typically accessed via |
org.springframework.instrument.classloading.WeavingTransformer |
ClassFileTransformer-based weaver, allowing for a list of transformers to be applied on a class byte array. Normally used inside class loaders. Note: This class is deliberately implemented for minimal external dependencies, since it is included in weaver jars (to be deployed into application servers). |
org.springframework.test.context.web.WebAppConfiguration |
The presence of Note that As of Spring Framework 4.0, this annotation may be used as a meta-annotation to create custom composed annotations. |
org.springframework.web.util.WebAppRootListener |
Listener that sets a system property to the web application root directory. The key of the system property can be defined with the "webAppRootKey" init parameter at the servlet context level (i.e. context-param in web.xml), the default key is "webapp.root". Can be used for toolkits that support substitution with system properties (i.e. System.getProperty values), like log4j's "${key}" syntax within log file locations. Note: This listener should be placed before ContextLoaderListener in WARNING: Some containers, e.g. Tomcat, do NOT keep system properties separate per web app. You have to use unique "webAppRootKey" context-params per web app then, to avoid clashes. Other containers like Resin do isolate each web app's system properties: Here you can use the default key (i.e. no "webAppRootKey" context-param at all) without worrying. WARNING: The WAR file containing the web application needs to be expanded to allow for setting the web app root system property. This is by default not the case when a WAR file gets deployed to WebLogic, for example. Do not use this listener in such an environment! |
org.springframework.web.jsf.el.WebApplicationContextFacesELResolver |
Special JSF In contrast to SpringBeanFacesELResolver, this ELResolver variant does not resolve JSF variable names as Spring bean names. It rather exposes Spring's root WebApplicationContext itself under a special name, and is able to resolve "webApplicationContext.mySpringManagedBusinessObject" dereferences to Spring-defined beans in that application context. Configure this resolver in your
|
org.springframework.web.context.support.WebApplicationContextUtils |
Convenience methods for retrieving the root WebApplicationContext for a given ServletContext. This is useful for programmatically accessing a Spring application context from within custom web views or MVC actions. Note that there are more convenient ways of accessing the root context for many web frameworks, either part of Spring or available as an external library. This helper class is just the most generic way to access the root context. |
org.springframework.web.WebApplicationInitializer |
Interface to be implemented in Servlet 3.0+ environments in order to configure the ServletContext programmatically -- as opposed to (or possibly in conjunction with) the traditional Implementations of this SPI will be detected automatically by , which itself is bootstrapped automatically by any Servlet 3.0 container. See SpringServletContainerInitializer for details on this bootstrapping mechanism. Example The traditional, XML-based approach Most Spring users building a web application will need to register Spring'sDispatcherServlet . For reference, in WEB-INF/web.xml, this would typically be done as follows: The code-based approach with WebApplicationInitializer Here is the equivalent DispatcherServlet registration logic, WebApplicationInitializer -style: As an alternative to the above, you can also extend from . As you can see, thanks to Servlet 3.0's new ServletContext#addServlet method we're actually registering an instance of the DispatcherServlet , and this means that the DispatcherServlet can now be treated like any other object -- receiving constructor injection of its application context in this case.
This style is both simpler and more concise. There is no concern for dealing with init-params, etc, just normal JavaBean-style properties and constructor arguments. You are free to create and work with your Spring application contexts as necessary before injecting them into the Most major Spring Web components have been updated to support this style of registration. You'll find that WEB-INF/web.xml was successfully replaced with code in the form of a WebApplicationInitializer , but the actual dispatcher-config.xml Spring configuration remained XML-based. WebApplicationInitializer is a perfect fit for use with Spring's code-based @Configuration classes. See @ Javadoc for complete details, but the following example demonstrates refactoring to use Spring's org.springframework.web.context.support.AnnotationConfigWebApplicationContext in lieu of XmlWebApplicationContext , and user-defined @Configuration classes AppConfig and DispatcherConfig instead of Spring XML files. This example also goes a bit beyond those above to demonstrate typical configuration of the 'root' application context and registration of the ContextLoaderListener : As an alternative to the above, you can also extend from . Remember that WebApplicationInitializer implementations are detected automatically -- so you are free to package them within your application as you see fit. Ordering WebApplicationInitializer execution WebApplicationInitializer implementations may optionally be annotated at the class level with Spring's @org.springframework.core.annotation.Order annotation or may implement Spring's org.springframework.core.Ordered interface. If so, the initializers will be ordered prior to invocation. This provides a mechanism for users to ensure the order in which servlet container initialization occurs. Use of this feature is expected to be rare, as typical applications will likely centralize all container initialization within a single WebApplicationInitializer . Caveats web.xml versioning
Apache Tomcat maps its internal |
org.springframework.web.bind.support.WebArgumentResolver |
SPI for resolving custom arguments for a specific handler method parameter. Typically implemented to detect special parameter types, resolving well-known argument values for them. A typical implementation could look like as follows:
|
org.springframework.web.context.request.async.WebAsyncTask |
Holder for a Callable, a timeout value, and a task executor. |
org.springframework.web.context.request.async.WebAsyncUtils |
Utility methods related to processing asynchronous web requests. |
org.springframework.web.reactive.function.client.WebClientResponseException |
Exceptions that contain actual HTTP response data. |
org.springframework.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver |
This is useful because it allows a org.springframework.test.web.servlet.htmlunit.MockMvcWebConnection to be injected. |
org.springframework.web.servlet.mvc.WebContentInterceptor |
Handler interceptor that checks the request and prepares the response. Checks for supported methods and a required session, and applies the specified org.springframework.http.CacheControl builder. See superclass bean properties for configuration options. All the settings supported by this interceptor can also be set on AbstractController. This interceptor is mainly intended for applying checks and preparations to a set of controllers mapped by a HandlerMapping. |
org.springframework.web.bind.support.WebDataBinderFactory |
A factory for creating a WebDataBinder instance for a named target object. |
org.springframework.test.context.web.WebDelegatingSmartContextLoader |
|
org.springframework.web.server.WebExceptionHandler |
Contract for handling exceptions during web server exchange processing. |
org.springframework.web.bind.support.WebExchangeBindException |
A specialization of ServerWebInputException thrown when after data binding and validation failure. Implements BindingResult (and its super-interface Errors) to allow for direct analysis of binding and validation errors. |
org.springframework.web.bind.support.WebExchangeDataBinder |
Specialized org.springframework.validation.DataBinder to perform data binding from URL query params or form data in the request data to Java objects. |
org.springframework.web.reactive.config.WebFluxConfigurationSupport |
The main class for Spring WebFlux configuration. Import directly or extend and override protected methods to customize. |
org.springframework.web.reactive.config.WebFluxConfigurerComposite |
A WebFluxConfigurer that delegates to one or more others. |
org.springframework.web.reactive.resource.WebJarsResourceResolver |
A This allows WebJars.org users to write version agnostic paths in their templates, like This also resolves resources for version agnostic HTTP requests This resolver requires the "org.webjars:webjars-locator" library on classpath, and is automatically registered if that library is present. |
org.springframework.web.servlet.resource.WebJarsResourceResolver |
A This allows WebJars.org users to write version agnostic paths in their templates, like This also resolves resources for version agnostic HTTP requests This resolver requires the "org.webjars:webjars-locator" library on classpath, and is automatically registered if that library is present. |
org.springframework.transaction.jta.WebLogicJtaTransactionManager |
Special JtaTransactionManager variant for BEA WebLogic (9.0 and higher). Supports the full power of Spring's transaction definitions on WebLogic's transaction coordinator, beyond standard JTA: transaction names, per-transaction isolation levels, and proper resuming of transactions in all cases. Uses WebLogic's special Supports a per-transaction isolation level through WebLogic's corresponding JTA transaction property "ISOLATION LEVEL". This will apply the specified isolation level (e.g. ISOLATION_SERIALIZABLE) to all JDBC Connections that participate in the given transaction. Invokes WebLogic's special By default, the JTA UserTransaction and TransactionManager handles are fetched directly from WebLogic's NOTE: This JtaTransactionManager is intended to refine specific transaction demarcation behavior on Spring's side. It will happily co-exist with independently configured WebLogic transaction strategies in your persistence provider, with no need to specifically connect those setups in any way. |
org.springframework.instrument.classloading.weblogic.WebLogicLoadTimeWeaver |
LoadTimeWeaver implementation for WebLogic's instrumentable ClassLoader. NOTE: Requires BEA WebLogic version 10 or higher. |
org.springframework.web.socket.server.standard.WebLogicRequestUpgradeStrategy |
A WebSocket |
org.springframework.test.context.web.WebMergedContextConfiguration |
|
org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport |
This is the main class providing the configuration behind the MVC Java config. It is typically imported by adding EnableWebMvc to an application Configuration class. An alternative more advanced option is to extend directly from this class and override methods as necessary, remembering to add Configuration to the subclass and Bean to overridden Bean methods. For more details see the javadoc of EnableWebMvc. This class registers the following HandlerMappings:
Registers these HandlerAdapters:
Registers a HandlerExceptionResolverComposite with this chain of exception resolvers:
Registers an AntPathMatcher and a UrlPathHelper to be used by:
Both the RequestMappingHandlerAdapter and the ExceptionHandlerExceptionResolver are configured with default instances of the following by default:
|
org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter |
An implementation of WebMvcConfigurer with empty methods allowing subclasses to override only the methods they're interested in. |
org.springframework.web.socket.config.annotation.WebMvcStompEndpointRegistry |
A registry for STOMP over WebSocket endpoints that maps the endpoints with a org.springframework.web.servlet.HandlerMapping for use in Spring MVC. |
org.springframework.web.bind.support.WebRequestDataBinder |
Special org.springframework.validation.DataBinder to perform data binding from web request parameters to JavaBeans, including support for multipart files. See the DataBinder/WebDataBinder superclasses for customization options, which include specifying allowed/required fields, and registering custom property editors. Can also used for manual data binding in custom web controllers or interceptors that build on Spring's org.springframework.web.context.request.WebRequest abstraction: e.g. in a org.springframework.web.context.request.WebRequestInterceptor implementation. Simply instantiate a WebRequestDataBinder for each binding process, and invoke
|
org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter |
Adapter that implements the Servlet HandlerInterceptor interface and wraps an underlying WebRequestInterceptor. |
org.springframework.web.reactive.result.method.annotation.WebSessionArgumentResolver |
Resolves method argument value of type WebSession. |
org.springframework.web.server.session.WebSessionIdResolver |
Contract for session id resolution strategies. Allows for session id resolution through the request and for sending the session id or expiring the session through the response. |
org.springframework.web.server.session.WebSessionStore |
Strategy for WebSession persistence. |
org.springframework.web.socket.messaging.WebSocketAnnotationMethodMessageHandler |
A sub-class of SimpAnnotationMethodMessageHandler to provide support for org.springframework.web.bind.annotation.ControllerAdvice with global |
org.springframework.web.socket.sockjs.client.WebSocketClientSockJsSession |
An extension of AbstractClientSockJsSession wrapping and delegating to an actual WebSocket session. |
org.springframework.web.socket.config.annotation.WebSocketConfigurer |
Defines callback methods to configure the WebSocket request handling via org.springframework.web.socket.config.annotation.EnableWebSocket. |
org.springframework.web.socket.client.WebSocketConnectionManager |
A WebSocket connection manager that is given a URI, a WebSocketClient, and a WebSocketHandler, connects to a WebSocket server through |
org.springframework.web.socket.client.standard.WebSocketContainerFactoryBean |
A FactoryBean for creating and configuring a javax.websocket.WebSocketContainer through Spring XML configuration. In Java configuration, ignore this class and use |
org.springframework.web.socket.WebSocketExtension |
Represents a WebSocket extension as defined in the RFC 6455. WebSocket extensions add protocol features to the WebSocket protocol. The extensions used within a session are negotiated during the handshake phase as follows:
WebSocket Extension HTTP headers may include parameters and follow RFC 7230 section 3.2 Note that the order of extensions in HTTP headers defines their order of execution, e.g. extensions "foo, bar" will be executed as "bar(foo(message))". |
org.springframework.web.reactive.socket.server.support.WebSocketHandlerAdapter |
HandlerAdapter that allows using a WebSocketHandler with the generic DispatcherHandler mapping URLs directly to such handlers. Requests are handled by delegating to the configured WebSocketService which by default is HandshakeWebSocketService. |
org.springframework.web.socket.handler.WebSocketHandlerDecorator |
Wraps another org.springframework.web.socket.WebSocketHandler instance and delegates to it. Also provides a |
org.springframework.web.socket.handler.WebSocketHandlerDecoratorFactory |
A factory for applying decorators to a WebSocketHandler. Decoration should be done through sub-classing org.springframework.web.socket.handler.WebSocketHandlerDecorator to allow any code to traverse decorators and/or unwrap the original handler when necessary . |
org.springframework.web.socket.server.support.WebSocketHandlerMapping |
An extension of SimpleUrlHandlerMapping that is also a SmartLifecycle container and propagates start and stop calls to any handlers that implement Lifecycle. The handlers are typically expected to be |
org.springframework.web.socket.config.annotation.WebSocketHandlerRegistration |
Provides methods for configuring a WebSocket handler. |
org.springframework.web.socket.server.support.WebSocketHttpRequestHandler |
A HttpRequestHandler for processing WebSocket handshake requests. This is the main class to use when configuring a server WebSocket at a specific URL. It is a very thin wrapper around a WebSocketHandler and a HandshakeHandler, also adapting the HttpServletRequest and HttpServletResponse to ServerHttpRequest and ServerHttpResponse, respectively. |
org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport |
Extends AbstractMessageBrokerConfiguration and adds configuration for receiving and responding to STOMP messages from WebSocket clients. Typically used in conjunction with EnableWebSocketMessageBroker but can also be extended directly. |
org.springframework.web.socket.config.WebSocketNamespaceHandler |
org.springframework.beans.factory.xml.NamespaceHandler for Spring WebSocket configuration namespace. |
org.springframework.web.socket.messaging.WebSocketStompClient |
A STOMP over WebSocket client that connects using an implementation of org.springframework.web.socket.client.WebSocketClient including org.springframework.web.socket.sockjs.client.SockJsClient. |
org.springframework.web.socket.adapter.jetty.WebSocketToJettyExtensionConfigAdapter | |
org.springframework.web.socket.adapter.standard.WebSocketToStandardExtensionAdapter |
Adapt an instance of org.springframework.web.socket.WebSocketExtension to the javax.websocket.Extension interface. |
org.springframework.web.socket.sockjs.client.WebSocketTransport |
A SockJS Transport that uses a org.springframework.web.socket.client.WebSocketClient. |
org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler |
WebSocket-based TransportHandler. Uses SockJsWebSocketHandler and WebSocketServerSockJsSession to add SockJS processing. Also implements HandshakeHandler to support raw WebSocket communication at SockJS URL "/websocket". |
org.springframework.jdbc.datasource.WebSphereDataSourceAdapter |
DataSource implementation that delegates all calls to a WebSphere target DataSource, typically obtained from JNDI, applying a current isolation level and/or current user credentials to every Connection obtained from it. Uses IBM-specific API to get a JDBC Connection with a specific isolation level (and read-only flag) from a WebSphere DataSource (IBM code example). Supports the transaction-specific isolation level exposed by Usage example, defining the target DataSource as an inner-bean JNDI lookup (of course, you can link to any WebSphere DataSource through a bean reference): Thanks to Ricardo Olivieri for submitting the original implementation of this approach!
|
org.springframework.instrument.classloading.websphere.WebSphereLoadTimeWeaver |
LoadTimeWeaver implementation for WebSphere's instrumentable ClassLoader. Compatible with WebSphere 7 as well as 8 and 9. |
org.springframework.web.socket.server.standard.WebSphereRequestUpgradeStrategy |
WebSphere support for upgrading an HttpServletRequest during a WebSocket handshake. To modify properties of the underlying javax.websocket.server.ServerContainer you can use ServletServerContainerFactoryBean in XML configuration or, when using Java configuration, access the container instance through the "javax.websocket.server.ServerContainer" ServletContext attribute. Tested with WAS Liberty beta (August 2015) for the upcoming 8.5.5.7 release. |
org.springframework.transaction.jta.WebSphereUowTransactionManager |
WebSphere-specific PlatformTransactionManager implementation that delegates to a com.ibm.wsspi.uow.UOWManager instance, obtained from WebSphere's JNDI environment. This allows Spring to leverage the full power of the WebSphere transaction coordinator, including transaction suspension, in a manner that is perfectly compliant with officially supported WebSphere API. The CallbackPreferringPlatformTransactionManager interface implemented by this class indicates that callers should preferably pass in a TransactionCallback through the This transaction manager implementation derives from Spring's standard JtaTransactionManager, inheriting the capability to support programmatic transaction demarcation via This transaction manager is compatible with WebSphere 6.1.0.9 and above. The default JNDI location for the UOWManager is "java:comp/websphere/UOWManager". If the location happens to differ according to your WebSphere documentation, simply specify the actual location through this transaction manager's "uowManagerName" bean property. NOTE: This JtaTransactionManager is intended to refine specific transaction demarcation behavior on Spring's side. It will happily co-exist with independently configured WebSphere transaction strategies in your persistence provider, with no need to specifically connect those setups in any way. |
org.springframework.test.context.web.WebTestContextBootstrapper |
Web-specific implementation of the TestContextBootstrapper SPI.
|
org.springframework.scheduling.commonj.WorkManagerTaskExecutor |
TaskExecutor implementation that delegates to a CommonJ WorkManager, implementing the commonj.work.WorkManager interface, which either needs to be specified as reference or through the JNDI name. This is the central convenience class for setting up a CommonJ WorkManager in a Spring context. Also implements the CommonJ WorkManager interface itself, delegating all calls to the target WorkManager. Hence, a caller can choose whether it wants to talk to this executor through the Spring TaskExecutor interface or the CommonJ WorkManager interface. The CommonJ WorkManager will usually be retrieved from the application server's JNDI environment, as defined in the server's management console. Note: On the upcoming EE 7 compliant versions of WebLogic and WebSphere, a org.springframework.scheduling.concurrent.DefaultManagedTaskExecutor should be preferred, following JSR-236 support in Java EE 7. |
org.springframework.jca.work.WorkManagerTaskExecutor |
org.springframework.core.task.TaskExecutor implementation that delegates to a JCA 1.7 WorkManager, implementing the javax.resource.spi.work.WorkManager interface. This is mainly intended for use within a JCA ResourceAdapter implementation, but may also be used in a standalone environment, delegating to a locally embedded WorkManager implementation (such as Geronimo's). Also implements the JCA 1.7 WorkManager interface itself, delegating all calls to the target WorkManager. Hence, a caller can choose whether it wants to talk to this executor through the Spring TaskExecutor interface or the WorkManager interface. This adapter is also capable of obtaining a JCA WorkManager from JNDI. This is for example appropriate on the Geronimo application server, where WorkManager GBeans (e.g. Geronimo's default "DefaultWorkManager" GBean) can be linked into the Java EE environment through "gbean-ref" entries in the |
org.springframework.core.io.WritableResource |
Extended interface for a resource that supports writing to it. Provides an |
org.springframework.oxm.xstream.XStreamMarshaller |
Implementation of the By default, XStream does not require any further configuration and can (un)marshal any class on the classpath. As such, it is not recommended to use the Due to XStream's API, it is required to set the encoding used for writing to OutputStreams. It defaults to NOTE: XStream is an XML serialization library, not a data binding library. Therefore, it has limited namespace support. As such, it is rather unsuitable for usage within Web Services. This marshaller requires XStream 1.4.5 or higher, as of Spring 4.3. Note that XStream construction has been reworked in 4.0, with the stream driver and the class loader getting passed into XStream itself now. |
org.springframework.web.socket.sockjs.client.XhrClientSockJsSession |
An extension of AbstractClientSockJsSession for use with HTTP transports simulating a WebSocket session. |
org.springframework.web.socket.sockjs.transport.handler.XhrPollingTransportHandler |
A TransportHandler based on XHR (long) polling. |
org.springframework.web.socket.sockjs.transport.handler.XhrReceivingTransportHandler |
A TransportHandler that receives messages over HTTP. |
org.springframework.web.socket.sockjs.transport.handler.XhrStreamingTransportHandler |
A TransportHandler that sends messages over an HTTP streaming request. |
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException |
XML-specific BeanDefinitionStoreException subclass that wraps a org.xml.sax.SAXException, typically a org.xml.sax.SAXParseException which contains information about the error location. |
org.springframework.beans.factory.xml.XmlBeanFactory |
Convenience extension of DefaultListableBeanFactory that reads bean definitions from an XML document. Delegates to XmlBeanDefinitionReader underneath; effectively equivalent to using an XmlBeanDefinitionReader with a DefaultListableBeanFactory. The structure, element and attribute names of the required XML document are hard-coded in this class. (Of course a transform could be run if necessary to produce this format). "beans" doesn't need to be the root element of the XML document: This class will parse all bean definition elements in the XML file. This class registers each bean definition with the DefaultListableBeanFactory superclass, and relies on the latter's implementation of the BeanFactory interface. It supports singletons, prototypes, and references to either of these kinds of bean. See For advanced needs, consider using a DefaultListableBeanFactory with an XmlBeanDefinitionReader. The latter allows for reading from multiple XML resources and is highly configurable in its actual XML parsing behavior. |
org.springframework.http.codec.xml.XmlEventDecoder |
Decodes a DataBuffer stream into a stream of XMLEvents. That is, given the following XML: this method with result in a flux with the following events:
|
org.springframework.beans.factory.xml.XmlReaderContext |
Extension of org.springframework.beans.factory.parsing.ReaderContext, specific to use with an XmlBeanDefinitionReader. Provides access to the NamespaceHandlerResolver configured in the XmlBeanDefinitionReader. |
org.springframework.util.xml.XmlValidationModeDetector |
Detects whether an XML stream is using DTD- or XSD-based validation. |
org.springframework.web.servlet.view.XmlViewResolver |
A org.springframework.web.servlet.ViewResolver implementation that uses bean definitions in a dedicated XML file for view definitions, specified by resource location. The file will typically be located in the WEB-INF directory; the default is "/WEB-INF/views.xml". This Note: This |
org.springframework.web.context.support.XmlWebApplicationContext |
org.springframework.web.context.WebApplicationContext implementation which takes its configuration from XML documents, understood by an org.springframework.beans.factory.xml.XmlBeanDefinitionReader. This is essentially the equivalent of org.springframework.context.support.GenericXmlApplicationContext for a web environment. By default, the configuration will be taken from "/WEB-INF/applicationContext.xml" for the root context, and "/WEB-INF/test-servlet.xml" for a context with the namespace "test-servlet" (like for a DispatcherServlet instance with the servlet-name "test"). The config location defaults can be overridden via the "contextConfigLocation" context-param of org.springframework.web.context.ContextLoader and servlet init-param of org.springframework.web.servlet.FrameworkServlet. Config locations can either denote concrete files like "/WEB-INF/context.xml" or Ant-style patterns like "/WEB-INF/*-context.xml" (see org.springframework.util.PathMatcher javadoc for pattern details). Note: In case of multiple config locations, later bean definitions will override ones defined in earlier loaded files. This can be leveraged to deliberately override certain bean definitions via an extra XML file. For a WebApplicationContext that reads in a different bean definition format, create an analogous subclass of AbstractRefreshableWebApplicationContext. Such a context implementation can be specified as "contextClass" context-param for ContextLoader or "contextClass" init-param for FrameworkServlet. |
org.springframework.test.web.servlet.result.XpathResultMatchers |
Factory for assertions on the response content using XPath expressions. An instance of this class is typically accessed via |
org.springframework.web.servlet.view.xslt.XsltView |
XSLT-driven View that allows for response context to be rendered as the result of an XSLT transformation. The XSLT Source object is supplied as a parameter in the model and then All model parameters are passed to the XSLT Transformer as parameters. In addition the user can configure |
org.springframework.web.servlet.view.xslt.XsltViewResolver |
org.springframework.web.servlet.ViewResolver implementation that resolves instances of XsltView by translating the supplied view name into the URL of the XSLT stylesheet. |
org.springframework.beans.factory.config.YamlMapFactoryBean |
Factory for a YAML is a nice human-readable format for configuration, and it has some useful hierarchical properties. It's more or less a superset of JSON, so it has a lot of similar features. If multiple resources are provided the later ones will override entries in the earlier ones hierarchically; that is, all entries with the same nested key of type plus (later in the list) results in an effective input of Note that the value of "foo" in the first document is not simply replaced with the value in the second, but its nested values are merged.
|
org.springframework.beans.factory.config.YamlPropertiesFactoryBean |
Factory for java.util.Properties that reads from a YAML source, exposing a flat structure of String property values. YAML is a nice human-readable format for configuration, and it has some useful hierarchical properties. It's more or less a superset of JSON, so it has a lot of similar features. Note: All exposed values are of type The Properties created by this factory have nested paths for hierarchical objects, so for instance this YAML is transformed into these properties: Lists are split as property keys with [] dereferencers, for example this YAML: becomes properties like this:
|
org.springframework.http.ZeroCopyHttpOutputMessage |
Sub-interface of |
org.springframework.beans.propertyeditors.ZoneIdEditor |
Editor for |