org.eclipse.emf.cdo.server
Class CDOServerUtil
java.lang.Object
org.eclipse.emf.cdo.server.CDOServerUtil
- public final class CDOServerUtil
- extends Object
Various static methods that may help with CDO repositories
and server-side views
.
Method Summary |
static void |
addRepository(IManagedContainer container,
IRepository repository)
|
static ISynchronizableRepository |
createFailoverParticipant(String name,
IStore store,
Map<String,String> props)
|
static ISynchronizableRepository |
createFailoverParticipant(String name,
IStore store,
Map<String,String> props,
IRepositorySynchronizer synchronizer)
|
static ISynchronizableRepository |
createFailoverParticipant(String name,
IStore store,
Map<String,String> props,
IRepositorySynchronizer synchronizer,
boolean master)
|
static ISynchronizableRepository |
createFailoverParticipant(String name,
IStore store,
Map<String,String> props,
IRepositorySynchronizer synchronizer,
boolean master,
boolean allowBackupCommits)
|
static ISynchronizableRepository |
createOfflineClone(String name,
IStore store,
Map<String,String> props,
IRepositorySynchronizer synchronizer)
|
static IRepository |
createRepository(String name,
IStore store,
Map<String,String> props)
|
static IRepositorySynchronizer |
createRepositorySynchronizer(CDOSessionConfigurationFactory remoteSessionConfigurationFactory)
|
static CDOSessionConfiguration |
createSessionConfiguration()
Deprecated. Not yet supported. |
static ISessionManager |
createSessionManager()
|
static IRepository |
getRepository(IManagedContainer container,
String name)
|
static Element |
getRepositoryConfig(String repositoryName)
|
static CDOView |
openView(ISession session,
CDOBranchPoint branchPoint,
boolean legacyModeEnabled)
|
static CDOView |
openView(ISession session,
CDOBranchPoint branchPoint,
boolean legacyModeEnabled,
CDORevisionProvider revisionProvider)
|
static CDOView |
openView(IStoreAccessor.CommitContext commitContext,
boolean legacyModeEnabled)
|
static CDOView |
openView(IView view,
boolean legacyModeEnabled)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
openView
public static CDOView openView(ISession session,
CDOBranchPoint branchPoint,
boolean legacyModeEnabled,
CDORevisionProvider revisionProvider)
- Since:
- 4.0
openView
public static CDOView openView(ISession session,
CDOBranchPoint branchPoint,
boolean legacyModeEnabled)
- Since:
- 4.0
openView
public static CDOView openView(IView view,
boolean legacyModeEnabled)
- Since:
- 4.0
openView
public static CDOView openView(IStoreAccessor.CommitContext commitContext,
boolean legacyModeEnabled)
- Since:
- 4.0
createSessionConfiguration
@Deprecated
public static CDOSessionConfiguration createSessionConfiguration()
- Deprecated. Not yet supported.
- Since:
- 3.0
createSessionManager
public static ISessionManager createSessionManager()
- Since:
- 3.0
createRepository
public static IRepository createRepository(String name,
IStore store,
Map<String,String> props)
createRepositorySynchronizer
public static IRepositorySynchronizer createRepositorySynchronizer(CDOSessionConfigurationFactory remoteSessionConfigurationFactory)
- Since:
- 3.0
createOfflineClone
public static ISynchronizableRepository createOfflineClone(String name,
IStore store,
Map<String,String> props,
IRepositorySynchronizer synchronizer)
- Since:
- 3.0
createFailoverParticipant
public static ISynchronizableRepository createFailoverParticipant(String name,
IStore store,
Map<String,String> props,
IRepositorySynchronizer synchronizer,
boolean master,
boolean allowBackupCommits)
- Since:
- 4.0
createFailoverParticipant
public static ISynchronizableRepository createFailoverParticipant(String name,
IStore store,
Map<String,String> props,
IRepositorySynchronizer synchronizer,
boolean master)
- Since:
- 3.0
createFailoverParticipant
public static ISynchronizableRepository createFailoverParticipant(String name,
IStore store,
Map<String,String> props,
IRepositorySynchronizer synchronizer)
- Since:
- 4.0
createFailoverParticipant
public static ISynchronizableRepository createFailoverParticipant(String name,
IStore store,
Map<String,String> props)
- Since:
- 4.0
addRepository
public static void addRepository(IManagedContainer container,
IRepository repository)
getRepository
public static IRepository getRepository(IManagedContainer container,
String name)
getRepositoryConfig
public static Element getRepositoryConfig(String repositoryName)
throws ParserConfigurationException,
SAXException,
IOException
- Throws:
ParserConfigurationException
SAXException
IOException
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.