new HashMap<String, ProvidedInterface>(),
new HashMap<RequiredInterface, String>());
system.start();
- ProvidedInterface[] services = system.getRunningServices();
+ ProvidedInterface[] services = system.getRunningInterfaces();
assertEquals(0, services.length);
system.stop();
new String[] { HELLO_SERVICE_SPRING_XML }, provided,
new HashMap<RequiredInterface, String>());
system.start();
- ProvidedInterface[] services = system.getRunningServices();
+ ProvidedInterface[] services = system.getRunningInterfaces();
assertEquals(1, services.length);
assertTrue(services[0].getImplementation() instanceof HelloService);
assertEquals("Hello world!", ((HelloService)services[0].getImplementation())
system.addProperties(props);
system.start();
- ProvidedInterface[] services = system.getRunningServices();
+ ProvidedInterface[] services = system.getRunningInterfaces();
assertEquals("Property Value",
((HelloService)services[0].getImplementation()).say());
}