Update Java Note · JsoneJava/JavaNote@8bd077a · GitHub
Skip to content

Commit 8bd077a

Browse files
committed
Update Java Note
1 parent 2bb1d62 commit 8bd077a

4 files changed

Lines changed: 16 additions & 18 deletions

File tree

DB.md

Lines changed: 5 additions & 5 deletions

Prog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10758,7 +10758,7 @@ public class ExchangerDemo {
1075810758
// 创建交换对象(信使)
1075910759
Exchanger<String> exchanger = new Exchanger<>();
1076010760
new ThreadA(exchanger).start();
10761-
new ThreadA(exchanger).start();
10761+
new ThreadB(exchanger).start();
1076210762
}
1076310763
}
1076410764
class ThreadA extends Thread{

SSM.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13890,7 +13890,7 @@ SpringBoot 功能:
1389013890

1389113891
1. 使用 @ComponentScan 扫描 com.example.config 包
1389213892

13893-
2. 使用 @Import 注解,加载类,这些类都会被 Spring 创建并放入 ioc 容器,默认组件的名字就是**全类名**
13893+
2. 使用 @Import 注解加载类,这些类都会被 Spring 创建并放入 ioc 容器,默认组件的名字就是**全类名**
1389413894

1389513895
3. 对 @Import 注解进行封装
1389613896

@@ -13982,14 +13982,14 @@ Condition 是 Spring4.0 后引入的条件化配置接口,通过实现 Conditi
1398213982

1398313983
ConditionContext 类API:
1398413984

13985-
| 方法 | 说明 |
13986-
| --------------------------------------------------- | ----------------------------- |
13987-
| ConfigurableListableBeanFactory getBeanFactory() | 获取到 IOC 使用的 beanfactory |
13988-
| ClassLoader getClassLoader() | 获取类加载器 |
13989-
| Environment getEnvironment() | 获取当前环境信息 |
13990-
| BeanDefinitionRegistry getRegistry() | 获取到 bean 定义的注册类 |
13985+
| 方法 | 说明 |
13986+
| ------------------------------------------------- | ----------------------------- |
13987+
| ConfigurableListableBeanFactory getBeanFactory() | 获取到 IOC 使用的 beanfactory |
13988+
| ClassLoader getClassLoader() | 获取类加载器 |
13989+
| Environment getEnvironment() | 获取当前环境信息 |
13990+
| BeanDefinitionRegistry getRegistry() | 获取到 bean 定义的注册类 |
1399113991

13992-
* ClassCondition
13992+
* ClassCondition
1399313993

1399413994
```java
1399513995
public class ClassCondition implements Condition {
@@ -14013,7 +14013,7 @@ ConditionContext 类API:
1401314013
}
1401414014
```
1401514015

14016-
* UserConfig
14016+
* UserConfig
1401714017

1401814018
```java
1401914019
@Configuration
@@ -14202,7 +14202,7 @@ public class Car {
1420214202

1420314203

1420414204

14205-
### 源码解析
14205+
### 装配原理
1420614206

1420714207
#### 启动流程
1420814208

Web.md

Lines changed: 0 additions & 2 deletions

0 commit comments

Comments
 (0)