public class MethodSourceContainer extends BaseNamespaceContainer<Object,Object> implements Container
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MethodSourceContainer.MethodSource |
| 限定符和类型 | 字段和说明 |
|---|---|
Map<String,MethodSourceContainer.MethodSource> |
methodCache |
| 构造器和说明 |
|---|
MethodSourceContainer() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Map<String,Map<Object,Object>> |
getSources(com.google.common.collect.Multimap<String,Object> namespaceAndKeys)
根据装配的key字段值与namespace获取对应的数据源对象集合
|
void |
register(Object methodSourceBean)
注册方法数据源
|
void |
unregister(String namespace)
注销已注册方法数据源
|
getNamespaceAndKeyFromTargets, parseKey, process, writeToTargetsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparator, compareTo, getActualOrder, getOrderpublic final Map<String,MethodSourceContainer.MethodSource> methodCache
public void unregister(String namespace)
namespace - 命名空间public void register(Object methodSourceBean)
methodSourceBean - 方法数据源@Nonnull protected Map<String,Map<Object,Object>> getSources(@Nonnull com.google.common.collect.Multimap<String,Object> namespaceAndKeys)
BaseNamespaceContainergetSources 在类中 BaseNamespaceContainer<Object,Object>namespaceAndKeys - namespace与key字段值集合Copyright © 2022. All rights reserved.