I have a question about this method in CompositeConfigurationBuilderImpl.
private SCABinding createSCABinding() {
SCABinding scaBinding = scaBindingFactory.createSCABinding();
IntentAttachPointType bindingType =
intentAttachPointTypeFactory.createBindingType();
bindingType.setName(BINDING_SCA_QNAME);
bindingType.setUnresolved(true);
((PolicySetAttachPoint)scaBinding).setType(bindingType);
return scaBinding;
}
This is used to create the SCA binding for wires without explicit bindings.
My question is, how is the IntentAttachPointType model resolved? This code
is in the build phase, which is past the read and resolve phases. I can't
see how it is resolved. The consequence of not resolving it is that the
bindingType definition for binding.sca (which may define mayProvide or
alwaysProvides intents) won't be used. I tried to add a resolve() call here
to try to resolve the model but I couldn't figure out how to get the
ModelResolver to use.
Greg