|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.webapp.query.QDefaultContextManager
public class QDefaultContextManager
Default implementation of a QContextManager.
Constructor Summary | |
---|---|
QDefaultContextManager()
|
Method Summary | |
---|---|
void |
closeSharedContext(IQContextContainer cc)
If the specified container contains a shared context close it. |
QDataContext |
createUnmanagedContext()
Create an unmanaged (manually closed) context factory. |
QDataContextFactory |
getDataContextFactory()
Return the default QDataContextFactory. |
QDataContext |
getSharedContext(IQContextContainer cc)
Gets a shared QDataContext from the container. |
QDataContextFactory |
getSharedContextFactory(IQContextContainer cc)
Get/create a shared context factory. |
void |
setContextFactory(QDataContextFactory f)
Initialize the data context factory that is to be used by default to allocate QDataContexts. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QDefaultContextManager()
Method Detail |
---|
public void setContextFactory(QDataContextFactory f)
setContextFactory
in interface IQContextManager
IQContextManager.setContextFactory(to.etc.webapp.query.QDataContextFactory)
public QDataContextFactory getDataContextFactory()
getDataContextFactory
in interface IQContextManager
IQContextManager.getDataContextFactory()
public QDataContext createUnmanagedContext() throws java.lang.Exception
createUnmanagedContext
in interface IQContextManager
java.lang.Exception
IQContextManager.createUnmanagedContext()
public QDataContextFactory getSharedContextFactory(IQContextContainer cc)
getSharedContextFactory
in interface IQContextManager
IQContextManager.getSharedContextFactory(to.etc.webapp.query.IQContextContainer)
public QDataContext getSharedContext(IQContextContainer cc) throws java.lang.Exception
getSharedContext
in interface IQContextManager
java.lang.Exception
IQContextManager.getSharedContext(to.etc.webapp.query.IQContextContainer)
public void closeSharedContext(IQContextContainer cc)
closeSharedContext
in interface IQContextManager
IQContextManager.closeSharedContext(to.etc.webapp.query.IQContextContainer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |