return componentRegistry.getComponentHolder(b, name);
}
private ComponentDescriptionDTO holderToDescription( ComponentHolder<?> holder )
{
ComponentDescriptionDTO dto = new ComponentDescriptionDTO();
ComponentMetadata m = holder.getComponentMetadata();
dto.activate = m.getActivate();
dto.bundle = bundleToDTO(holder.getActivator().getBundleContext());
dto.configurationPid = m.getConfigurationPid().toArray(new String[m.getConfigurationPid().size()]);
dto.configurationPolicy = m.getConfigurationPolicy();