Skip to content

Commit f60f124

Browse files
authored
Update 79.4 Reload Java classes without restarting the container.md
1 parent c2ece2c commit f60f124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IX. ‘How-to’ guides/79.4 Reload Java classes without restarting the container.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
现代IDEs(Eclipse, IDEA等)都支持字节码的热交换,所以如果你做了一个没有影响类或方法签名的改变,它会利索地重新加载并没有任何影响。
44

5-
[Spring Loaded](https://github.com/spring-projects/spring-loaded)在这方面走的更远,它能够重新加载方法签名改变的类定义。如果对它进行一些自定义配置可以强制ApplicationContext刷新自己(但没有通用的机制来确保这对一个运行中的应用总是安全的,所以它可能只是一个开发时间的技巧)。
5+
[Spring Loaded](https://github.com/spring-projects/spring-loaded)在这方面走的更远,它能够重新加载方法签名改变的类定义,如果对它进行一些自定义配置可以强制`ApplicationContext`刷新自己(但没有通用的机制来确保这对一个运行中的应用总是安全的,所以它可能只是一个开发时的技巧)。

0 commit comments

Comments
 (0)