PluggableService: Fix interface to return list of cmd classes

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
Rohit Yadav 2013-01-14 18:54:58 -08:00
parent b9c020fa7c
commit 0a31945ee5
1 changed files with 2 additions and 1 deletions

View File

@ -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();
}