Currently, i see that we have various places where we can plug in validation
monitoring. Some of the ones that i found are in the
ReallySmallRuntimeBuilder as shown below:
public static CompositeBuilder createCompositeBuilder(AssemblyFactory
assemblyFactory,
SCABindingFactory
scaBindingFactory,
IntentAttachPointTypeFactory intentAttachPointTypeFactory,
InterfaceContractMapper interfaceContractMapper,
List<PolicySet>
domainPolicySets) {
return new CompositeBuilderImpl(assemblyFactory, scaBindingFactory,
intentAttachPointTypeFactory, interfaceContractMapper, domainPolicySets,
null);
}
public static DomainBuilder createDomainBuilder(AssemblyFactory
assemblyFactory,
SCABindingFactory scaBindingFactory,
IntentAttachPointTypeFactory intentAttachPointTypeFactory,
InterfaceContractMapper interfaceContractMapper,
List<PolicySet> domainPolicySets) {
return new DomainWireBuilderImpl(assemblyFactory, scaBindingFactory,
intentAttachPointTypeFactory, interfaceContractMapper, domainPolicySets,
null);
}
Instead of passing null, we can pass in our own CompositeBuildMonitor. Are
these the only places where we need to do this? or are there other places as
well?
Hasan