Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Java-SCA-1.0
-
None
Description
CompositeConfigurationBuilderImpl has the following code in the configureComponents method.
// Initialize service bindings
- for (ComponentService componentService : component.getServices()) {
// Create default SCA binding
if (componentService.getBindings().isEmpty())
// Set binding names and URIs
for (Binding binding : componentService.getBindings()) {
// Binding name defaults to the service name
if (binding.getName() == null)
String bindingURI;
if (binding.getURI() == null) {
- if (componentServices.size() > 1) {
Note that the service collection size that is tested to determine what form of URL to use (the last line) is a different collection compared to the outer loop (the first list). The callback services are added into the component.getServices() after componentServices has been calculated.