net.yudichev.jiotty.common.rest.RestServerModule Maven / Gradle / Ivy
package net.yudichev.jiotty.common.rest;
import net.yudichev.jiotty.common.inject.BaseLifecycleComponentModule;
import net.yudichev.jiotty.common.inject.ExposedKeyModule;
public final class RestServerModule extends BaseLifecycleComponentModule implements ExposedKeyModule {
@Override
protected void configure() {
bind(getExposedKey()).to(boundLifecycleComponent(SparkRestServer.class));
expose(getExposedKey());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy