com.coreoz.plume.guice.GuiceServicesModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plume-services Show documentation
Show all versions of plume-services Show documentation
Common services that are often needed in projects or libraries.
package com.coreoz.plume.guice;
import com.coreoz.plume.services.time.SystemTimeProvider;
import com.coreoz.plume.services.time.TimeProvider;
import com.google.inject.AbstractModule;
public class GuiceServicesModule extends AbstractModule {
@Override
protected void configure() {
bind(TimeProvider.class).to(SystemTimeProvider.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy