Package org.apache.cayenne.di
Class DIBootstrap
java.lang.Object
org.apache.cayenne.di.DIBootstrap
public class DIBootstrap extends Object
A class that bootstraps the Cayenne DI container.
- Since:
- 3.1
- 
Constructor SummaryConstructors Constructor Description DIBootstrap()
- 
Method SummaryModifier and Type Method Description static InjectorcreateInjector(Collection<Module> modules)Creates and returns an injector instance working with the set of provided modules.static InjectorcreateInjector(Module... modules)Creates and returns an injector instance working with the set of provided modules.
- 
Constructor Details- 
DIBootstrappublic DIBootstrap()
 
- 
- 
Method Details- 
createInjectorCreates and returns an injector instance working with the set of provided modules.- Throws:
- DIRuntimeException
 
- 
createInjectorCreates and returns an injector instance working with the set of provided modules.
 
-