modules = new ArrayList<ModuleActivator>();
try {
List<String> classNames = ServiceConfigurationUtil.getServiceClassNames(classLoader, ModuleActivator.class.getName());
for (String className : classNames) {
Class moduleClass = Class.forName(className, true, classLoader);
ModuleActivator module = (ModuleActivator)moduleClass.newInstance();
modules.add(module);
}
} catch (IOException e) {
throw new ActivationException(e);
} catch (ClassNotFoundException e) {