/*
- * 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,
public @interface ServiceInterfaceAnnotation {
/**
- * Specifies human readable name of this service. Each service name should
- * be globally unique. Should not contain spaces.
+ * Fully qualified name of a service that must be globally unique.
+ * When generating service interfaces from yang, this will be QName of
+ * identity extending service-type.
*/
String value();
* is called.
*/
Class<?> osgiRegistrationType();
+
+ /**
+ * 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()}.
+ */
+ String revision();
+
+ /**
+ * Get local name of {@link #value()}.
+ */
+ String localName();
}