2 * Copyright (c) 2019 PANTHEON.tech, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.mdsal.eos.dom.simple;
10 import com.google.common.annotations.Beta;
11 import org.opendaylight.mdsal.eos.dom.api.DOMEntityOwnershipService;
12 import org.osgi.framework.BundleActivator;
13 import org.osgi.framework.BundleContext;
14 import org.osgi.framework.ServiceRegistration;
17 public class Activator implements BundleActivator {
18 private ServiceRegistration<?> reg;
21 public void start(final BundleContext context) {
22 reg = context.registerService(DOMEntityOwnershipService.class, new SimpleDOMEntityOwnershipService(), null);
26 public void stop(final BundleContext context) {