use of org.mule.test.runner.api.IsolatedServiceProviderDiscoverer in project mule by mulesoft.
the class ArtifactFunctionalTestCase method createServiceManager.
private static void createServiceManager() {
serviceRepository = ServiceManager.create(ServiceDiscoverer.create(new IsolatedServiceProviderDiscoverer(serviceClassLoaders)));
try {
serviceRepository.start();
} catch (MuleException e) {
throw new IllegalStateException("Couldn't start service manager", e);
}
serviceConfigurator = new TestServicesMuleContextConfigurator(serviceRepository);
}
Aggregations