new CompositeComponentType<ServiceDefinition, ReferenceDefinition, JavaMappedProperty<?>>();
innerType.add(createInnerSourceComponentDef());
ReferenceDefinition reference = new ReferenceDefinition();
reference.setName("TargetComponentRef");
JavaInterfaceProcessorRegistry registry = new JavaInterfaceProcessorRegistryImpl();
JavaServiceContract targetContract = registry.introspect(Target.class);
reference.setServiceContract(targetContract);
innerType.add(reference);
BindlessServiceDefinition service = new BindlessServiceDefinition();
service.setName("InnerSourceService");
JavaServiceContract sourceContract = registry.introspect(Source.class);
service.setServiceContract(sourceContract);
service.setTarget(new URI("InnerSourceComponent"));
innerType.add(service);
CompositeImplementation innerImpl = new CompositeImplementation();