自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(298)
  • 资源 (16)
  • 收藏
  • 关注

原创 精编Spring框架文档下载页面

Spring Framework DocumentationSpring框架文档5.3.10Core Technologies 核心技术部分中英双语版 第一部分 中英双语版 第二部分 中文版 第一部分 中文版 第二部分

2021-10-05 07:47:09 335

原创 Spring框架文档 - 核心技术部分 中文版 - 第二部分 内容目录

Spring Framework Documentation5.3.10Core Technologies返回文档下载页面:2. 资源 2732.1..介绍 2732.2. Resource 接口 2732.3.内置Resource 实现 2752.3.1. UrlResource 2752.3.2. ClassPathResource 2762.3.3. FileSystemResource 2762.3.4. PathResource 277.

2021-10-05 07:43:05 307

原创 Spring框架文档 - 核心技术部分 中文版 - 第一部分 内容目录

Spring Framework Documentation5.3.10Core Technologies返回文档下载页面:Spring框架文档 - 核心技术部分 中文版 - 第一部分 内容目录1. IoC容器 101.1. Spring IoC容器和bean简介 101.2.容器概览 111.2.1.配置元数据 121.2.2.实例化一个容器 141.2.2.1.组合基于XML的配置元数据 161.2.2.2. Groovy Bean定义DSL 17.

2021-10-05 07:40:26 400

原创 Spring框架文档 - 核心技术部分 中英双语版 第二部分 内容目录

Spring Framework Documentation5.3.10Core Technologies更多网页章节内容,请点击查看:Core Technologies返回文档下载页面:Spring框架文档 - 核心技术部分 中英双语版 第二部分 内容目录2. Resources (资源) 4072.1. Introduction(介绍) 4072.2. TheResourceInterface(Resource接口)... 4082.3. Bu...

2021-10-05 07:37:53 927

原创 Spring框架文档 - 核心技术部分 中英双语版 第一部分 内容目录

Spring Framework Documentation5.3.10Core Technologies更多网页章节内容,请点击查看:Core Technologies返回文档下载页面:Spring框架文档 - 核心技术部分 中英双语版 第一部分内容目录1. The IoC Container (IoC容器)... 101.1. Introduction to the Spring IoC Container and Beans(Spring IoC容器和bea...

2021-10-05 07:32:28 766

原创 1.6.1.4. Combining Lifecycle Mechanisms(合并生命周期机制)

1.6.1.4. Combining Lifecycle Mechanisms 合并生命周期机制As of Spring 2.5, you have three options for controlling bean lifecycle behavior:TheInitializingBeanandDisposableBeancallback interfaces Custominit() anddestroy() methods The@PostConstruc...

2021-10-01 10:00:16 177

原创 1.8. Container Extension Points 容器扩展点

1.8. Container Extension Points 容器扩展点Typically, an application developer does not need to subclassApplicationContextimplementation classes. Instead, the Spring IoC container can be extended by plugging in implementations of special integration in...

2021-10-01 09:59:34 213

原创 1.7. Bean Definition Inheritance(Bean定义继承)

1.7. Bean Definition Inheritance(Bean定义继承)A bean definition can contain a lot of configuration information, including constructor arguments, property values, and container-specific information, such as the initialization method, a static factory me...

2021-10-01 09:58:48 187

原创 1.6.3. Other Aware Interfaces 其它Aware接口

1.6.3. OtherAwareInterfaces 其它Aware接口BesidesApplicationContextAwareandBeanNameAware(discussedearlier), Spring offers a wide range ofAwarecallback interfaces that let beans indicate to the container that they require a certain infrastructu...

2021-10-01 09:57:51 172

原创 1.6.2. ApplicationContextAware and BeanNameAware

1.6.2.ApplicationContextAwareandBeanNameAwareWhen anApplicationContextcreates an object instance that implements theorg.springframework.context.ApplicationContextAwareinterface, the instance is provided with a reference to thatApplicationCo...

2021-10-01 09:56:57 209

原创 1.6.1.6. Shutting Down the Spring IoC Container Gracefully in Non-Web Applications 在非web应用程序关闭Spring

1.6.1.6. Shutting Down the Spring IoC Container Gracefully in Non-Web Applications 在非web应用程序优雅地关闭Spring IoC容器 This section applies only to non-web applications. Spring’s web-basedApplicationContextimplementations already have code ...

2021-10-01 09:55:40 173

原创 1.6.1.5. Startup and Shutdown Callbacks 启动和停止回调

1.6.1.5. Startup and Shutdown Callbacks 启动和停止回调TheLifecycleinterface defines the essential methods for any object that has its own lifecycle requirements (such as starting and stopping some background process):Lifecycle接口定义了具有自己生命周期需求的任何对象的基本方法(...

2021-10-01 09:53:47 358

原创 1.6.1.3. Default Initialization and Destroy Methods(默认初始化和销毁方法)

1.6.1.3. Default Initialization and Destroy Methods默认初始化和销毁方法When you write initialization and destroy method callbacks that do not use the Spring-specificInitializingBeanandDisposableBeancallback interfaces, you typically write methods with name...

2021-09-30 15:28:49 244

原创 1.6.1.2. Destruction Callbacks 销毁回调

1.6.1.2. Destruction Callbacks 销毁回调Implementing theorg.springframework.beans.factory.DisposableBeaninterface lets a bean get a callback when the container that contains it is destroyed. TheDisposableBeaninterface specifies a single method:实现org...

2021-09-30 15:27:46 341

原创 1.6.1.1. Initialization Callbacks 初始化回调

1.6.1.1. Initialization Callbacks 初始化回调Theorg.springframework.beans.factory.InitializingBeaninterface lets a bean perform initialization work after the container has set all necessary properties on the bean. TheInitializingBeaninterface specifies...

2021-09-30 15:26:56 225

原创 1.6. Customizing the Nature of a Bean 自定义bean的性质

Spring Framework Documentation(5.3.10)Core IoC Container, Events, Resources, i18n, Validation, Data Binding, Type Conversion, SpEL, AOP. Core Technologies1. The IoC Container1.1. Introduction to the Spring IoC Container and Beans(Sp...

2021-09-30 15:25:52 206

原创 1.5.4.3. Session Scope(会话作用域)

1.5.4.3. Session Scope(会话作用域)Consider the following XML configuration for a bean definition:考虑以下bean定义的XML配置:<bean id="userPreferences" class="com.something.UserPreferences" scope="session"/>The Spring container creates a new instance ...

2021-09-30 14:27:24 665

原创 1.5.4.4. Application Scope(应用作用域)

1.5.4.4. Application Scope(应用作用域)Consider the following XML configuration for a bean definition:考虑以下bean定义的XML配置:<bean id="appPreferences" class="com.something.AppPreferences" scope="application"/>The Spring container creates a new ins...

2021-09-30 14:27:14 1169

原创 1.5.4.5. Scoped Beans as Dependencies (具有作用域的bean作为依赖项)

1.5.4.5. Scoped Beans as Dependencies (具有作用域的bean作为依赖项)The Spring IoC container manages not only the instantiation of your objects (beans), but also the wiring up of collaborators (or dependencies). If you want to inject (for example) an HTTP reque...

2021-09-30 14:26:59 307

原创 1.5.4.5.​​​​​​​1 Choosing the Type of Proxy to Create(选择待创建代理的类型)

1.5.4.5.1Choosing the Type of Proxy to Create(选择待创建代理的类型)By default, when the Spring container creates a proxy for a bean that is marked up with the<aop:scoped-proxy/>element, a CGLIB-based class proxy is created.默认情况下,当Spring容器为标记有<a...

2021-09-30 14:26:46 169

原创 1.5.5. Custom Scopes (自定义作用域)

1.5.5. Custom Scopes (自定义作用域)The bean scoping mechanism is extensible. You can define your own scopes or even redefine existing scopes, although the latter is considered bad practice and you cannot override the built-insingletonandprototypescop...

2021-09-30 14:26:35 337

原创 1.5.5.2. Using a Custom Scope (使用自定义作用域)

1.5.5.2. Using a Custom Scope (使用自定义作用域)After you write and test one or more customScopeimplementations, you need to make the Spring container aware of your new scopes. The following method is the central method to register a newScopewith the Spr...

2021-09-30 14:26:10 178

原创 1.5.4.2. Request scope(请求作用域)

1.5.4.2. Request scope (请求作用域)Consider the following XML configuration for a bean definition:为bean定义考虑以下XML配置:<bean id="loginAction" class="com.something.LoginAction" scope="request"/>The Spring container creates a new instance of the...

2021-09-27 17:57:49 849

原创 1.5.4.1. Initial Web Configuration 初始化Web配置

To support the scoping of beans at therequest,session,application, andwebsocketlevels (web-scoped beans), some minor initial configuration is required before you define your beans. (This initial setup is not required for the standard scopes:s...

2021-09-27 17:57:36 233

原创 1.5.4. Request, Session, Application, and WebSocket Scopes

1.5.4. Request, Session, Application, and WebSocket Scopes(Request, Session, Application, and WebSocket作用域)Therequest,session,application, andwebsocketscopes are available only if you use a web-aware SpringApplicationContextimplementation (suc...

2021-09-27 17:57:21 243

原创 1.5.3. Singleton Beans with Prototype-bean Dependencies(单例和原型Bean的依赖)

When you use singleton-scoped beans with dependencies on prototype beans, be aware that dependencies are resolved at instantiation time. Thus, if you dependency-inject a prototype-scoped bean into a singleton-scoped bean, a new prototype bean is in...

2021-09-27 17:57:08 175

原创 1.5.2. The Prototype Scope(Prototype作用域)

The non-singleton prototype scope of bean deployment results in the creation of a new bean instance every time a request for that specific bean is made. That is, the bean is injected into another bean or you request it through agetBean() method cal...

2021-09-27 17:56:54 297

原创 1.5.1. The Singleton Scope (单例作用域)

Only one shared instance of a singleton bean is managed, and all requests for beans with an ID or IDs that match that bean definition result in that one specific bean instance being returned by the Spring container.只管理一个单例bean的一个共享实例,对具有ID或ID与bean定...

2021-09-27 17:56:32 261

原创 1.4.6.1. Lookup Method Injection(查找方法注入)

1.4.6.1. Lookup Method Injection(查找方法注入)Lookup method injection is the ability of the container to override methods on container-managed beans and return the lookup result for another named bean in the container. The lookup typically involves a pro...

2021-09-27 17:53:34 254

原创 1.4.6.2. Arbitrary Method Replacement(任意方法替换)

Spring Framework Documentation(5.3.10)Core IoC Container, Events, Resources, i18n, Validation, Data Binding, Type Conversion, SpEL, AOP. Core Technologies1. The IoC Container1.1. Introduction to the Spring IoC Container and Beans(Sp...

2021-09-27 17:52:52 176

原创 1.5. Bean Scopes(Bean作用域)

1.5. Bean Scopes(Bean作用域)When you create a bean definition, you create a recipe for creating actual instances of the class defined by that bean definition. The idea that a bean definition is a recipe is important, because it means that, as with a c...

2021-09-27 17:52:27 213

原创 1.4.5.2. Excluding a Bean from Autowiring(在自动装配中排除bean)

1.4.5.2. Excluding a Bean from Autowiring(在自动装配中排除bean)On a per-bean basis, you can exclude a bean from autowiring. In Spring’s XML format, set theautowire-candidateattribute of the<bean/>element tofalse. The container makes that specifi...

2021-09-27 17:51:22 232

原创 1.4.5.1. Limitations and Disadvantages of Autowiring(自动装配的局限性和缺点)

1.4.5.1. Limitations and Disadvantages of Autowiring(自动装配的局限性和缺点)Autowiring works best when it is used consistently across a project. If autowiring is not used in general, it might be confusing to developers to use it to wire only one or two bean...

2021-09-26 09:44:49 243

原创 1.4.5. Autowiring Collaborators(自动装配协作者)

1.4.5. Autowiring Collaborators(自动装配协作者)The Spring container can autowire relationships between collaborating beans. You can let Spring resolve collaborators (other beans) automatically for your bean by inspecting the contents of theApplicationCon...

2021-09-26 09:44:12 213

原创 1.4.4. Lazy-initialized Beans(延迟初始化Bean)

1.4.4. Lazy-initialized Beans(延迟初始化Bean)By default,ApplicationContextimplementations eagerly create and configure allsingletonbeans as part of the initialization process. Generally, this pre-instantiation is desirable, because errors in the c...

2021-09-26 09:43:38 228

原创 1.4.2.8. Compound Property Names(复合属性名)

1.4.2.8. Compound Property Names(复合属性名)You can use compound or nested property names when you set bean properties, as long as all components of the path except the final property name are notnull. Consider the following bean definition:设置bean属性时...

2021-09-26 09:42:38 144

原创 1.4.2.7. XML Shortcut with the c-namespace(c-namespace的XML快捷方式)

1.4.2.7. XML Shortcut with the c-namespace(c-namespace的XML快捷方式)Similar to theXML Shortcut with the p-namespace, the c-namespace, introduced in Spring 3.1, allows inlined attributes for configuring the constructor arguments rather then nestedcon...

2021-09-26 09:42:15 1578

原创 1.4.2.6. XML Shortcut with the p-namespace(p命名空间的XML快捷方式)

1.4.2.6. XML Shortcut with the p-namespace(p命名空间的XML快捷方式)The p-namespace lets you use thebeanelement’s attributes (instead of nested<property/>elements) to describe your property values collaborating beans, or both.p命名空间允许您使用bean元素的属性...

2021-09-26 09:41:54 122

原创 1.4.2.5. Null and Empty String Values(Null和空字符串值)

1.4.2.5. Null and Empty String Values(Null和空字符串值)Spring treats empty arguments for properties and the like as emptyStrings. The following XML-based configuration metadata snippet sets theemailproperty to the emptyStringvalue ("").Spring将属性等的...

2021-09-26 09:41:35 848

原创 1.4.2.4. Collections(集合)

1.4.2.4. Collections(集合)The<list/>,<set/>,<map/>, and<props/>elements set the properties and arguments of the JavaCollectiontypesList,Set,Map, andProperties, respectively. The following example shows how to use th...

2021-09-26 09:41:19 116

Spring框架文档 - 核心技术部分 中文版 - 第二部分.pdf

本参考文档涵盖了Spring框架中绝对不可或缺的所有技术。 其中最重要的是Spring框架的控制反转(Inversion of Control,IoC)容器(container)。在对Spring框架的IoC容器进行全面介绍之后,将全面介绍Spring的面向切面编程(AOP)技术。Spring框架(Spring Framework)有自己的AOP框架,在概念上很容易理解,它成功地解决了Java企业编程中80%的AOP需求。 本文档也讲解Spring与AspectJ的集成,就特征而言,AspectJ是Java企业空间中目前最丰富的、最成熟的AOP实现。

2021-10-04

Spring框架文档 - 核心技术部分 中文版 - 第一部分.pdf

本参考文档涵盖了Spring框架中绝对不可或缺的所有技术。 其中最重要的是Spring框架的控制反转(Inversion of Control,IoC)容器(container)。在对Spring框架的IoC容器进行全面介绍之后,将全面介绍Spring的面向切面编程(AOP)技术。Spring框架(Spring Framework)有自己的AOP框架,在概念上很容易理解,它成功地解决了Java企业编程中80%的AOP需求。 本文档也讲解Spring与AspectJ的集成,就特征而言,AspectJ是Java企业空间中目前最丰富的、最成熟的AOP实现。

2021-10-04

Spring框架文档 - 核心技术部分 中英双语版 第二部分.pdf

本参考文档涵盖了Spring框架中绝对不可或缺的所有技术。 其中最重要的是Spring框架的控制反转(Inversion of Control,IoC)容器(container)。在对Spring框架的IoC容器进行全面介绍之后,将全面介绍Spring的面向切面编程(AOP)技术。Spring框架(Spring Framework)有自己的AOP框架,在概念上很容易理解,它成功地解决了Java企业编程中80%的AOP需求。 本文档也讲解Spring与AspectJ的集成,就特征而言,AspectJ是Java企业空间中目前最丰富的、最成熟的AOP实现。

2021-10-04

Spring框架文档 - 核心技术部分 中英双语版 第一部分.pdf

本参考文档涵盖了Spring框架中绝对不可或缺的所有技术。 其中最重要的是Spring框架的控制反转(Inversion of Control,IoC)容器(container)。在对Spring框架的IoC容器进行全面介绍之后,将全面介绍Spring的面向切面编程(AOP)技术。Spring框架(Spring Framework)有自己的AOP框架,在概念上很容易理解,它成功地解决了Java企业编程中80%的AOP需求。 本文档也讲解Spring与AspectJ的集成,就特征而言,AspectJ是Java企业空间中目前最丰富的、最成熟的AOP实现。

2021-10-04

Flowable 6.6.0 Applications.docx

Flowable是一个用Java编写的轻量级业务流程引擎。Flowable Modeler、Flowable Admin、Flowable IDM和Flowable Task等Flowable应用程序提供了现成的示例UI来处理流程和任务。

2020-12-23

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除