File tree 1 file changed +6
-7
lines changed
spring-test/src/main/java/org/springframework/test/context
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 31
31
* {@link MergedContextConfiguration} 인스턴스 들의 {@code ApplicationContexts} 캐시를 유지함.
32
32
*
33
33
*
34
- *
35
- * <p>This has significant performance benefits if initializing the context would take time.
36
- * While initializing a Spring context itself is very quick, some beans in a context, such
37
- * as a {@code LocalSessionFactoryBean} for working with Hibernate, may take some time to
38
- * initialize. Hence it often makes sense to perform that initialization only once per
39
- * test suite.
34
+ * <p>이것은 컨텍스트 초기화가 시간이 걸릴 시 중요한 퍼포먼스 이점이 있음.
35
+ * spring context 자신은 매우 빠르게 초기화 되는동안에도, 컨텍스트의 몇몇 빈들(예를 들어
36
+ * 하이버 네이트와 연동하는 {@code LocalSessionFactoryBean})은 초기화에 시간이 꽤 거릴수 있음.
37
+ * 그러므로 test suite에서 한번의 초기화만 수행하는 것이 말이 됨.
38
+ * </p>
40
39
*
41
40
* @author Sam Brannen
42
41
* @author Juergen Hoeller
45
44
class ContextCache {
46
45
47
46
/**
48
- * Map of context keys to Spring {@code ApplicationContext} instances .
47
+ * Spring {@code ApplicationContext} 인스턴스의 key Map .
49
48
*/
50
49
private final Map <MergedContextConfiguration , ApplicationContext > contextMap =
51
50
new ConcurrentHashMap <MergedContextConfiguration , ApplicationContext >(64 );
You can’t perform that action at this time.
0 commit comments