本文整理汇总了Java中org.apache.ibatis.reflection.ReflectorFactory类的典型用法代码示例。如果您正苦于以下问题:Java ReflectorFactory类的具体用法?Java ReflectorFactory怎么用?Java ReflectorFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ReflectorFactory类属于org.apache.ibatis.reflection包,在下文中一共展示了ReflectorFactory类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: reflectorFactoryElement
import org.apache.ibatis.reflection.ReflectorFactory; //导入依赖的package包/类
private void reflectorFactoryElement(XNode context) throws Exception {
if (context != null) {
String type = context.getStringAttribute("type");
ReflectorFactory factory = (ReflectorFactory) resolveClass(type).newInstance();
configuration.setReflectorFactory(factory);
}
}
示例2: reflectionFactoryElement
import org.apache.ibatis.reflection.ReflectorFactory; //导入依赖的package包/类
private void reflectionFactoryElement(XNode context) throws Exception {
if (context != null) {
String type = context.getStringAttribute("type");
ReflectorFactory factory = (ReflectorFactory) resolveClass(type).newInstance();
configuration.setReflectorFactory(factory);
}
}
示例3: reflectorFactoryElement
import org.apache.ibatis.reflection.ReflectorFactory; //导入依赖的package包/类
private void reflectorFactoryElement(XNode context) throws Exception {
if (context != null) {
String type = context.getStringAttribute("type");
ReflectorFactory factory = (ReflectorFactory) resolveClass(type).newInstance();
configuration.setReflectorFactory(factory);
}
}
示例4: DefaultMapResultHandler
import org.apache.ibatis.reflection.ReflectorFactory; //导入依赖的package包/类
@SuppressWarnings("unchecked")
public DefaultMapResultHandler(String mapKey, ObjectFactory objectFactory, ObjectWrapperFactory objectWrapperFactory, ReflectorFactory reflectorFactory) {
this.objectFactory = objectFactory;
this.objectWrapperFactory = objectWrapperFactory;
this.reflectorFactory = reflectorFactory;
this.mappedResults = objectFactory.create(Map.class);
this.mapKey = mapKey;
}
示例5: reflectionFactoryElement
import org.apache.ibatis.reflection.ReflectorFactory; //导入依赖的package包/类
private void reflectionFactoryElement(XNode context) throws Exception {
if (context != null) {
String type = context.getStringAttribute("type");
ReflectorFactory factory = (ReflectorFactory) resolveClass(type).newInstance();
configuration.setReflectorFactory(factory);
}
}
示例6: reflectionFactoryElement
import org.apache.ibatis.reflection.ReflectorFactory; //导入依赖的package包/类
private void reflectionFactoryElement(XNode context) throws Exception {
if (context != null) {
String type = context.getStringAttribute("type");
ReflectorFactory factory = (ReflectorFactory) resolveClass(type).newInstance();
configuration.setReflectorFactory(factory);
}
}
示例7: getReflectorFactory
import org.apache.ibatis.reflection.ReflectorFactory; //导入依赖的package包/类
public ReflectorFactory getReflectorFactory() {
return reflectorFactory;
}
示例8: setReflectorFactory
import org.apache.ibatis.reflection.ReflectorFactory; //导入依赖的package包/类
public void setReflectorFactory(ReflectorFactory reflectorFactory) {
this.reflectorFactory = reflectorFactory;
}
示例9: getReflectorFactory
import org.apache.ibatis.reflection.ReflectorFactory; //导入依赖的package包/类
public ReflectorFactory getReflectorFactory() {
return reflectorFactory;
}
示例10: setReflectorFactory
import org.apache.ibatis.reflection.ReflectorFactory; //导入依赖的package包/类
public void setReflectorFactory(ReflectorFactory reflectorFactory) {
this.reflectorFactory = reflectorFactory;
}