Spring框架文档与API(4.3.6版本)
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/
Table of Contents
- I. Overview of Spring Framework
- II. What’s New in Spring Framework 4.x
-
- 3. New Features and Enhancements in Spring Framework 4.0
-
- 3.1. Improved Getting Started Experience
- 3.2. Removed Deprecated Packages and Methods
- 3.3. Java 8 (as well as 6 and 7)
- 3.4. Java EE 6 and 7
- 3.5. Groovy Bean Definition DSL
- 3.6. Core Container Improvements
- 3.7. General Web Improvements
- 3.8. WebSocket, SockJS, and STOMP Messaging
- 3.9. Testing Improvements
- 4. New Features and Enhancements in Spring Framework 4.1
- 5. New Features and Enhancements in Spring Framework 4.2
- 6. New Features and Enhancements in Spring Framework 4.3
- III. Core Technologies
-
- 7. The IoC container
-
- 7.1. Introduction to the Spring IoC container and beans
- 7.2. Container overview
- 7.3. Bean overview
- 7.4. Dependencies
- 7.5. Bean scopes
- 7.6. Customizing the nature of a bean
- 7.7. Bean definition inheritance
- 7.8. Container Extension Points
- 7.9. Annotation-based container configuration
- 7.10. Classpath scanning and managed components
-
- 7.10.1. @Component and further stereotype annotations
- 7.10.2. Meta-annotations
- 7.10.3. Automatically detecting classes and registering bean definitions
- 7.10.4. Using filters to customize scanning
- 7.10.5. Defining bean metadata within components
- 7.10.6. Naming autodetected components
- 7.10.7. Providing a scope for autodetected components
- 7.10.8. Providing qualifier metadata with annotations
- 7.11. Using JSR 330 Standard Annotations
- 7.12. Java-based container configuration
- 7.13. Environment abstraction
- 7.14. Registering a LoadTimeWeaver
- 7.15. Additional Capabilities of the ApplicationContext
- 7.16. The BeanFactory
- 8. Resources
-
- 8.1. Introduction
- 8.2. The Resource interface
- 8.3. Built-in Resource implementations
- 8.4. The ResourceLoader
- 8.5. The ResourceLoaderAware interface
- 8.6. Resources as dependencies
- 8.7. Application contexts and Resource paths
- 9. Validation, Data Binding, and Type Conversion
- 10. Spring Expression Language (SpEL)
-
- 10.1. Introduction
- 10.2. Feature Overview
- 10.3. Expression Evaluation using Spring’s Expression Interface
- 10.4. Expression support for defining bean definitions
- 10.5. Language Reference
-
- 10.5.1. Literal expressions
- 10.5.2. Properties, Arrays, Lists, Maps, Indexers
- 10.5.3. Inline lists
- 10.5.4. Inline Maps
- 10.5.5. Array construction
- 10.5.6. Methods
- 10.5.7. Operators
- 10.5.8. Assignment
- 10.5.9. Types
- 10.5.10. Constructors
- 10.5.11. Variables
- 10.5.12. Functions
- 10.5.13. Bean references
- 10.5.14. Ternary Operator (If-Then-Else)
- 10.5.15. The Elvis Operator
- 10.5.16. Safe Navigation operator
- 10.5.17. Collection Selection
- 10.5.18. Collection Projection
- 10.5.19. Expression templating
- 10.6. Classes used in the examples
- 11. Aspect Oriented Programming with Spring
-
- 11.1. Introduction
- 11.2. @AspectJ support
- 11.3. Schema-based AOP support
- 11.4. Choosing which AOP declaration style to use
- 11.5. Mixing aspect types
- 11.6. Proxying mechanisms
- 11.7. Programmatic creation of @AspectJ Proxies
- 11.8. Using AspectJ with Spring applications
- 11.9. Further Resources
- 12. Spring AOP APIs
-
- 12.1. Introduction
- 12.2. Pointcut API in Spring
- 12.3. Advice API in Spring
- 12.4. Advisor API in Spring
- 12.5. Using the ProxyFactoryBean to create AOP proxies
- 12.6. Concise proxy definitions
- 12.7. Creating AOP proxies programmatically with the ProxyFactory
- 12.8. Manipulating advised objects
- 12.9. Using the "auto-proxy" facility
- 12.10. Using TargetSources
- 12.11. Defining new Advice types
- 12.12. Further resources
- IV. Testing
-
- 13. Introduction to Spring Testing
- 14. Unit Testing
- 15. Integration Testing
-
- 15.1. Overview
- 15.2. Goals of Integration Testing
- 15.3. JDBC Testing Support
- 15.4. Annotations
- 15.5. Spring TestContext Framework
-
- 15.5.1. Key abstractions
- 15.5.2. Bootstrapping the TestContext framework
- 15.5.3. TestExecutionListener configuration
- 15.5.4. Context management
-
- Context configuration with XML resources
- Context configuration with Groovy scripts
- Context configuration with annotated classes
- Mixing XML, Groovy scripts, and annotated classes
- Context configuration with context initializers
- Context configuration inheritance
- Context configuration with environment profiles
- Context configuration with test property sources
- Loading a WebApplicationContext
- Context caching
- Context hierarchies
- 15.5.5. Dependency injection of test fixtures
- 15.5.6. Testing request and session scoped beans
- 15.5.7. Transaction management
- 15.5.8. Executing SQL scripts
- 15.5.9. TestContext Framework support classes
- 15.6. Spring MVC Test Framework
- 15.7. PetClinic Example
- 16. Further Resources
- V. Data Access
-
- 17. Transaction Management
-
- 17.1. Introduction to Spring Framework transaction management
- 17.2. Advantages of the Spring Framework’s transaction support model
- 17.3. Understanding the Spring Framework transaction abstraction
- 17.4. Synchronizing resources with transactions
- 17.5. Declarative transaction management
-
- 17.5.1. Understanding the Spring Framework’s declarative transaction implementation
- 17.5.2. Example of declarative transaction implementation
- 17.5.3. Rolling back a declarative transaction
- 17.5.4. Configuring different transactional semantics for different beans
- 17.5.5. <tx:advice/> settings
- 17.5.6. Using @Transactional
- 17.5.7. Transaction propagation
- 17.5.8. Advising transactional operations
- 17.5.9. Using @Transactional with AspectJ
- 17.6. Programmatic transaction management
- 17.7. Choosing between programmatic and declarative transaction management
- 17.8. Transaction bound event
- 17.9. Application server-specific integration
- 17.10. Solutions to common problems
- 17.11. Further Resources
- 18. DAO support
- 19. Data access with JDBC
-
- 19.1. Introduction to Spring Framework JDBC
- 19.2. Using the JDBC core classes to control basic JDBC processing and error handling
- 19.3. Controlling database connections
- 19.4. JDBC batch operations
- 19.5. Simplifying JDBC operations with the SimpleJdbc classes
-
- 19.5.1. Inserting data using SimpleJdbcInsert
- 19.5.2. Retrieving auto-generated keys using SimpleJdbcInsert
- 19.5.3. Specifying columns for a SimpleJdbcInsert
- 19.5.4. Using SqlParameterSource to provide parameter values
- 19.5.5. Calling a stored procedure with SimpleJdbcCall
- 19.5.6. Explicitly declaring parameters to use for a SimpleJdbcCall
- 19.5.7. How to define SqlParameters
- 19.5.8. Calling a stored function using SimpleJdbcCall
- 19.5.9. Returning ResultSet/REF Cursor from a SimpleJdbcCall
- 19.6. Modeling JDBC operations as Java objects
- 19.7. Common problems with parameter and data value handling
- 19.8. Embedded database support
-
- 19.8.1. Why use an embedded database?
- 19.8.2. Creating an embedded database using Spring XML
- 19.8.3. Creating an embedded database programmatically
- 19.8.4. Selecting the embedded database type
- 19.8.5. Testing data access logic with an embedded database
- 19.8.6. Generating unique names for embedded databases
- 19.8.7. Extending the embedded database support
- 19.9. Initializing a DataSource
- 20. Object Relational Mapping (ORM) Data Access
-
- 20.1. Introduction to ORM with Spring
- 20.2. General ORM integration considerations
- 20.3. Hibernate
-
- 20.3.1. SessionFactory setup in a Spring container
- 20.3.2. Implementing DAOs based on plain Hibernate API
- 20.3.3. Declarative transaction demarcation
- 20.3.4. Programmatic transaction demarcation
- 20.3.5. Transaction management strategies
- 20.3.6. Comparing container-managed and locally defined resources
- 20.3.7. Spurious application server warnings with Hibernate
- 20.4. JDO
- 20.5. JPA
- 21. Marshalling XML using O/X Mappers
- VI. The Web
-
- 22. Web MVC framework
-
- 22.1. Introduction to Spring Web MVC framework
- 22.2. The DispatcherServlet
- 22.3. Implementing Controllers
-
- 22.3.1. Defining a controller with @Controller
- 22.3.2. Mapping Requests With @RequestMapping
-
- Composed @RequestMapping Variants
- @Controller and AOP Proxying
- New Support Classes for @RequestMapping methods in Spring MVC 3.1
- URI Template Patterns
- URI Template Patterns with Regular Expressions
- Path Patterns
- Path Pattern Comparison
- Path Patterns with Placeholders
- Suffix Pattern Matching
- Suffix Pattern Matching and RFD
- Matrix Variables
- Consumable Media Types
- Producible Media Types
- Request Parameters and Header Values
- HTTP HEAD and HTTP OPTIONS
- 22.3.3. Defining @RequestMapping handler methods
-
- Supported method argument types
- Supported method return types
- Binding request parameters to method parameters with @RequestParam
- Mapping the request body with the @RequestBody annotation
- Mapping the response body with the @ResponseBody annotation
- Creating REST Controllers with the @RestController annotation
- Using HttpEntity
- Using @ModelAttribute on a method
- Using @ModelAttribute on a method argument
- Using @SessionAttributes to store model attributes in the HTTP session between requests
- Using @SessionAttribute to access pre-existing global session attributes
- Using @RequestAttribute to access request attributes
- Working with "application/x-www-form-urlencoded" data
- Mapping cookie values with the @CookieValue annotation
- Mapping request header attributes with the @RequestHeader annotation
- Method Parameters And Type Conversion
- Customizing WebDataBinder initialization
- Advising controllers with @ControllerAdvice and @RestControllerAdvice
- Jackson Serialization View Support
- Jackson JSONP Support
- 22.3.4. Asynchronous Request Processing
- 22.3.5. Testing Controllers
- 22.4. Handler mappings
- 22.5. Resolving views
- 22.6. Using flash attributes
- 22.7. Building URIs
- 22.8. Using locales
- 22.9. Using themes
- 22.10. Spring’s multipart (file upload) support
- 22.11. Handling exceptions
- 22.12. Web Security
- 22.13. Convention over configuration support
- 22.14. HTTP caching support
- 22.15. Code-based Servlet container initialization
- 22.16. Configuring Spring MVC
-
- 22.16.1. Enabling the MVC Java Config or the MVC XML Namespace
- 22.16.2. Customizing the Provided Configuration
- 22.16.3. Conversion and Formatting
- 22.16.4. Validation
- 22.16.5. Interceptors
- 22.16.6. Content Negotiation
- 22.16.7. View Controllers
- 22.16.8. View Resolvers
- 22.16.9. Serving of Resources
- 22.16.10. Falling Back On the "Default" Servlet To Serve Resources
- 22.16.11. Path Matching
- 22.16.12. Message Converters
- 22.16.13. Advanced Customizations with MVC Java Config
- 22.16.14. Advanced Customizations with the MVC Namespace
- 23. View technologies
-
- 23.1. Introduction
- 23.2. Thymeleaf
- 23.3. Groovy Markup Templates
- 23.4. Velocity & FreeMarker
- 23.5. JSP & JSTL
- 23.6. Script templates
- 23.7. XML Marshalling View
- 23.8. Tiles
- 23.9. XSLT
- 23.10. Document views (PDF/Excel)
- 23.11. JasperReports
- 23.12. Feed Views
- 23.13. JSON Mapping View
- 23.14. XML Mapping View
- 24. Integrating with other web frameworks
- 25. Portlet MVC Framework
-
- 25.1. Introduction
- 25.2. The DispatcherPortlet
- 25.3. The ViewRendererServlet
- 25.4. Controllers
- 25.5. Handler mappings
- 25.6. Views and resolving them
- 25.7. Multipart (file upload) support
- 25.8. Handling exceptions
- 25.9. Annotation-based controller configuration
-
- 25.9.1. Setting up the dispatcher for annotation support
- 25.9.2. Defining a controller with @Controller
- 25.9.3. Mapping requests with @RequestMapping
- 25.9.4. Supported handler method arguments
- 25.9.5. Binding request parameters to method parameters with @RequestParam
- 25.9.6. Providing a link to data from the model with @ModelAttribute
- 25.9.7. Specifying attributes to store in a Session with @SessionAttributes
- 25.9.8. Customizing WebDataBinder initialization
- 25.10. Portlet application deployment
- 26. WebSocket Support
-
- 26.1. Introduction
- 26.2. WebSocket API
- 26.3. SockJS Fallback Options
- 26.4. STOMP Over WebSocket Messaging Architecture
-
- 26.4.1. Overview of STOMP
- 26.4.2. Enable STOMP over WebSocket
- 26.4.3. Flow of Messages
- 26.4.4. Annotation Message Handling
- 26.4.5. Sending Messages
- 26.4.6. Simple Broker
- 26.4.7. Full-Featured Broker
- 26.4.8. Connections To Full-Featured Broker
- 26.4.9. Using Dot as Separator in @MessageMapping Destinations
- 26.4.10. Authentication
- 26.4.11. Token-based Authentication
- 26.4.12. User Destinations
- 26.4.13. Listening To ApplicationContext Events and Intercepting Messages
- 26.4.14. STOMP Client
- 26.4.15. WebSocket Scope
- 26.4.16. Configuration and Performance
- 26.4.17. Runtime Monitoring
- 26.4.18. Testing Annotated Controller Methods
- 27. CORS Support
- VII. Integration
-
- 28. Remoting and web services using Spring
-
- 28.1. Introduction
- 28.2. Exposing services using RMI
- 28.3. Using Hessian or Burlap to remotely call services via HTTP
- 28.4. Exposing services using HTTP invokers
- 28.5. Web services
- 28.6. JMS
- 28.7. AMQP
- 28.8. Auto-detection is not implemented for remote interfaces
- 28.9. Considerations when choosing a technology
- 28.10. Accessing RESTful services on the Client
- 29. Enterprise JavaBeans (EJB) integration
- 30. JMS (Java Message Service)
- 31. JMX
- 32. JCA CCI
- 33. Email
- 34. Task Execution and Scheduling
- 35. Dynamic language support
- 36. Cache Abstraction
-
- 36.1. Introduction
- 36.2. Understanding the cache abstraction
- 36.3. Declarative annotation-based caching
- 36.4. JCache (JSR-107) annotations
- 36.5. Declarative XML-based caching
- 36.6. Configuring the cache storage
- 36.7. Plugging-in different back-end caches
- 36.8. How can I set the TTL/TTI/Eviction policy/XXX feature?
- VIII. Appendices
-
- 37. Migrating to Spring Framework 4.x
- 38. Spring Annotation Programming Model
- 39. Classic Spring Usage
- 40. Classic Spring AOP Usage
-
- 40.1. Pointcut API in Spring
- 40.2. Advice API in Spring
- 40.3. Advisor API in Spring
- 40.4. Using the ProxyFactoryBean to create AOP proxies
- 40.5. Concise proxy definitions
- 40.6. Creating AOP proxies programmatically with the ProxyFactory
- 40.7. Manipulating advised objects
- 40.8. Using the "autoproxy" facility
- 40.9. Using TargetSources
- 40.10. Defining new Advice types
- 40.11. Further resources
- 41. XML Schema-based configuration
-
- 41.1. Introduction
- 41.2. XML Schema-based configuration
-
- 41.2.1. Referencing the schemas
- 41.2.2. the util schema
- 41.2.3. the jee schema
- 41.2.4. the lang schema
- 41.2.5. the jms schema
- 41.2.6. the tx (transaction) schema
- 41.2.7. the aop schema
- 41.2.8. the context schema
- 41.2.9. the tool schema
- 41.2.10. the jdbc schema
- 41.2.11. the cache schema
- 41.2.12. the beans schema
- 42. Extensible XML authoring
- 43. spring JSP Tag Library
- 44. spring-form JSP Tag Library
-
- 44.1. Introduction
- 44.2. The button tag
- 44.3. The checkbox tag
- 44.4. The checkboxes tag
- 44.5. The errors tag
- 44.6. The form tag
- 44.7. The hidden tag
- 44.8. The input tag
- 44.9. The label tag
- 44.10. The option tag
- 44.11. The options tag
- 44.12. The password tag
- 44.13. The radiobutton tag
- 44.14. The radiobuttons tag
- 44.15. The select tag
- 44.16. The textarea tag
http://docs.spring.io/spring/docs/current/javadoc-api/
Spring框架文档与API(4.3.6版本)的更多相关文章
- Spring系列(零) Spring Framework 文档中文翻译
Spring 框架文档(核心篇1和2) Version 5.1.3.RELEASE 最新的, 更新的笔记, 支持的版本和其他主题,独立的发布版本等, 是在Github Wiki 项目维护的. 总览 历 ...
- spring接口文档注解:@ApiOperation(转)
spring接口文档注解:@ApiOperation @ApiOperation不是spring自带的注解是swagger里的 com.wordnik.swagger.annotations.ApiO ...
- Spring Boot文档
本文来自于springboot官方文档 地址:https://docs.spring.io/spring-boot/docs/current/reference/html/ Spring Boot参考 ...
- 利用未文档化API:RtlGetNtVersionNumbers 获取系统版本号
问题一:Windows SDK 8.1版本中的VersionHelper.h文件当中没有IsWindows10ORGreater,所以当你用IsWindows8Point1ORGreater判断出版本 ...
- 在线文档转换API word,excel,ppt等在线文件转pdf、png
在线文档转换API提供word,excel,ppt等在线文件转pdf.png等,文档:https://www.juhe.cn/docs/api/id/259 接口地址:http://v.juhe.cn ...
- 第2章 Spring Boot 文档
Spring Boot 文档 本节简要介绍了Spring Boot文档,是整个文档的参考指南. 您可以完整阅读本参考指南,或者如果您不感兴趣的话可以跳过该部分. 1. 关于文档 Spring Boot ...
- 爬虫所需要的文档和自动化文本driver下载地址,以及制作词云的文档,api等
Scrapy1.7.3文档 webdriver文档 webdriver下载地址 Chrom各版本下载地址 词云1.5文档 selenium中文文档 vue数据可视化文档 element开发组件 其他好 ...
- Howto: 在ArcGIS10中将地图文档(mxd文档)批量保存到之前版本
Howto: 在ArcGIS10中将地图文档(mxd文档)批量保存到之前版本 文章编号 : 38783 软件: ArcGIS - ArcEditor 10 ArcGIS - ArcInfo 10 A ...
- spring接口文档注解:@ApiOperation
@ApiOperation不是spring自带的注解是swagger里的 com.wordnik.swagger.annotations.ApiOperation; @ApiOperation和@Ap ...
随机推荐
- 500 OOPS: vsftpd: cannot locate user specified in 'chown_username':whoever
错误:500 OOPS: vsftpd: cannot locate user specified in 'chown_username':whoever解决方案:在vsftpd.conf中修改如下两 ...
- 我所遭遇过的游戏中间件---nvDXTLib
我所遭遇过的游戏中间件---nvDXTLib nvDXTLib是Nvidia提供的一套用于DXT纹理压缩SDK.接口十分简洁,就是提供了几个纹理压缩的函数,其中我使用最多的函数是: DXTLIB_AP ...
- 第十一章 AtomicInteger源码解析
1.原子类 可以实现一些原子操作 基于CAS 下面就以AtomicInteger为例. 2.AtomicInteger 在没有AtomicInteger之前,对于一个Integer的线程安全操作,是需 ...
- 玩转OpenStack
一.OpenStack包含那些内容 1.预备知识 首先会有虚拟化和云计算的“预备知识”,会介绍 KVM,IaaS 等技术. 2.OpenStack核心 包含OpenStack的架构和和各个核心组件. ...
- 开发winform程序,在拖拽控件大小时,VS会卡死
你可以看看你最近有没有装什么新的软件,比如说:有道词典就会与VS有冲突,导致卡死,可以把进程关闭.
- Maximum Subarray leetcode java
题目: Find the contiguous subarray within an array (containing at least one number) which has the larg ...
- Reorder List leetcode java
题目: Given a singly linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You must d ...
- ajax与java前后台传值及数据表查询解决一个bug的问题
前台选中某些表,确定提交到后台,偶尔会报500错误,通过排查发现:由于后台代码写的不严谨,导致前台选中的表名如果全不存在的话就会导致后台走异常报500错误,所以决定在前台先对数据进行一次过滤,使至少有 ...
- 我所认识的PCA算法的princomp函数与经历 (基于matlab)
我接触princomp函数,主要是因为实验室的项目需要,所以我一接触的时候就希望快点学会怎么用. 项目中需要利用PCA算法对大量数据进行降维. 简介:主成分分析 ( Principal Compone ...
- Android 色彩设计理念
色彩 色彩从当代建筑.路标.人行横道以及运动场馆中获取灵感.由此引发出大胆的颜色表达激活了色彩,与单调乏味的周边环境形成鲜明的对照. 强调大胆的阴影和高光.引出意想不到且充满活力的颜色. 色样 – 0 ...