Package org.eclipse.emf.cdo.server.admin
Interface CDORepositoryConfigurationManager
- All Superinterfaces:
org.eclipse.net4j.util.lifecycle.IDeactivateable
,org.eclipse.net4j.util.lifecycle.ILifecycle
,org.eclipse.net4j.util.event.INotifier
public interface CDORepositoryConfigurationManager
extends org.eclipse.net4j.util.lifecycle.ILifecycle
Manages repository configurations.
- Since:
- 4.2
- Author:
- Christian W. Damus (CEA LIST)
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Specification of the factory API forrepository configuration managers
.Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Method Summary
Modifier and TypeMethodDescriptionaddRepository
(String name, Document configuration) void
Authenticates the user as a server administrator, if applicable.boolean
canRemoveRepository
(IRepository repository) void
removeRepository
(IRepository repository) Methods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActive
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Method Details
-
getRepositories
Map<String,IRepository> getRepositories() -
addRepository
-
removeRepository
-
canRemoveRepository
-
authenticateAdministrator
Authenticates the user as a server administrator, if applicable.- Throws:
SecurityException
- if authentication is required and fails
-