X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fconfig%2Fconfig-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fapi%2Fannotations%2FServiceInterfaceAnnotation.java;h=1adf6c5478aaf9b0116651b935aca03d42dcd302;hp=e66de46520a11741e42c4cf72049ff6d18d2b0df;hb=c65916d075142dd937cb67e5128a87c05616b834;hpb=213aae87ecaccb43f3d909e0455db43511ace381 diff --git a/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/annotations/ServiceInterfaceAnnotation.java b/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/annotations/ServiceInterfaceAnnotation.java index e66de46520..1adf6c5478 100644 --- a/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/annotations/ServiceInterfaceAnnotation.java +++ b/opendaylight/config/config-api/src/main/java/org/opendaylight/controller/config/api/annotations/ServiceInterfaceAnnotation.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. + * Copyright (c) 2013, 2017 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, @@ -37,17 +37,22 @@ public @interface ServiceInterfaceAnnotation { Class osgiRegistrationType(); /** - * Get namespace of {@link #value()} + * Determines whether or not the service instance should be registered with OSGi. + */ + boolean registerToOsgi() default true; + + /** + * Get namespace of {@link #value()}. */ String namespace(); /** - * Get revision of {@link #value()} + * Get revision of {@link #value()}. */ String revision(); /** - * Get local name of {@link #value()} + * Get local name of {@link #value()}. */ String localName(); }