Package org.jclouds.ohai.config
Class JMXOhaiModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.jclouds.ohai.config.OhaiModule
-
- org.jclouds.ohai.config.JMXOhaiModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class JMXOhaiModule extends OhaiModule
Wires the components needed to parse ohai data from a JVM
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jclouds.ohai.config.OhaiModule
OhaiModule.CurrentUserProvider, OhaiModule.OhaiTimeProvider, OhaiModule.PlatformProvider, OhaiModule.PlatformVersionProvider, OhaiModule.SystemPropertiesProvider, OhaiModule.SystemPropertyProvider
-
-
Constructor Summary
Constructors Constructor Description JMXOhaiModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.inject.multibindings.MapBinder<String,com.google.common.base.Supplier<JsonBall>>
bindOhai()
protected RuntimeMXBean
guiceProvideRuntimeMXBean()
protected RuntimeMXBean
provideRuntimeMXBean()
-
Methods inherited from class org.jclouds.ohai.config.OhaiModule
configure, guiceProvideAutomatic, millis, provideAutomatic, provideMillis, provideSystemProperties, systemProperties
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
guiceProvideRuntimeMXBean
@Provides @Singleton protected final RuntimeMXBean guiceProvideRuntimeMXBean()
-
provideRuntimeMXBean
protected RuntimeMXBean provideRuntimeMXBean()
-
bindOhai
public com.google.inject.multibindings.MapBinder<String,com.google.common.base.Supplier<JsonBall>> bindOhai()
- Overrides:
bindOhai
in classOhaiModule
-
-