com.jdon.container.access
类 TargetMetaDefHolder
java.lang.Object
com.jdon.container.access.TargetMetaDefHolder
- 所有已实现的接口:
- Startable, Serializable
public class TargetMetaDefHolder
- extends Object
- implements Startable, Serializable
以service name为key, Service TargetMetaDef为value
this class is registered in contain.xml every name has one TargetMetaDef
instance, if multi thread access same TargetMetaDef instance, they will
crash.
- 作者:
- banq
- 另请参见:
- 序列化表格
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TargetMetaDefHolder
public TargetMetaDefHolder()
add
public void add(Map<String,TargetMetaDef> maps)
getTargetMetaDef
public TargetMetaDef getTargetMetaDef(String name)
start
public void start()
- 从接口
Startable 复制的描述
- Start this component.
- 指定者:
- 接口
Startable 中的 start
stop
public void stop()
- 从接口
Startable 复制的描述
- Stop this component.
- 指定者:
- 接口
Startable 中的 stop
add
public void add(String name,
TargetMetaDef targetMetaDef)
loadMetaDefs
public Map<String,TargetMetaDef> loadMetaDefs()
lookupForName
public String lookupForName(String ClassName)
Copyright © 2013. All Rights Reserved.