List<UnsatisfiedReferenceDTO> dtos = new ArrayList<UnsatisfiedReferenceDTO>();
for (ReferenceManager<?, ?> ref: referenceManagers)
{
if (!ref.isSatisfied())
{
UnsatisfiedReferenceDTO dto = new UnsatisfiedReferenceDTO();
dto.name = ref.getName();
dto.target = ref.getTarget();
List<ServiceReference<?>> serviceRefs = ref.getServiceReferences();
ServiceReferenceDTO[] srDTOs = new ServiceReferenceDTO[serviceRefs.size()];
int j = 0;