Skip to content

Commit 10f06bb

Browse files
committed
💡 moment
1 parent b70fd0d commit 10f06bb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/java/com/crossoverjie/spring/LifeCycleConfig.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import org.springframework.context.annotation.Configuration;
77

88
/**
9-
* Function:
9+
* Function:使用 initMethod 和 destroyMethod 的方式
1010
*
1111
* @author crossoverJie
1212
* Date: 19/03/2018 22:37

src/main/java/com/crossoverjie/spring/annotation/AnnotationBean.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import javax.annotation.PreDestroy;
1010

1111
/**
12-
* Function:
12+
* Function:用注解的方法
1313
*
1414
* @author crossoverJie
1515
* Date: 20/03/2018 18:46

src/main/java/com/crossoverjie/spring/service/SpringLifeCycleService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import org.springframework.stereotype.Service;
1010

1111
/**
12-
* Function:首先执行
12+
* Function:实现 InitializingBean DisposableBean 接口
1313
*
1414
* @author crossoverJie
1515
* Date: 20/03/2018 18:38

0 commit comments

Comments
 (0)