}
private SingletonFactoryMachine<ConfigSupplier> configSupplierMachine(
int priority, String name, final ConfigElement... config) {
return new SingletonFactoryMachine<>(priority,
NamedComponent.of(ConfigSupplier.class, name, new ConfigSupplier() {
@Override
public RestxConfig get() {
return StdRestxConfig.of(asList(config));
}
}));