restx.security.PermissionFactoryFactoryMachine Maven / Gradle / Ivy
package restx.security;
import com.google.common.collect.ImmutableSet;
import restx.factory.*;
import restx.security.PermissionFactory;
@Machine
public class PermissionFactoryFactoryMachine extends SingleNameFactoryMachine {
public static final Name NAME = Name.of(restx.security.PermissionFactory.class, "PermissionFactory");
public PermissionFactoryFactoryMachine() {
super(0, new StdMachineEngine(NAME, 0, BoundlessComponentBox.FACTORY) {
@Override
public BillOfMaterials getBillOfMaterial() {
return new BillOfMaterials(ImmutableSet.>of(
));
}
@Override
protected restx.security.PermissionFactory doNewComponent(SatisfiedBOM satisfiedBOM) {
return new PermissionFactory(
);
}
});
}
}