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