public interface CDOAdminClient extends CDOAdmin
administrative interface
.
It can fire the following events:
CDOAdminClient.ConnectionStateChangedEvent
after the connection state
has changed.
Modifier and Type | Interface and Description |
---|---|
static interface |
CDOAdminClient.ConnectionStateChangedEvent
|
IContainer.Modifiable<E>
DEFAULT_TYPE, PROPERTY_SECURITY_HOME_FOLDERS, PROPERTY_SECURITY_MANAGER, PROPERTY_STORE_XML_CONFIG
Modifier and Type | Method and Description |
---|---|
CDOAdminClientRepository |
createRepository(String name,
String type,
Map<String,Object> properties)
Creates a new remote
repository and returns its administrative interface. |
IConnector |
getConnector() |
CDOAdminClientRepository[] |
getRepositories() |
CDOAdminClientRepository |
getRepository(String name) |
String |
getURL() |
boolean |
isConnected() |
CDOAdminClientRepository |
waitForRepository(String name) |
getElements, isEmpty
addListener, getListeners, hasListeners, removeListener
String getURL()
boolean isConnected()
IConnector getConnector()
CDOAdminClientRepository[] getRepositories()
getRepositories
in interface CDOAdmin
CDOAdminClientRepository getRepository(String name)
getRepository
in interface CDOAdmin
CDOAdminClientRepository createRepository(String name, String type, Map<String,Object> properties)
CDOAdmin
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.
createRepository
in interface CDOAdmin
CDOAdminClientRepository waitForRepository(String name)
waitForRepository
in interface CDOAdmin
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.