use of io.apiman.gateway.engine.EngineConfigTuple in project apiman by apiman.
the class ConfigDrivenEngineFactory method createInitializers.
/**
* @see io.apiman.gateway.engine.impl.AbstractEngineFactory#createInitializers(io.apiman.gateway.engine.IPluginRegistry)
*/
@Override
protected List<IGatewayInitializer> createInitializers(IPluginRegistry pluginRegistry) {
List<IGatewayInitializer> rval = new ArrayList<>();
List<EngineConfigTuple<? extends IGatewayInitializer>> initializers = engineConfig.getGatewayInitializers(pluginRegistry);
for (EngineConfigTuple<? extends IGatewayInitializer> tuple : initializers) {
IGatewayInitializer initializer = create(tuple.getComponentClass(), tuple.getComponentConfig());
rval.add(initializer);
}
return rval;
}
Aggregations