}
}
listeners.add(0, cdiListener);
// This uses resource injection, so it needs to be a component
final WebComponentDescription componentDescription = new WebComponentDescription(CDI_LISTENER, CDI_LISTENER, module, deploymentUnit.getServiceName(), applicationClasses);
module.addComponent(componentDescription);
final Map<String, ComponentInstantiator> instantiators = deploymentUnit.getAttachment(WebAttachments.WEB_COMPONENT_INSTANTIATORS);
instantiators.put(CDI_LISTENER, new WebComponentInstantiator(deploymentUnit, componentDescription));
}