}
final Map<String, ComponentDescription> componentByClass = new HashMap<String, ComponentDescription>();
final Map<String, ComponentInstantiator> webComponents = new HashMap<String, ComponentInstantiator>();
final EEModuleDescription moduleDescription = deploymentUnit.getAttachment(Attachments.EE_MODULE_DESCRIPTION);
final EEApplicationClasses applicationClassesDescription = deploymentUnit.getAttachment(Attachments.EE_APPLICATION_CLASSES_DESCRIPTION);
final CompositeIndex compositeIndex = deploymentUnit.getAttachment(org.jboss.as.server.deployment.Attachments.COMPOSITE_ANNOTATION_INDEX);
final String applicationName = deploymentUnit.getParent() == null ? deploymentUnit.getName() : deploymentUnit.getParent().getName();
if (moduleDescription == null) {
return; //not an ee deployment
}