for(AbstractComponentDescription component : moduleDescription.getComponentDescriptions()) {
componentByClass.put(component.getComponentClassName(), component);
}
final WarMetaData warMetaData = deploymentUnit.getAttachment(WarMetaData.ATTACHMENT_KEY);
final TldsMetaData tldsMetaData = deploymentUnit.getAttachment(TldsMetaData.ATTACHMENT_KEY);
final Set<String> classes = getAllComponentClasses(warMetaData, tldsMetaData);
for(String clazz : classes) {
AbstractComponentDescription description = componentByClass.get(clazz);
if(description != null) {
//for now just make sure it has a single view