Class CDOAdminServerUtil

java.lang.Object
org.eclipse.emf.cdo.server.admin.CDOAdminServerUtil

public final class CDOAdminServerUtil extends Object
Various static methods that may help with CDO remote administration.
Author:
Eike Stepper
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    prepareContainer(org.eclipse.net4j.util.container.IManagedContainer container)
    Deprecated.
    Automatically initialized containers discover the Admin factories through their declarative contributions.
    static void
    prepareContainer(org.eclipse.net4j.util.container.IManagedContainer container, org.eclipse.net4j.util.container.IManagedContainer repositoriesContainer)
    Registers Admin factories in a container while configuring a separate container from which the resulting Admin infrastructure obtains repositories and other dependencies.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • prepareContainer

      public static void prepareContainer(org.eclipse.net4j.util.container.IManagedContainer container, org.eclipse.net4j.util.container.IManagedContainer repositoriesContainer)
      Registers Admin factories in a container while configuring a separate container from which the resulting Admin infrastructure obtains repositories and other dependencies. The two containers may be the same or different.
      Parameters:
      container - the container that owns the registered Admin factories
      repositoriesContainer - the container from which Admin infrastructure obtains repositories and related dependencies
    • prepareContainer

      @Deprecated public static void prepareContainer(org.eclipse.net4j.util.container.IManagedContainer container)
      Deprecated.
      Automatically initialized containers discover the Admin factories through their declarative contributions. Use OMBundle.prepareContainer(IManagedContainer) only when intentionally preparing a raw container manually.
      Manually registers the CDO Admin factories in a raw container, using it both as the factory owner and as the repositories container.
      Parameters:
      container - the raw container to configure