public class IInjectorService extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<Boolean> |
strictDi |
Modifier | Constructor and Description |
---|---|
protected |
IInjectorService(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static IInjectorService |
$as(Object obj) |
Array<String> |
annotate(Function fn) |
Array<String> |
annotate(Function fn,
Boolean strictDi) |
Array<String> |
annotate(Object[] inlineAnnotatedFunction) |
<T> T |
get(String name) |
<T> T |
get(String name,
String caller) |
Boolean |
has(String name) |
<T> T |
instantiate(Function typeConstructor) |
<T> T |
instantiate(Function typeConstructor,
Object locals) |
Object |
invoke(Function func) |
Object |
invoke(Function func,
Object context) |
Object |
invoke(Function func,
Object context,
Object locals) |
Object |
invoke(Object[] inlineAnnotatedFunction) |
Boolean |
strictDi() |
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<Boolean> strictDi
protected IInjectorService(Objs.Constructor<?> c, Object js)
public static IInjectorService $as(Object obj)
public Boolean strictDi()
public <T> T get(String name)
public <T> T instantiate(Function typeConstructor)
Copyright © 2018. All rights reserved.