public void boot() throws Fabric3Exception { logicalComponentManager = new LogicalComponentManagerImpl(); componentManager = new ComponentManagerImpl(); channelManager = new ChannelManagerImpl(); classLoaderRegistry = new ClassLoaderRegistryImpl(); ProcessorRegistry processorRegistry = new ProcessorRegistryImpl(); metaDataStore = new MetaDataStoreImpl(processorRegistry); monitorService = new MonitorProxyServiceImpl(new JDKMonitorProxyService(this, router)); ScopeContainerMonitor monitor = monitorService.createMonitor(ScopeContainerMonitor.class); scopeContainer = new CompositeScopeContainer(monitor); scopeContainer.start(); scopeRegistry = new ScopeRegistryImpl(); scopeRegistry.register(scopeContainer); managementService = new DelegatingManagementService(); }
public void boot() throws Fabric3Exception { logicalComponentManager = new LogicalComponentManagerImpl(); componentManager = new ComponentManagerImpl(); channelManager = new ChannelManagerImpl(); classLoaderRegistry = new ClassLoaderRegistryImpl(); ProcessorRegistry processorRegistry = new ProcessorRegistryImpl(); metaDataStore = new MetaDataStoreImpl(processorRegistry); monitorService = new MonitorProxyServiceImpl(new JDKMonitorProxyService(this, router)); ScopeContainerMonitor monitor = monitorService.createMonitor(ScopeContainerMonitor.class); scopeContainer = new CompositeScopeContainer(monitor); scopeContainer.start(); scopeRegistry = new ScopeRegistryImpl(); scopeRegistry.register(scopeContainer); managementService = new DelegatingManagementService(); }
public void boot() throws InitializationException { logicalComponentManager = new LogicalComponentManagerImpl(); componentManager = new ComponentManagerImpl(); channelManager = new ChannelManagerImpl(); classLoaderRegistry = new ClassLoaderRegistryImpl(); ProcessorRegistry processorRegistry = new ProcessorRegistryImpl(); metaDataStore = new MetaDataStoreImpl(processorRegistry); monitorService = new MonitorProxyServiceImpl(new JDKMonitorProxyService(this, router)); ScopeContainerMonitor monitor; try { monitor = monitorService.createMonitor(ScopeContainerMonitor.class); } catch (MonitorCreationException e) { throw new InitializationException(e); } scopeContainer = new CompositeScopeContainer(monitor); scopeContainer.start(); scopeRegistry = new ScopeRegistryImpl(); scopeRegistry.register(scopeContainer); managementService = new DelegatingManagementService(); if (repository == null) { // if the runtime has not been configured with a repository, create one repository = createRepository(); } }