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
Nested ClassesModifier and TypeInterfaceDescriptionstatic classSpecification 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.DeferrableActivationNested 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) voidAuthenticates the user as a server administrator, if applicable.booleancanRemoveRepository(IRepository repository) voidremoveRepository(IRepository repository) Methods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActiveMethods 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
-