public class PtolemyInjector
extends java.lang.Object
| Red (ahuseyno) |
| Red (ahuseyno) |
| Constructor and Description |
|---|
PtolemyInjector() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createInjector(java.lang.Iterable<? extends PtolemyModule> modules)
Create an injector for the given set of modules.
|
static void |
createInjector(PtolemyModule... modules)
Create an injector for the given set of modules.
|
static Injector |
getInjector()
Return the PtolemyInjector.
|
public static void createInjector(PtolemyModule... modules)
modules - the array of modules that contain interface to implementation bindings
used to implement dependency injection.public static void createInjector(java.lang.Iterable<? extends PtolemyModule> modules)
modules - the array of modules that contain interface to implementation bindings
used to implement dependency injection.public static Injector getInjector()
createInjector(PtolemyModule...)
must be called prior to using this method.