public class DefaultMirrorFactory extends AbstractLifeCycle implements MirrorFactory
LifeCycle.Event, LifeCycle.Listener| Modifier and Type | Field and Description |
|---|---|
ThreadLocal<Object> |
L |
| Constructor and Description |
|---|
DefaultMirrorFactory(Ioc ioc) |
| Modifier and Type | Method and Description |
|---|---|
<T> Mirror<T> |
getMirror(Class<T> type,
String name)
根据一个类型生成 Mirror 对象
|
void |
init() |
void |
setAopConfigration(AopConfigration aopConfigration) |
depose, fetch, triggerpublic ThreadLocal<Object> L
public DefaultMirrorFactory(Ioc ioc)
public <T> Mirror<T> getMirror(Class<T> type, String name)
MirrorFactorygetMirror in interface MirrorFactorypublic void setAopConfigration(AopConfigration aopConfigration)
public void init()
init in interface LifeCycleinit in class AbstractLifeCycleCopyright © 2017. All rights reserved.