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

org.craftsmenlabs.gareth.rest.RestServiceFactoryImpl Maven / Gradle / Ivy

There is a newer version: 0.8.7
Show newest version
package org.craftsmenlabs.gareth.rest;

import org.craftsmenlabs.gareth.api.ExperimentEngine;
import org.craftsmenlabs.gareth.api.rest.RestService;
import org.craftsmenlabs.gareth.api.rest.RestServiceFactory;

public class RestServiceFactoryImpl implements RestServiceFactory {

    @Override
    public RestService create(final ExperimentEngine experimentEngine, final int port) {
        return new RestServiceImpl
                .Builder()
                .setExperimentEngine(experimentEngine)
                .build();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy