code: public Collection<Deployment> findByMessageListener(String messageListener)
     {
        Collection<Deployment> result = new ArrayList<Deployment>();
        for (Deployment d : deployments)
        {
           if (d.getResourceAdapter() != null && d.getResourceAdapter().isMessageListenerSupported(messageListener))
              result.add(d);
        }
        return Collections.unmodifiableCollection(result);
     }
docs: {@inheritDoc}