load

fun load(local: Manifest, classLoader: ClassLoader = Thread.currentThread().contextClassLoader, mapper: JsonMapper = JsonMapper.builder().build(), serviceKey: String = SERVICE_KEY): ContractDirectory

The directory of local and the peer contracts on classLoader (ClassPathContracts, the one reader of them); fails with a ContractException when a contract or a service build cannot be read, as when the directory cannot be built, and with a WowConfigurationException naming serviceKey, the property that gave local's service its name, when the builds on classLoader (ServiceBuild) name the service otherwise (requireBuilt) or a contract says another service hosts one of its contexts (requireHosted).