Package org.eclipse.emf.cdo.net4j
Interface CDONet4jSessionConfiguration
- All Superinterfaces:
CDOSessionConfiguration
,org.eclipse.net4j.util.event.INotifier
- All Known Subinterfaces:
CDOSessionConfiguration
,FailoverCDOSessionConfiguration
,ReconnectingCDOSessionConfiguration
,RecoveringCDOSessionConfiguration
Configures and opens new Net4j-specific CDO
sessions
.- Since:
- 4.1
- Author:
- 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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.session.CDOSessionConfiguration
CDOSessionConfiguration.SessionOpenedEvent
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.net4j.connector.IConnector
long
org.eclipse.net4j.util.io.IStreamWrapper
Deprecated.void
setBranchManager
(CDOBranchManager branchManager) void
setConnector
(org.eclipse.net4j.connector.IConnector connector) void
setPackageRegistry
(CDOPackageRegistry packageRegistry) A special package registry can be set before the session is opened and can not be changed thereafter.void
setRepositoryName
(String repositoryName) void
setRevisionManager
(CDORevisionManager revisionManager) void
setSignalTimeout
(long timeout) void
setStreamWrapper
(org.eclipse.net4j.util.io.IStreamWrapper streamWrapper) Methods inherited from interface org.eclipse.emf.cdo.session.CDOSessionConfiguration
getAuthenticator, getCredentialsProvider, getExceptionHandler, getFetchRuleManager, getIDGenerator, getLockNotificationMode, getPassiveUpdateMode, getUserID, isActivateOnOpen, isPassiveUpdateEnabled, isSessionOpen, setActivateOnOpen, setCredentialsProvider, setExceptionHandler, setFetchRuleManager, setIDGenerator, setLockNotificationMode, setPassiveUpdateEnabled, setPassiveUpdateMode, setUserID
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Method Details
-
getRepositoryName
String getRepositoryName() -
setRepositoryName
-
getConnector
org.eclipse.net4j.connector.IConnector getConnector() -
setConnector
void setConnector(org.eclipse.net4j.connector.IConnector connector) -
getStreamWrapper
org.eclipse.net4j.util.io.IStreamWrapper getStreamWrapper() -
setStreamWrapper
void setStreamWrapper(org.eclipse.net4j.util.io.IStreamWrapper streamWrapper) -
getSignalTimeout
long getSignalTimeout()- Since:
- 4.0
-
setSignalTimeout
void setSignalTimeout(long timeout) - Since:
- 4.0
-
getPackageRegistry
CDOPackageRegistry getPackageRegistry()- See Also:
-
setPackageRegistry
A special package registry can be set before the session is opened and can not be changed thereafter.- See Also:
-
getBranchManager
CDOBranchManager getBranchManager()- Specified by:
getBranchManager
in interfaceCDOSessionConfiguration
-
setBranchManager
- Specified by:
setBranchManager
in interfaceCDOSessionConfiguration
-
getRevisionManager
CDORevisionManager getRevisionManager()- Since:
- 3.0
- See Also:
-
setRevisionManager
- Since:
- 3.0
- See Also:
-
openNet4jSession
CDONet4jSession openNet4jSession()- Since:
- 4.1
-
openSession
Deprecated.UseopenNet4jSession()
.Description copied from interface:CDOSessionConfiguration
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.- Specified by:
openSession
in interfaceCDOSessionConfiguration
-
openNet4jSession()
.