restx.http.HttpModuleFactoryMachine Maven / Gradle / Ivy
package restx.http;
import com.google.common.collect.ImmutableSet;
import restx.factory.*;
import restx.http.HttpModule;
@Machine
public class HttpModuleFactoryMachine extends DefaultFactoryMachine {
private static final HttpModule module = new HttpModule();
public HttpModuleFactoryMachine() {
super(100, new MachineEngine[] {
new StdMachineEngine(Name.of(restx.http.CurrentLocaleResolver.class, "CurrentLocaleResolver"), 100, BoundlessComponentBox.FACTORY) {
@Override
public BillOfMaterials getBillOfMaterial() {
return new BillOfMaterials(ImmutableSet.>of(
));
}
@Override
public restx.http.CurrentLocaleResolver doNewComponent(SatisfiedBOM satisfiedBOM) {
return module.currentLocaleResolver(
);
}
},
});
}
}