throttleMediator.getOnAcceptMediator());
for (ConfigurationObject o : sequenceProviders) {
addProvider(o, providers);
}
} else if (throttleMediator.getOnAcceptSeqKey() != null) {
addProvider(new ConfigurationObject(ConfigurationObject.TYPE_SEQUENCE,
throttleMediator.getOnAcceptSeqKey()), providers);
}
if (throttleMediator.getOnRejectMediator() != null) {
DependencyResolver resolver = DependencyResolverFactory.getInstance().
getResolver(throttleMediator.getOnRejectMediator());
List<ConfigurationObject> sequenceProviders = resolver.resolve(
throttleMediator.getOnRejectMediator());
for (ConfigurationObject o : sequenceProviders) {
addProvider(o, providers);
}
} else if (throttleMediator.getOnRejectSeqKey() != null) {
addProvider(new ConfigurationObject(ConfigurationObject.TYPE_SEQUENCE,
throttleMediator.getOnRejectSeqKey()), providers);
}
return providers;
}