- public boolean isManaging(String nodeName) {
- return ricConfig.managedElementIds().contains(nodeName);
+ public synchronized boolean isManaging(String managedElementId) {
+ return ricConfig.managedElementIds().contains(managedElementId);
+ }
+
+ /**
+ * Gets the policy types supported by this Ric.
+ *
+ * @return the policy types supported by this Ric in an unmodifiable list.
+ */
+ public synchronized Collection<PolicyType> getSupportedPolicyTypes() {
+ return new Vector<>(supportedPolicyTypes.values());
+ }
+
+ public synchronized Collection<String> getSupportedPolicyTypeNames() {
+ return new Vector<>(supportedPolicyTypes.keySet());