当前位置: 首页>>代码示例>>Java>>正文


Java ReflectorFactory类代码示例

本文整理汇总了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);
    }
}
 
开发者ID:Caratacus,项目名称:mybatis-plus-mini,代码行数:8,代码来源:MybatisXMLConfigBuilder.java

示例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);
  }
}
 
开发者ID:Alfresco,项目名称:alfresco-core,代码行数:8,代码来源:HierarchicalXMLConfigBuilder.java

示例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);
  }
}
 
开发者ID:yuexiahandao,项目名称:MybatisCode,代码行数:8,代码来源:XMLConfigBuilder.java

示例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;
}
 
开发者ID:yuexiahandao,项目名称:MybatisCode,代码行数:9,代码来源:DefaultMapResultHandler.java

示例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);
  }
}
 
开发者ID:txazo,项目名称:mybatis,代码行数:8,代码来源:XMLConfigBuilder.java

示例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);
	}
}
 
开发者ID:whatlookingfor,项目名称:spring-boot-sample,代码行数:8,代码来源:XMLConfigBuilder.java

示例7: getReflectorFactory

import org.apache.ibatis.reflection.ReflectorFactory; //导入依赖的package包/类
public ReflectorFactory getReflectorFactory() {
 return reflectorFactory;
}
 
开发者ID:yuexiahandao,项目名称:MybatisCode,代码行数:4,代码来源:Configuration.java

示例8: setReflectorFactory

import org.apache.ibatis.reflection.ReflectorFactory; //导入依赖的package包/类
public void setReflectorFactory(ReflectorFactory reflectorFactory) {
 this.reflectorFactory = reflectorFactory;
}
 
开发者ID:yuexiahandao,项目名称:MybatisCode,代码行数:4,代码来源:Configuration.java

示例9: getReflectorFactory

import org.apache.ibatis.reflection.ReflectorFactory; //导入依赖的package包/类
public ReflectorFactory getReflectorFactory() {
	return reflectorFactory;
}
 
开发者ID:whatlookingfor,项目名称:spring-boot-sample,代码行数:4,代码来源:Configuration.java

示例10: setReflectorFactory

import org.apache.ibatis.reflection.ReflectorFactory; //导入依赖的package包/类
public void setReflectorFactory(ReflectorFactory reflectorFactory) {
	this.reflectorFactory = reflectorFactory;
}
 
开发者ID:whatlookingfor,项目名称:spring-boot-sample,代码行数:4,代码来源:Configuration.java


注:本文中的org.apache.ibatis.reflection.ReflectorFactory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。