@Authors(value="Nikolche Mihajlovski")
@Since(value="5.1.0")
public class IoC
extends org.rapidoid.RapidoidThing
| Constructor and Description |
|---|
IoC() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
autowire(T target) |
static IoCContext |
createContext() |
static IoCContext |
defaultContext() |
static <T> T |
inject(T target) |
static <T> T |
inject(T target,
Map<String,Object> properties) |
static void |
manage(Object... classesOrInstances) |
boolean |
remove(Object bean) |
static <T> T |
singleton(Class<T> type) |
public static IoCContext defaultContext()
public static void manage(Object... classesOrInstances)
public static <T> T singleton(Class<T> type)
public static <T> T autowire(T target)
public static <T> T inject(T target)
public boolean remove(Object bean)
public static IoCContext createContext()
Copyright © 2014–2016 Nikolche Mihajlovski and contributors. All rights reserved.