org.jclouds.ohai.config
Class OhaiModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.ohai.config.OhaiModule
All Implemented Interfaces:
com.google.inject.Module
Direct Known Subclasses:
JMXOhaiModule

public class OhaiModule
extends com.google.inject.AbstractModule

Wires the components needed to parse ohai data


Nested Class Summary
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 Summary
OhaiModule()
           
 
Method Summary
 com.google.inject.multibindings.MapBinder<String,com.google.common.base.Supplier<org.jclouds.domain.JsonBall>> bindOhai()
           
protected  void configure()
           
protected  Long millis()
           
protected  com.google.common.base.Supplier<Map<String,org.jclouds.domain.JsonBall>> provideAutomatic(AutomaticSupplier in)
           
protected  Properties systemProperties()
           
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OhaiModule

public OhaiModule()
Method Detail

configure

protected void configure()
Specified by:
configure in class com.google.inject.AbstractModule

provideAutomatic

@Provides
protected com.google.common.base.Supplier<Map<String,org.jclouds.domain.JsonBall>> provideAutomatic(AutomaticSupplier in)

systemProperties

@Named(value="systemProperties")
@Provides
protected Properties systemProperties()

bindOhai

public com.google.inject.multibindings.MapBinder<String,com.google.common.base.Supplier<org.jclouds.domain.JsonBall>> bindOhai()

millis

@Provides
protected Long millis()


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.