程序包 | 说明 |
---|---|
org.nutz.ioc |
Ioc 容器
提供 Nutz.Ioc 所有的功能,什么是 Ioc 都不知道?
|
org.nutz.ioc.impl | |
org.nutz.ioc.java | |
org.nutz.ioc.val | |
org.nutz.ioc.weaver | |
org.nutz.mvc.impl |
限定符和类型 | 方法和说明 |
---|---|
IocMaking |
IocMaking.clone(String objectName) |
限定符和类型 | 方法和说明 |
---|---|
Object |
ObjectWeaver.born(IocMaking ing)
根据自身内容创建一个对象,并触发创建事件
|
<T> T |
ObjectWeaver.fill(IocMaking ing,
T obj)
根据容器构造时,为一个对象填充字段
|
<T> T |
ObjectProxy.get(Class<T> classOfT,
IocMaking ing) |
Object |
ValueProxy.get(IocMaking ing) |
ObjectProxy |
ObjectMaker.make(IocMaking ing,
IocObject iobj)
根据 IocObject 制作一个对象代理,如果对象是 singleton,则保存在上下文环境中
|
ValueProxy |
ValueProxyMaker.make(IocMaking ing,
IocValue iv)
如果返回的是 null,则表示当前的实现不能解释这个 IocValue,容器会调用下一个 ValueProxyMaker 来做解析
|
限定符和类型 | 方法和说明 |
---|---|
IocMaking |
NutIoc.makeIocMaking(IocContext context,
String name)
暴露IocMaking的创建过程
|
限定符和类型 | 方法和说明 |
---|---|
ObjectProxy |
ObjectMakerImpl.make(IocMaking ing,
IocObject iobj) |
ValueProxy |
DefaultValueProxyMaker.make(IocMaking ing,
IocValue iv) |
限定符和类型 | 方法和说明 |
---|---|
Object |
ChainNode.eval(IocMaking ing) |
protected Object |
StringNode.getValue(IocMaking ing,
Object obj) |
protected Object |
StaticFunctionNode.getValue(IocMaking ing,
Object obj) |
protected Object |
ObjectFunctionNode.getValue(IocMaking ing,
Object obj) |
protected Object |
NumberNode.getValue(IocMaking ing,
Object obj) |
protected Object |
NullNode.getValue(IocMaking ing,
Object obj) |
protected Object |
IocSelfNode.getValue(IocMaking ing,
Object obj) |
protected Object |
IocObjectNode.getValue(IocMaking ing,
Object obj) |
protected Object |
IocObjectNameNode.getValue(IocMaking ing,
Object obj) |
protected Object |
IocContextNode.getValue(IocMaking ing,
Object obj) |
protected Object |
FieldNode.getValue(IocMaking ing,
Object obj) |
protected abstract Object |
ChainNode.getValue(IocMaking ing,
Object obj) |
protected Object |
BooleanNode.getValue(IocMaking ing,
Object obj) |
限定符和类型 | 方法和说明 |
---|---|
Object |
StaticValue.get(IocMaking ing) |
Object |
ReferValue.get(IocMaking ing) |
Object |
ReferTypeValue.get(IocMaking ing) |
Object |
ObjectNameValue.get(IocMaking ing) |
Object |
MapValue.get(IocMaking ing) |
Object |
ListableValueProxy.get(IocMaking ing) |
Object |
JNDI_Value.get(IocMaking ing) |
Object |
JavaValue.get(IocMaking ing) |
Object |
IocSelfValue.get(IocMaking ing) |
Object |
IocContextObjectValue.get(IocMaking ing) |
Object |
InnerValue.get(IocMaking ing) |
Object |
FileValue.get(IocMaking ing) |
Object |
EL_Value.get(IocMaking ing) |
Object |
CollectionValue.get(IocMaking ing) |
Object |
ArrayValue.get(IocMaking ing) |
构造器和说明 |
---|
ArrayValue(IocMaking ing,
IocValue[] array) |
CollectionValue(IocMaking ing,
Collection<IocValue> col,
Class<? extends Collection<Object>> type) |
MapValue(IocMaking ing,
Map<String,IocValue> map,
Class<? extends Map<String,Object>> type) |
限定符和类型 | 方法和说明 |
---|---|
Object |
DefaultWeaver.born(IocMaking ing) |
<T> T |
DefaultWeaver.fill(IocMaking ing,
T obj) |
限定符和类型 | 方法和说明 |
---|---|
ValueProxy |
ServletValueProxyMaker.make(IocMaking ing,
IocValue iv) |
Copyright © 2017. All rights reserved.