new PojoComponentType<JavaMappedService, JavaMappedReference, JavaMappedProperty<?>>();
componentType.setImplementationScope(Scope.MODULE);
componentType
.setConstructorDefinition(
new ConstructorDefinition<TargetImpl>(TargetImpl.class.getConstructor((Class[]) null)));
JavaMappedService targetServiceDefinition = new JavaMappedService();
targetServiceDefinition.setName("Target");
ServiceContract<?> contract = new JavaServiceContract();
contract.setInterfaceClass(Target.class);
targetServiceDefinition.setServiceContract(contract);
componentType.add(targetServiceDefinition);
impl.setComponentType(componentType);
impl.setImplementationClass(TargetImpl.class);
ComponentDefinition<SystemImplementation> targetComponentDefinition =
new ComponentDefinition<SystemImplementation>(impl);