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

    Fields
    Modifier and Type
    Field
    Description
    static 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 Type
    Method
    Description
    createRepository(String name, String type, Map<String,Object> properties)
    Creates a new remote repository and returns its administrative interface.
     
     
     

    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

      static final String DEFAULT_TYPE
      The default admin-handler type, which is guaranteed to exist on the server.
      Since:
      4.3
      See Also:
    • PROPERTY_SECURITY_MANAGER

      static final 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.
      Since:
      4.3
      See Also:
    • PROPERTY_SECURITY_HOME_FOLDERS

      static final 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.
      Since:
      4.3
      See Also:
    • PROPERTY_STORE_XML_CONFIG

      static final 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.
      Since:
      4.3
      See Also:
  • Method Details

    • getRepositories

      CDOAdminRepository[] getRepositories()
    • getRepository

      CDOAdminRepository getRepository(String name)
    • createRepository

      CDOAdminRepository createRepository(String name, String type, Map<String,Object> properties)
      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.

    • waitForRepository

      CDOAdminRepository waitForRepository(String name)