Correct ActionProviderService method definition
[mdsal.git] / binding / mdsal-binding-dom-adapter / src / main / java / org / opendaylight / mdsal / binding / dom / adapter / osgi / ServiceProperties.java
1 /*
2  * Copyright (c) 2018 Pantheon Technologies, s.r.o. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.mdsal.binding.dom.adapter.osgi;
9
10 import com.google.common.annotations.Beta;
11
12 /**
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.
15  *
16  * @author Robert Varga
17  */
18 @Beta
19 public final class ServiceProperties {
20     static final String PREFIX = "odl.mdsal.binding.adapter.";
21
22     /**
23      * Instruction to ignore the service. When a service with this property is found, {@link DynamicBindingAdapter}
24      * will completely ignore it.
25      */
26     public static final String IGNORE_PROP = "odl.mdsal.binding.adapter.ignore";
27
28     /**
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
31      * service.
32      */
33     public static final String OVERRIDE_PREFIX = "odl.mdsal.binding.adapter.override.";
34
35     private ServiceProperties() {
36
37     }
38 }