public class OhaiModule
extends com.google.inject.AbstractModule
Modifier and Type | Class and Description |
---|---|
static class |
OhaiModule.CurrentUserProvider |
static class |
OhaiModule.OhaiTimeProvider |
static class |
OhaiModule.PlatformProvider |
static class |
OhaiModule.PlatformVersionProvider |
static class |
OhaiModule.SystemPropertiesProvider |
static class |
OhaiModule.SystemPropertyProvider |
Constructor and Description |
---|
OhaiModule() |
Modifier and Type | Method and Description |
---|---|
com.google.inject.multibindings.MapBinder<String,com.google.common.base.Supplier<JsonBall>> |
bindOhai() |
protected void |
configure() |
protected Long |
millis() |
protected com.google.common.base.Supplier<Map<String,JsonBall>> |
provideAutomatic(AutomaticSupplier in) |
protected Properties |
systemProperties() |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected void configure()
configure
in class com.google.inject.AbstractModule
@Provides protected com.google.common.base.Supplier<Map<String,JsonBall>> provideAutomatic(AutomaticSupplier in)
@Named(value="systemProperties") @Provides protected Properties systemProperties()
public com.google.inject.multibindings.MapBinder<String,com.google.common.base.Supplier<JsonBall>> bindOhai()
@Provides protected Long millis()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.