public interface CDOAdmin extends IContainer<CDOAdminRepository>, Closeable
repositories
.IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_TYPE
The default admin-handler type, which is guaranteed to exist on the server.
|
static String |
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.
|
static String |
PROPERTY_SECURITY_MANAGER
The name of the boolean property that indicates whether to configure the
default security manager in a repository to be
created.
|
static String |
PROPERTY_STORE_XML_CONFIG
The name of the property that provides the XML configuration string for
the store of a repository to be
created.
|
Modifier and Type | Method and Description |
---|---|
CDOAdminRepository |
createRepository(String name,
String type,
Map<String,Object> properties)
Creates a new remote
repository and returns its administrative interface. |
CDOAdminRepository[] |
getRepositories() |
CDOAdminRepository |
getRepository(String name) |
CDOAdminRepository |
waitForRepository(String name) |
getElements, isEmpty
addListener, getListeners, hasListeners, removeListener
static final String DEFAULT_TYPE
static final String PROPERTY_SECURITY_MANAGER
static final String PROPERTY_SECURITY_HOME_FOLDERS
static final String PROPERTY_STORE_XML_CONFIG
CDOAdminRepository[] getRepositories()
CDOAdminRepository getRepository(String name)
CDOAdminRepository createRepository(String name, String type, Map<String,Object> properties)
repository
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's container
under the given type
argument.
The name
and properties
arguments are passed on to the registered handler.
CDOAdminRepository waitForRepository(String name)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html