Package org.eclipse.emf.cdo.admin
Interface CDOAdminClient
- All Superinterfaces:
CDOAdmin
,org.eclipse.net4j.util.collection.Closeable
,org.eclipse.net4j.util.container.IContainer<CDOAdminRepository>
,org.eclipse.net4j.util.event.INotifier
A client-side
administrative interface
.
It can fire the following events:
-
CDOAdminClient.ConnectionStateChangedEvent
after the connectionstate
has changed.
- 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
Modifier and TypeInterfaceDescriptionstatic interface
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
Fields inherited from interface org.eclipse.emf.cdo.common.admin.CDOAdmin
DEFAULT_TYPE, PROPERTY_SECURITY_HOME_FOLDERS, PROPERTY_SECURITY_MANAGER, PROPERTY_STORE_XML_CONFIG
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new remoterepository
and returns its administrative interface.org.eclipse.net4j.connector.IConnector
getRepository
(String name) getURL()
boolean
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
-
Method Details
-
getURL
String getURL() -
isConnected
boolean isConnected() -
getConnector
org.eclipse.net4j.connector.IConnector getConnector() -
getRepositories
CDOAdminClientRepository[] getRepositories()- Specified by:
getRepositories
in interfaceCDOAdmin
-
getRepository
- Specified by:
getRepository
in interfaceCDOAdmin
-
createRepository
Description copied from interface:CDOAdmin
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.- Specified by:
createRepository
in interfaceCDOAdmin
-
waitForRepository
- Specified by:
waitForRepository
in interfaceCDOAdmin
-