--- kind: CONCEPT slug: domain-core-c02 title: bean은 없고 컴파일 시점 참조만 있다 topic: delivery-and-settlement-models project: clean-architecture-backend-template status: 게시 전 sourceRevision: 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916 rootTreeNode: concept:domain-core-c02 evidenceCapturedOn: 2026-09-01 assets: - key: domain-core-c02 file: ../../../final/evidence/rendered/domain-core-c02.svg evidence: - ../../../final/evidence/raw/domain-core-c02.txt source: - 원본 분석 절은 final/document.md#a01#L146 이다. module: domain-core --- # bean은 없고 컴파일 시점 참조만 있다 `domain-core`는 Spring bean도 entry point도 없지만 두 runtime composition에 membership이 있고, 주요 public abstraction이 각각 실제 소비자를 갖는다. ## 본문 `domain-core` 자체에는 Spring bean/configuration/entry point가 없다. Registry상 `app-bootstrap`, `sample-portfolio` 두 runtime composition에 membership이 있고, concrete consumers가 compile-time type/annotation으로 이 module을 참조한다. ## ResourceId 참조 위치 :::evidence key="domain-core-c02" alt="코드베이스에서 ResourceId 를 검색한 출력 2줄. 이 기록이 세는 참조가 그 출력에 그대로 보인다." caption="ResourceId 코드베이스 검색 — 2줄 · exit 0" zoom="true" ::: ## 어떤 추상을 누가 참조하나 - `ResourceId` — application-core messaging contract 및 sample IDs - `IdFactory` — sample factory/use-case/identifier adapter - `AggregateRoot` — sample aggregate - `DomainEvent` — sample events와 websocket broadcaster qualification - `ValueObject` — sample IDs/value objects ## 두 방향 모두 근거가 없다 major public abstraction이 완전히 dead/unwired인 상태는 아니다. 반대로 `domain-core`가 runtime service를 직접 수행한다는 근거도 없다.