PluggableService: Fix interface to return list of cmd classes Signed-off-by: Rohit Yadav <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/0a31945e Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/0a31945e Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/0a31945e Branch: refs/heads/cloud-agent-with-openvswitch Commit: 0a31945ee589e2db8886fd8a01bdfaf91e6cfd26 Parents: b9c020f Author: Rohit Yadav <[email protected]> Authored: Mon Jan 14 18:54:58 2013 -0800 Committer: Rohit Yadav <[email protected]> Committed: Mon Jan 14 19:01:26 2013 -0800 ---------------------------------------------------------------------- .../cloud/utils/component/PluggableService.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/0a31945e/utils/src/com/cloud/utils/component/PluggableService.java ---------------------------------------------------------------------- diff --git a/utils/src/com/cloud/utils/component/PluggableService.java b/utils/src/com/cloud/utils/component/PluggableService.java index f6f72a9..5e0e4df 100644 --- a/utils/src/com/cloud/utils/component/PluggableService.java +++ b/utils/src/com/cloud/utils/component/PluggableService.java @@ -16,11 +16,12 @@ // under the License. package com.cloud.utils.component; +import java.util.List; import java.util.Map; // This interface defines methods for pluggable code within the Cloud Stack. public interface PluggableService { // The config command properties filenames that lists allowed API commands // and role masks supported by this pluggable service - Map<String, String> getProperties(); + List<Class<?>> getCommands(); }
