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

net.yudichev.jiotty.common.app.ApplicationSupportModule Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
package net.yudichev.jiotty.common.app;

import com.google.inject.AbstractModule;

import static com.google.common.base.Preconditions.checkNotNull;

final class ApplicationSupportModule extends AbstractModule {
    private final ApplicationLifecycleControl applicationLifecycleControl;

    ApplicationSupportModule(ApplicationLifecycleControl applicationLifecycleControl) {
        this.applicationLifecycleControl = checkNotNull(applicationLifecycleControl);
    }

    @Override
    protected void configure() {
        bind(ApplicationLifecycleControl.class).toInstance(applicationLifecycleControl);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy