Package org.eclipse.emf.cdo.common.admin
Interface CDOAdmin
- All Superinterfaces:
org.eclipse.net4j.util.collection.Closeable
,org.eclipse.net4j.util.container.IContainer<CDOAdminRepository>
,org.eclipse.net4j.util.event.INotifier
- All Known Subinterfaces:
CDOAdminClient
- All Known Implementing Classes:
AbstractCDOAdmin
public interface CDOAdmin
extends org.eclipse.net4j.util.container.IContainer<CDOAdminRepository>, org.eclipse.net4j.util.collection.Closeable
An administrative interface to a remote server with CDO
repositories
.- 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.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The default admin-handler type, which is guaranteed to exist on the server.static final String
The name of the boolean property that indicates whether to configure the default security manager with support for user home folders.static final String
The name of the boolean property that indicates whether to configure the default security manager in a repository to be created.static final String
The name of the property that provides the XML configuration string for the store of a repository to be created. -
Method Summary
Modifier and TypeMethodDescriptionCreates a new remoterepository
and returns its administrative interface.getRepository
(String name) waitForRepository
(String name) Methods inherited from interface org.eclipse.net4j.util.collection.Closeable
close, isClosed
Methods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Field Details
-
DEFAULT_TYPE
The default admin-handler type, which is guaranteed to exist on the server.- Since:
- 4.3
- See Also:
-
PROPERTY_SECURITY_MANAGER
The name of the boolean property that indicates whether to configure the default security manager in a repository to be created.- Since:
- 4.3
- See Also:
-
PROPERTY_SECURITY_HOME_FOLDERS
The name of the boolean property that indicates whether to configure the default security manager with support for user home folders.- Since:
- 4.3
- See Also:
-
PROPERTY_STORE_XML_CONFIG
The name of the property that provides the XML configuration string for the store of a repository to be created.- Since:
- 4.3
- See Also:
-
-
Method Details
-
getRepositories
CDOAdminRepository[] getRepositories() -
getRepository
-
createRepository
Creates a new remoterepository
and returns its administrative interface.On the server-side the creation is delegated to an instance of
org.eclipse.emf.cdo.server.spi.admin.CDOAdminHandler
that is registered with the server'scontainer
under the giventype
argument. Thename
andproperties
arguments are passed on to the registered handler. -
waitForRepository
-