# 저장소 전체에서 템플릿 엔진을 부르는 자리 — src/main 은 둘뿐이고 둘 다 모드를 넘긴다 CanonicalNotificationRenderer.java:125: return engine.render(modeOf(slot), template.content().requireSlot(slot), variables); CanonicalNotificationRenderer.java:133: .map(source -> engine.render(modeOf(slot), source, variables)); # 같은 검색이 src/test 에서 잡은 건수 : 15 # 두 오버로드와 그 안의 검사 — ThymeleafStringTemplateEngine.java 68: public String render(TemplateSlotMode mode, String source, Map variables) { 85: public String render(String source, Map variables) { 88: requireEveryReferencedVariable(source, variables); 92: } catch (RuntimeException failure) { 114: private static void requireEveryReferencedVariable(String source, Map variables) { 157: requireEveryReferencedVariable(source, variables); # 렌더를 부르는 자리 1 — NotificationProviderAttemptAdapter.java (그 자리에서 잡는다) 163: Objects.requireNonNull(renderer.render(plan), "rendered notification must be non-null"); 164: } catch (RuntimeException renderingFailure) { # 렌더를 부르는 자리 2 — NotificationDispatchService.java (감싸지 않는다) 146: RenderedNotificationContent content = render(work, route); 280: private RenderedNotificationContent render(Work work, RouteCandidate route) { # 그것이 닿는 곳 — NotificationSchedulerWorker.java (타입만 적는다) 94: dispatcher.dispatch(lease); 103: "notification dispatch failed worker={} reason={} causes={}", 105: failure.getClass().getSimpleName(), 128: chain.append(current.getClass().getSimpleName()); 156: failure.getClass().getSimpleName()); # org.thymeleaf 로거를 따로 설정한 줄 수 (0 이면 루트 준위가 그대로 적용된다) : 0