org.webpieces.plugins.hsqldb.H2DbPlugin Maven / Gradle / Ivy
package org.webpieces.plugins.hsqldb;
import java.util.List;
import org.webpieces.router.api.routing.Plugin;
import org.webpieces.router.api.routing.Routes;
import com.google.common.collect.Lists;
import com.google.inject.Module;
public class H2DbPlugin implements Plugin {
private H2DbConfig config;
public H2DbPlugin(H2DbConfig config) {
this.config = config;
}
@Override
public List getGuiceModules() {
return Lists.newArrayList(new H2DbModule(config));
}
@Override
public List getRouteModules() {
return Lists.newArrayList(new H2DbRoutes(config));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy