Skip to content

Commit 0a31945

Browse files
committed
PluggableService: Fix interface to return list of cmd classes
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent b9c020f commit 0a31945

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎utils/src/com/cloud/utils/component/PluggableService.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
// under the License.
1717
package com.cloud.utils.component;
1818

19+
import java.util.List;
1920
import java.util.Map;
2021

2122
// This interface defines methods for pluggable code within the Cloud Stack.
2223
public interface PluggableService {
2324
// The config command properties filenames that lists allowed API commands
2425
// and role masks supported by this pluggable service
25-
Map<String, String> getProperties();
26+
List<Class<?>> getCommands();
2627
}

0 commit comments

Comments
 (0)