}
long start = currentTimeMillis();
getExtensionPointRegistry();
UtilityExtensionPoint utilities = registry.getExtensionPoint(UtilityExtensionPoint.class);
monitorFactory = utilities.getUtility(MonitorFactory.class);
utilities.getUtility(RuntimeProperties.class).setProperties(properties);
quietLogging = Boolean.parseBoolean(properties.getProperty(RuntimeProperties.QUIET_LOGGING));
// Use the runtime-enabled assembly factory
FactoryExtensionPoint modelFactories = registry.getExtensionPoint(FactoryExtensionPoint.class);
AssemblyFactory assemblyFactory = new RuntimeAssemblyFactory(registry);
modelFactories.addFactory(assemblyFactory);
// Load the Deployer
deployer = utilities.getUtility(Deployer.class);
// Enable schema validation only of the logger level is FINE or higher
deployer.setSchemaValidationEnabled(isSchemaValidationEnabled());
// Initialize the Tuscany module activators
// The module activators will be started
registry.getExtensionPoint(ModuleActivatorExtensionPoint.class);
// Initialize runtime
// Get proxy factory
proxyFactory = ExtensibleProxyFactory.getInstance(registry);
utilities.getUtility(WorkScheduler.class);
inited = true;
if (logger.isLoggable(Level.FINE)) {
long end = currentTimeMillis();