// Load and instantiate module activators
for (ServiceDeclaration activatorDeclaration : activatorDeclarations) {
if (logger.isLoggable(Level.FINE)) {
logger.fine("Loading " + activatorDeclaration.getClassName());
}
NodeActivator activator = null;
try {
Class<NodeActivator> activatorClass = (Class<NodeActivator>)activatorDeclaration.loadClass();
try {
activator = ServiceHelper.newInstance(activatorClass, ExtensionPointRegistry.class, registry);
} catch (NoSuchMethodException e) {