ServiceRegistry registry = addon.getServiceRegistry();
ExportedInstance<EventManager> instance = registry.getExportedInstance(EventManager.class);
if (instance != null)
{
EventManager manager = instance.get();
manager.fireEvent(event, qualifiers);
instance.release(manager);
}
}
}