org.elasticsearch.common.inject
Class ModulesBuilder

java.lang.Object
  extended by org.elasticsearch.common.inject.ModulesBuilder
All Implemented Interfaces:
java.lang.Iterable<org.elasticsearch.common.inject.Module>

public class ModulesBuilder
extends java.lang.Object
implements java.lang.Iterable<org.elasticsearch.common.inject.Module>


Constructor Summary
ModulesBuilder()
           
 
Method Summary
 ModulesBuilder add(org.elasticsearch.common.inject.Module... modules)
           
 ModulesBuilder add(org.elasticsearch.common.inject.Module module)
           
 org.elasticsearch.common.inject.Injector createChildInjector(org.elasticsearch.common.inject.Injector injector)
           
 org.elasticsearch.common.inject.Injector createInjector()
           
 java.util.Iterator<org.elasticsearch.common.inject.Module> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModulesBuilder

public ModulesBuilder()
Method Detail

add

public ModulesBuilder add(org.elasticsearch.common.inject.Module... modules)

add

public ModulesBuilder add(org.elasticsearch.common.inject.Module module)

iterator

public java.util.Iterator<org.elasticsearch.common.inject.Module> iterator()
Specified by:
iterator in interface java.lang.Iterable<org.elasticsearch.common.inject.Module>

createInjector

public org.elasticsearch.common.inject.Injector createInjector()

createChildInjector

public org.elasticsearch.common.inject.Injector createChildInjector(org.elasticsearch.common.inject.Injector injector)