build

Builds a holder for eventSchema by looking up the builder registered for its concrete class.

Receiver

BuilderScope forwarded into the resolved builder.

Return

the newly built holder.

Parameters

eventSchema

the schema to build a holder for.

Throws

if no builder is registered for eventSchema's class — the schema's own class was never included in MosaicDependencyInjectionConfig.eventDefinitions. Unlike a missing EventRunner/TileRenderer (which logs and continues), a missing EventHolderBuilder throws, since there's no way to build the tree at all without it.