brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grk...@apache.org
Subject [1/4] incubator-brooklyn git commit: Document purpose of attribute for reload listener
Date Tue, 18 Nov 2014 07:44:32 GMT
Repository: incubator-brooklyn
Updated Branches:
  refs/heads/master 5d2faf64c -> d6a9aec91


Document purpose of attribute for reload listener


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/201a1399
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/201a1399
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/201a1399

Branch: refs/heads/master
Commit: 201a13991c14eda4d4088fc70f8f6f008d6a9e07
Parents: c68ae75
Author: Andrew Kennedy <grkvlt@apache.org>
Authored: Mon Nov 17 17:42:49 2014 +0100
Committer: Andrew Kennedy <grkvlt@apache.org>
Committed: Mon Nov 17 17:44:09 2014 +0100

----------------------------------------------------------------------
 core/src/main/java/brooklyn/entity/basic/Attributes.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/201a1399/core/src/main/java/brooklyn/entity/basic/Attributes.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/brooklyn/entity/basic/Attributes.java b/core/src/main/java/brooklyn/entity/basic/Attributes.java
index 33df9ba..8ca5cdd 100644
--- a/core/src/main/java/brooklyn/entity/basic/Attributes.java
+++ b/core/src/main/java/brooklyn/entity/basic/Attributes.java
@@ -141,6 +141,10 @@ public interface Attributes {
      * Brooklyn management attributes (optional)
      */
 
+    /**
+     * Used by entities registering a {@link ManagementContext.PropertiesReloadListener}
to store a persistent
+     * reference to it, for use when unregistering the listener.
+     */
     AttributeSensor<ManagementContext.PropertiesReloadListener> PROPERTIES_RELOAD_LISTENER
= Sensors.newSensor(
             ManagementContext.PropertiesReloadListener.class,
             "brooklyn.management.propertiesReloadListener", "Properties reload listener");


Mime
View raw message