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 DIRuntimeException
DIRuntimeException
public static Injector createInjector(Collection<Module> modules)
Copyright © 2001–2019 Apache Cayenne. All rights reserved.