Return-Path: X-Original-To: apmail-brooklyn-commits-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D438F18348 for ; Mon, 1 Feb 2016 17:49:03 +0000 (UTC) Received: (qmail 58607 invoked by uid 500); 1 Feb 2016 17:48:48 -0000 Delivered-To: apmail-brooklyn-commits-archive@brooklyn.apache.org Received: (qmail 58544 invoked by uid 500); 1 Feb 2016 17:48:48 -0000 Mailing-List: contact commits-help@brooklyn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.apache.org Delivered-To: mailing list commits@brooklyn.apache.org Received: (qmail 57869 invoked by uid 99); 1 Feb 2016 17:48:48 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2016 17:48:48 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 159C9E0B66; Mon, 1 Feb 2016 17:48:48 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: heneveld@apache.org To: commits@brooklyn.apache.org Date: Mon, 01 Feb 2016 17:49:08 -0000 Message-Id: <27e73caa97304c4ab540654cc68497fd@git.apache.org> In-Reply-To: <1a18c9aa747f4e9e8f7ed70bc5a7aa7f@git.apache.org> References: <1a18c9aa747f4e9e8f7ed70bc5a7aa7f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [22/50] brooklyn-server git commit: Changes based on review comments, including: - Updating to use latest 0.5.0 APIs - Adding general Zookeeper entity interface - Make KafkaCluster implement Group Changes based on review comments, including: - Updating to use latest 0.5.0 APIs - Adding general Zookeeper entity interface - Make KafkaCluster implement Group Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/ca177971 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/ca177971 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/ca177971 Branch: refs/heads/0.5.0 Commit: ca1779716c0cb1be3c88788feff07577f4c24199 Parents: a8f4c0f Author: Andrew Kennedy Authored: Mon Apr 1 19:00:44 2013 +0100 Committer: Andrew Kennedy Committed: Fri Apr 19 10:36:07 2013 +0100 ---------------------------------------------------------------------- core/src/main/java/brooklyn/entity/basic/Entities.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/ca177971/core/src/main/java/brooklyn/entity/basic/Entities.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/brooklyn/entity/basic/Entities.java b/core/src/main/java/brooklyn/entity/basic/Entities.java index d71c304..9c97195 100644 --- a/core/src/main/java/brooklyn/entity/basic/Entities.java +++ b/core/src/main/java/brooklyn/entity/basic/Entities.java @@ -569,6 +569,7 @@ public class Entities { ((EntityInternal)entity).getManagementContext().getEntityManager().unmanage(entity); } } + public static Supplier supplier(final Entity entity, final AttributeSensor sensor) { return new Supplier() { public T get() { return entity.getAttribute(sensor); }