|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.opencms.db.CmsDbContextFactory
A default implementation of I_CmsDbContextFactory.
| Constructor Summary | |
CmsDbContextFactory()
|
|
| Method Summary | |
CmsDbContext |
getDbContext()
Returns a new database context. |
CmsDbContext |
getDbContext(CmsRequestContext context)
Returns a new database context based on the given user request context. |
void |
initialize(CmsDriverManager driverManager)
Initializes the runtime info factory with the OpenCms driver manager. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CmsDbContextFactory()
| Method Detail |
public CmsDbContext getDbContext()
I_CmsDbContextFactory
getDbContext in interface I_CmsDbContextFactoryI_CmsDbContextFactory.getDbContext()public CmsDbContext getDbContext(CmsRequestContext context)
I_CmsDbContextFactory
getDbContext in interface I_CmsDbContextFactorycontext - the user request context to initialize the database context with
I_CmsDbContextFactory.getDbContext(org.opencms.file.CmsRequestContext)public void initialize(CmsDriverManager driverManager)
I_CmsDbContextFactory
initialize in interface I_CmsDbContextFactorydriverManager - the initialized OpenCms driver managerI_CmsDbContextFactory.initialize(org.opencms.db.CmsDriverManager)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||