List discoveredComponentDescriptors = new ArrayList();
for ( Iterator i = container.getComponentDiscovererManager().getComponentDiscoverers().iterator(); i.hasNext(); )
{
ComponentDiscoverer componentDiscoverer = (ComponentDiscoverer) i.next();
List componentSetDescriptors = componentDiscoverer.findComponents( container.getContext(), realm );
for ( Iterator j = componentSetDescriptors.iterator(); j.hasNext(); )
{
ComponentSetDescriptor componentSet = (ComponentSetDescriptor) j.next();