You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by hu...@apache.org on 2013/01/15 09:21:19 UTC
[15/26] git commit: PluggableService: Fix interface to return list of
cmd classes
PluggableService: Fix interface to return list of cmd classes
Signed-off-by: Rohit Yadav <bh...@apache.org>
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 <bh...@apache.org>
Authored: Mon Jan 14 18:54:58 2013 -0800
Committer: Rohit Yadav <bh...@apache.org>
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();
}