class SqlSessionTemplate implements SqlSession, DisposableBean {

  @Override
  public <T> T getMapper(Class<T> type) {
    return getConfiguration().getMapper(type, this);
  }

  public  SqlSessionTemplate(SqlSessionFactory sqlSessionFactory);
  public  SqlSessionTemplate(SqlSessionFactory sqlSessionFactory, ExecutorType executorType);
  public  SqlSessionTemplate(SqlSessionFactory sqlSessionFactory, ExecutorType executorType,
      PersistenceExceptionTranslator exceptionTranslator);

}