XMLConfigBuilder
new XMLConfigBuilder()
Configuration
解析全局配置和Mapper文件,设置Configuration和MappedStatement
SqlSessionFactoryBuilder
build(in)
DefaultSqlSessionFactory
build(config)
new DefaultSqlSessionFactory(config)
new Configuration()
return DefaultSqlSessionFactory
parse()