|
|
|
|
上一个类
下一个类 |
框架
无框架
|
|
摘要: 嵌套 | 字段 | 构造方法 | 方法 |
详细信息: 字段 | 构造方法 | 方法 |
com.baidu.unbiz.fluentvalidator.registry
接口 Registry
- 所有已知实现类:
- SimpleRegistry
public interface Registry
Bean注册查找器
框架内部的FluentValidator使用此接口来查找验证器Validator实例,可以看做通用的容器查找入口。
简单的通过当前的ClassLoader通过反射初始化一个Validator实例,也可以选择使用Spring等IoC容器,使用ApplicationContext查找验证器Validator
- 作者:
- zhangxu
findByType
<T> List<T> findByType(Class<T> type)
- 查找Bean
- 参数:
type - 类型
- 返回:
- 可找到的Bean的实例列表
|
|
|
|
上一个类
下一个类 |
框架
无框架
|
|
摘要: 嵌套 | 字段 | 构造方法 | 方法 |
详细信息: 字段 | 构造方法 | 方法 |
Copyright © 2015–2016 neoremind. All rights reserved.