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.");
}
}