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

samplest.hello.HelloResourceFactoryMachine Maven / Gradle / Ivy

There is a newer version: 1.2.0-rc2
Show newest version
package samplest.hello;

import com.google.common.collect.ImmutableSet;
import restx.factory.*;
import samplest.hello.HelloResource;

@Machine
public class HelloResourceFactoryMachine extends SingleNameFactoryMachine {
    public static final Name NAME = Name.of(samplest.hello.HelloResource.class, "HelloResource");

    public HelloResourceFactoryMachine() {
        super(0, new StdMachineEngine(NAME, 0, BoundlessComponentBox.FACTORY) {


            @Override
            public BillOfMaterials getBillOfMaterial() {
                return new BillOfMaterials(ImmutableSet.>of(

                ));
            }

            @Override
            protected samplest.hello.HelloResource doNewComponent(SatisfiedBOM satisfiedBOM) {
                return new HelloResource(

                );
            }
        });
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy