Package org.eclipse.emf.cdo.server.admin
Class CDOAdminServerUtil
java.lang.Object
org.eclipse.emf.cdo.server.admin.CDOAdminServerUtil
Various static methods that may help with CDO remote administration.
- Author:
- Eike Stepper
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidprepareContainer(org.eclipse.net4j.util.container.IManagedContainer container) Deprecated.Automatically initialized containers discover the Admin factories through their declarative contributions.static voidprepareContainer(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.
-
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 factoriesrepositoriesContainer- 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. UseOMBundle.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
-