}
public void registerDeployedServiceAssembly(ServiceReference serviceReference, DeployedAssembly assembly) {
try {
ServiceAssemblyDesc desc = new ServiceAssemblyDesc();
desc.setIdentification(new Identification());
desc.getIdentification().setName(assembly.getName());
List<ServiceUnitImpl> sus = new ArrayList<ServiceUnitImpl>();
for (Map.Entry<String, String> unit : assembly.getServiceUnits().entrySet()) {
ServiceUnitDesc suDesc = new ServiceUnitDesc();
suDesc.setIdentification(new Identification());
suDesc.getIdentification().setName(unit.getKey());
suDesc.setTarget(new Target());
suDesc.getTarget().setComponentName(unit.getValue());
ServiceUnitImpl su = new ServiceUnitImpl(suDesc, null, components.get(unit.getValue()));
sus.add(su);