All Downloads are FREE. Search and download functionalities are using the official Maven repository.

restx.http.HttpModuleFactoryMachine Maven / Gradle / Ivy

There is a newer version: 1.2.0-rc2
Show newest version
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(
	        
	                    );
                }
            },

        });
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy