title MyBatis初始化流程
MyBatis-config.xml->+Client: reader或者InputStrean流
Client->+SqlSessionFactoryBuilder:build(inputStream)
SqlSessionFactoryBuilder->+XMLConfigBuilder:new XMLConfigBuilder()
XMLConfigBuilder->+Configuration:parse()
Configuration–>-XMLConfigBuilder:返回Configuration对象
XMLConfigBuilder–>-SqlSessionFactoryBuilder:返回Configuration对象
SqlSessionFactoryBuilder->SqlSessionFactoryBuilder:build(返回Configuration对象)
SqlSessionFactoryBuilder->-Client:返回SqlSessionFactory实列