|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mybatis.guice.session.SqlSessionFactoryProvider
@Singleton public final class SqlSessionFactoryProvider
Builds the SqlSessionFactory ant let google-guice injects his components.
| Constructor Summary | |
|---|---|
SqlSessionFactoryProvider()
|
|
SqlSessionFactoryProvider(org.apache.ibatis.session.Configuration configuration)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
createNewSqlSessionFactory(org.apache.ibatis.session.Configuration configuration)
Creates a new SqlSessionFactory from the specified configuration. |
org.apache.ibatis.session.SqlSessionFactory |
get()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SqlSessionFactoryProvider()
@Deprecated public SqlSessionFactoryProvider(org.apache.ibatis.session.Configuration configuration)
configuration - the specified configration.| Method Detail |
|---|
@Inject public void createNewSqlSessionFactory(org.apache.ibatis.session.Configuration configuration)
configuration - the specified configuration.public org.apache.ibatis.session.SqlSessionFactory get()
get in interface javax.inject.Provider<org.apache.ibatis.session.SqlSessionFactory>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||