程序包 | 说明 |
---|---|
org.nutz.ioc |
Ioc 容器
提供 Nutz.Ioc 所有的功能,什么是 Ioc 都不知道?
|
org.nutz.ioc.impl |
限定符和类型 | 方法和说明 |
---|---|
<T> T |
Ioc.get(Class<T> type)
从容器中获取一个对象。
|
<T> T |
Ioc.get(Class<T> type,
String name)
从容器中获取一个对象。
|
boolean |
Ioc.has(String name) |
限定符和类型 | 方法和说明 |
---|---|
<T> T |
NutIoc.get(Class<T> type) |
<T> T |
NutIoc.get(Class<T> type,
String name,
IocContext context) |
Copyright © 2017. All rights reserved.