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