|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CDOSessionConfiguration
| Method Summary | |
|---|---|
CDOAuthenticator |
getAuthenticator()
Returns the authenticator of this configuration, never null. |
CDOSession.ExceptionHandler |
getExceptionHandler()
|
CDOPackageRegistry |
getPackageRegistry()
|
java.lang.String |
getRepositoryName()
|
CDORevisionCache |
getRevisionCache()
|
boolean |
isActivateOnOpen()
Returns true if the session opened by openSession() will be automatically activated,
false otherwise. |
boolean |
isSessionOpen()
Returns true if the session for this configuration is currently open, false otherwise. |
CDOSession |
openSession()
Opens the session for this configuration. |
void |
setActivateOnOpen(boolean activateOnOpen)
Specifies whether the session opened by openSession() will be automatically activated or not. |
void |
setExceptionHandler(CDOSession.ExceptionHandler exceptionHandler)
A special exception handler can be set before the session is opened and can not be changed thereafter. |
void |
setPackageRegistry(CDOPackageRegistry packageRegistry)
A special package registry can be set before the session is opened and can not be changed thereafter. |
void |
setRepositoryName(java.lang.String repositoryName)
|
void |
setRevisionCache(CDORevisionCache revisionCache)
A special revision cache can be set before the session is opened and can not be changed thereafter. |
| Method Detail |
|---|
java.lang.String getRepositoryName()
CDOSession#getName()void setRepositoryName(java.lang.String repositoryName)
CDOSession#getName()CDOSession.ExceptionHandler getExceptionHandler()
CDOSession.getExceptionHandler()void setExceptionHandler(CDOSession.ExceptionHandler exceptionHandler)
CDOSession.getExceptionHandler()CDOPackageRegistry getPackageRegistry()
CDOSession.getPackageRegistry()void setPackageRegistry(CDOPackageRegistry packageRegistry)
CDOSession.getPackageRegistry()CDORevisionCache getRevisionCache()
CDORevisionResolverImpl.getCache()void setRevisionCache(CDORevisionCache revisionCache)
CDORevisionResolverImpl.setCache(CDORevisionCache)CDOAuthenticator getAuthenticator()
null.
boolean isActivateOnOpen()
true if the session opened by openSession() will be automatically activated,
false otherwise.
void setActivateOnOpen(boolean activateOnOpen)
openSession() will be automatically activated or not.
boolean isSessionOpen()
true if the session for this configuration is currently open, false otherwise.
CDOSession openSession()
|
Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||