serviceRegistry = new WeldServiceRegistry(furnace.getLockManager(), addon, manager, serviceExtension.getServices());
serviceRegistryProducer.setServiceRegistry(serviceRegistry);
Assert.notNull(BeanManagerUtils.getContextualInstance(manager, ServiceRegistry.class),
"InboundEvent registry was null.");
EventManagerProducer eventManagerProducer = BeanManagerUtils.getContextualInstance(manager,
EventManagerProducer.class);
eventManager = new EventManagerImpl(addon, manager);
eventManagerProducer.setEventManager(eventManager);
Assert.notNull(BeanManagerUtils.getContextualInstance(manager, EventManager.class),
"InboundEvent registry was null.");
}
}