SequenceMediator sequence = (SequenceMediator) m;
List<ConfigurationObject> providers = new ArrayList<ConfigurationObject>();
if (sequence.getKey() != null) {
// If this is a sequence which simply refers to another sequence then
// the provider sequence acts as the only dependency
Value key = sequence.getKey();
if (key != null) {
addProvider(new ConfigurationObject(ConfigurationObject.TYPE_SEQUENCE,
key.getKeyValue()), providers);
}
return providers;
} else {
// Otherwise we need to resolve child mediators
resolveListMediator(sequence, providers);