org.eclipse.emf.cdo.admin
Interface CDOAdminClient

All Superinterfaces:
CDOAdmin, Closeable, IContainer<CDOAdminRepository>, INotifier

public interface CDOAdminClient
extends CDOAdmin

A client-side administrative interface.

It can fire the following events:


Nested Class Summary
static interface CDOAdminClient.ConnectionStateChangedEvent
          An event fired from a client-side administrative interface after the connection state has changed.
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
IContainer.Modifiable<E>
 
Method Summary
 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)
           
 
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
 
Methods inherited from interface org.eclipse.net4j.util.collection.Closeable
close, isClosed
 

Method Detail

getURL

String getURL()

isConnected

boolean isConnected()

getConnector

IConnector getConnector()

getRepositories

CDOAdminClientRepository[] getRepositories()
Specified by:
getRepositories in interface CDOAdmin

getRepository

CDOAdminClientRepository getRepository(String name)
Specified by:
getRepository in interface CDOAdmin

createRepository

CDOAdminClientRepository createRepository(String name,
                                          String type,
                                          Map<String,Object> properties)
Description copied from interface: CDOAdmin
Creates a new remote 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.

Specified by:
createRepository in interface CDOAdmin

waitForRepository

CDOAdminClientRepository waitForRepository(String name)
Specified by:
waitForRepository in interface CDOAdmin


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.