2 * Copyright (c) 2018 Pantheon Technologies, 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.binding.dom.adapter.osgi;
10 import com.google.common.annotations.Beta;
13 * Properties recognized and manipulated by {@link DynamicBindingAdapter}. All properties starting with
14 * {@code odl.mdsal.binding.adapter.} are stripped from the re-exported service.
16 * @author Robert Varga
19 public final class ServiceProperties {
20 static final String PREFIX = "odl.mdsal.binding.adapter.";
23 * Instruction to ignore the service. When a service with this property is found, {@link DynamicBindingAdapter}
24 * will completely ignore it.
26 public static final String IGNORE_PROP = "odl.mdsal.binding.adapter.ignore";
29 * Prefix for properties which should be replaced. For any property with a name which starts with this prefix,
30 * {@link DynamicBindingAdapter} will strip this prefix and advertise the resulting property in the re-exported
33 public static final String OVERRIDE_PREFIX = "odl.mdsal.binding.adapter.override.";
35 private ServiceProperties() {