public class DIBootstrap extends Object
Constructor and Description |
---|
DIBootstrap() |
Modifier and Type | Method and Description |
---|---|
static Injector |
createInjector(Collection<Module> modules)
Creates and returns an injector instance working with the set of provided modules.
|
static Injector |
createInjector(Module... modules)
Creates and returns an injector instance working with the set of provided modules.
|
public static Injector createInjector(Module... modules) throws ConfigurationException
ConfigurationException
public static Injector createInjector(Collection<Module> modules)
Copyright © 2001–2018 Apache Cayenne. All rights reserved.