Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Constants.java19
1 files changed, 18 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Constants.java b/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Constants.java
index b19bbfaf8..0b74bf5b6 100644
--- a/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Constants.java
+++ b/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Constants.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) OSGi Alliance (2000, 2016). All Rights Reserved.
+ * Copyright (c) OSGi Alliance (2000, 2017). All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1830,4 +1830,21 @@ public interface Constants {
* @since 1.9
*/
String BUNDLE_SCM = "Bundle-SCM";
+
+ /**
+ * Service property identifying the monotonically increasing change count of
+ * a service.
+ * <p>
+ * A service may optional provide this property to indicate there has been a
+ * change in some data provided by the service. The change count must be
+ * incremented with a positive value every time the data provided by the
+ * service is changed. The service announces the modified change count by
+ * updating its service properties with the new value for this service
+ * property.
+ * <p>
+ * The value of this property must be of type {@code Long}.
+ *
+ * @since 1.9
+ */
+ String SERVICE_CHANGECOUNT = "service.changecount";
}

Back to the top