Commit 97bd69c1 authored by Cristina Cocho's avatar Cristina Cocho
Browse files

Added method to get list of spy properties in PropertyManager class

parent da77cf86
......@@ -47,6 +47,7 @@ import fr.ill.ics.nscclient.servant.ClientServantDescriptor;
import fr.ill.ics.nscclient.servant.CorbaServant;
import fr.ill.ics.nscclient.servant.DynamicPropertyDescriptor;
import fr.ill.ics.nscclient.servant.ResourceNotFoundException;
import fr.ill.ics.nscclient.servant.SpyPropertyDescriptor;
import fr.ill.ics.util.ConfigManager;
import fr.ill.ics.util.FileHelper;
......@@ -686,6 +687,11 @@ public class PropertyManager {
return dynamicChildNames;
public Set<SpyPropertyDescriptor> getSpyListOfPropertyDescriptor(String controllerName) {
int servantId = ServantDatabase.getInstance().getServantId(controllerName);
return PropertyDatabase.getInstance().getSpyPropertyDescriptors(servantId);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment