List of usage examples for org.apache.ibatis.builder.annotation MethodResolver MethodResolver
public MethodResolver(MapperAnnotationBuilder annotationBuilder, Method method)
From source file:com.baomidou.mybatisplus.MybatisMapperAnnotationBuilder.java
License:Apache License
public void parse() { String resource = type.toString(); if (!configuration.isResourceLoaded(resource)) { boolean existXml = loadXmlResource(); configuration.addLoadedResource(resource); assistant.setCurrentNamespace(type.getName()); parseCache();/* ww w.ja v a 2 s. c o m*/ parseCacheRef(); Method[] methods = type.getMethods(); // TODO xxMapper.xml CURD (?) inspectInject(existXml); for (Method method : methods) { try { // issue #237 if (!method.isBridge()) { parseStatement(method); } } catch (IncompleteElementException e) { configuration.addIncompleteMethod(new MethodResolver(this, method)); } } } parsePendingMethods(); }
From source file:com.mybatisX.core.MybatisMapperAnnotationBuilder.java
License:Apache License
public void parse() { String resource = type.toString(); if (!configuration.isResourceLoaded(resource)) { boolean existXml = loadXmlResource(); configuration.addLoadedResource(resource); assistant.setCurrentNamespace(type.getName()); parseCache();//from w ww . j a v a2 s. c o m parseCacheRef(); Method[] methods = type.getMethods(); //TODO xxMapper.xml CURD (?) inspectInject(existXml); for (Method method : methods) { try { // issue #237 if (!method.isBridge()) { parseStatement(method); } } catch (IncompleteElementException e) { configuration.addIncompleteMethod(new MethodResolver(this, method)); } } } parsePendingMethods(); }