Fix checkstyle issues to enforce it
[controller.git] / opendaylight / config / config-api / src / main / java / org / opendaylight / controller / config / api / annotations / ServiceInterfaceAnnotation.java
index e66de46520a11741e42c4cf72049ff6d18d2b0df..1adf6c5478aaf9b0116651b935aca03d42dcd302 100644 (file)
@@ -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();
 }