Package org.eclipse.emf.cdo.session
Schnittstelle CDOSessionConfiguration
- Alle Superschnittstellen:
org.eclipse.net4j.util.event.INotifier
- Alle bekannten Unterschnittstellen:
CDONet4jSessionConfiguration
,CDOSessionConfiguration
,FailoverCDOSessionConfiguration
,InternalCDOSessionConfiguration
,ReconnectingCDOSessionConfiguration
,RecoveringCDOSessionConfiguration
public interface CDOSessionConfiguration
extends org.eclipse.net4j.util.event.INotifier
Configures and opens new
sessions
.
A session configuration can fire the following events:
-
CDOSessionConfiguration.SessionOpenedEvent
after a session has been opened by this configuration.
- Seit:
- 2.0
- Autor:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic interface
Fired from asession configuration
after a newsession
has been opened.Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungVeraltet.org.eclipse.net4j.util.security.IPasswordCredentialsProvider
byte[]
boolean
Returnstrue
if the session opened byopenSession()
will be automatically activated,false
otherwise.boolean
boolean
Returnstrue
if the session for this configuration is currently open,false
otherwise.Opens the session for this configuration.void
setActivateOnOpen
(boolean activateOnOpen) Specifies whether the session opened byopenSession()
will be automatically activated or not.void
setBranchManager
(CDOBranchManager branchManager) void
setCredentialsProvider
(org.eclipse.net4j.util.security.IPasswordCredentialsProvider credentialsProvider) void
setExceptionHandler
(CDOSession.ExceptionHandler exceptionHandler) A special exception handler can be set before the session is opened and can not be changed thereafter.void
setFetchRuleManager
(CDOFetchRuleManager fetchRuleManager) A special ID generator can be set before the session is opened and can not be changed thereafter.void
setIDGenerator
(CDOIDGenerator idGenerator) A special ID generator can be set before the session is opened and can not be changed thereafter.void
void
setOneTimeLoginToken
(byte[] oneTimeLoginToken) void
setPassiveUpdateEnabled
(boolean passiveUpdateEnabled) void
setPassiveUpdateMode
(CDOCommonSession.Options.PassiveUpdateMode passiveUpdateMode) void
Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Methodendetails
-
getUserID
String getUserID()- Seit:
- 4.2
-
setUserID
- Seit:
- 4.2
-
isPassiveUpdateEnabled
boolean isPassiveUpdateEnabled()- Seit:
- 3.0
- Siehe auch:
-
setPassiveUpdateEnabled
void setPassiveUpdateEnabled(boolean passiveUpdateEnabled) - Seit:
- 3.0
- Siehe auch:
-
getPassiveUpdateMode
CDOCommonSession.Options.PassiveUpdateMode getPassiveUpdateMode()- Seit:
- 3.0
- Siehe auch:
-
setPassiveUpdateMode
- Seit:
- 3.0
- Siehe auch:
-
getLockNotificationMode
CDOCommonSession.Options.LockNotificationMode getLockNotificationMode()- Seit:
- 4.1
-
setLockNotificationMode
- Seit:
- 4.1
-
getExceptionHandler
CDOSession.ExceptionHandler getExceptionHandler()- Siehe auch:
-
setExceptionHandler
A special exception handler can be set before the session is opened and can not be changed thereafter.- Siehe auch:
-
getIDGenerator
CDOIDGenerator getIDGenerator()- Seit:
- 4.1
- Siehe auch:
-
setIDGenerator
A special ID generator can be set before the session is opened and can not be changed thereafter. If notnull
, the passed generator must be thread-safe.- Seit:
- 4.1
- Siehe auch:
-
getFetchRuleManager
CDOFetchRuleManager getFetchRuleManager()- Seit:
- 4.1
- Siehe auch:
-
setFetchRuleManager
A special ID generator can be set before the session is opened and can not be changed thereafter. If notnull
, the passed generator must be thread-safe.- Seit:
- 4.1
- Siehe auch:
-
getBranchManager
CDOBranchManager getBranchManager()- Seit:
- 4.2
-
setBranchManager
- Seit:
- 4.2
-
getAuthenticator
Veraltet.As of 4.2 usegetCredentialsProvider()
andsetCredentialsProvider(IPasswordCredentialsProvider)
, respectivelyReturns the authenticator of this configuration, nevernull
. -
getCredentialsProvider
org.eclipse.net4j.util.security.IPasswordCredentialsProvider getCredentialsProvider()- Seit:
- 4.2
-
setCredentialsProvider
void setCredentialsProvider(org.eclipse.net4j.util.security.IPasswordCredentialsProvider credentialsProvider) - Seit:
- 4.2
-
getOneTimeLoginToken
byte[] getOneTimeLoginToken()- Seit:
- 4.27
-
setOneTimeLoginToken
void setOneTimeLoginToken(byte[] oneTimeLoginToken) - Seit:
- 4.27
-
isActivateOnOpen
boolean isActivateOnOpen()Returnstrue
if the session opened byopenSession()
will be automatically activated,false
otherwise. -
setActivateOnOpen
void setActivateOnOpen(boolean activateOnOpen) Specifies whether the session opened byopenSession()
will be automatically activated or not. -
isSessionOpen
boolean isSessionOpen()Returnstrue
if the session for this configuration is currently open,false
otherwise. -
openSession
CDOSession openSession()Opens the session for this configuration. Once the session is openend this method always returns the same session instance. Therefore it is impossible to change this configuration while the session is open.
-
getCredentialsProvider()
andsetCredentialsProvider(IPasswordCredentialsProvider)
, respectively