readAnnotations(contentArchive, descriptor, extensions); postStandardDDsRead(descriptor, contentArchive, extensions); postAnnotationProcess(descriptor, contentArchive);
readAnnotations(contentArchive, descriptor, extensions); postAnnotationProcess(descriptor, contentArchive);
protected void readAnnotations(ReadableArchive archive, T descriptor, Map<ExtensionsArchivist, RootDeploymentDescriptor> extensions, ModuleScanner scanner) throws IOException { if (isProcessAnnotation(descriptor)) { try { if (scanner == null) { scanner = getScanner(); } ProcessingResult result = processAnnotations(descriptor, scanner, archive); // process extensions annotations if any for (Map.Entry<ExtensionsArchivist, RootDeploymentDescriptor> extension : extensions.entrySet()) { try { if (extension.getValue()==null) { RootDeploymentDescriptor o = extension.getKey().getDefaultDescriptor(); if( o != null ) { o.setModuleDescriptor(descriptor.getModuleDescriptor()); } processAnnotations(o, extension.getKey().getScanner(), archive); if (o!=null && !o.isEmpty()) { extension.getKey().addExtension(descriptor, o); extensions.put(extension.getKey(), (RootDeploymentDescriptor) o); } } else {
protected void readAnnotations(ReadableArchive archive, T descriptor, Map<ExtensionsArchivist, RootDeploymentDescriptor> extensions, ModuleScanner scanner) throws IOException { try { boolean processAnnotationForMainDescriptor = isProcessAnnotation(descriptor); ProcessingResult result = null; if (processAnnotationForMainDescriptor) { if (scanner == null) { scanner = getScanner(); } result = processAnnotations(descriptor, scanner, archive); } // process extensions annotations if any for (Map.Entry<ExtensionsArchivist, RootDeploymentDescriptor> extension : extensions.entrySet()) { try { if (extension.getValue() == null) { // extension descriptor is not present // use main descriptor information to decide // whether to process annotations if (processAnnotationForMainDescriptor) { RootDeploymentDescriptor o = extension.getKey().getDefaultDescriptor(); if( o != null ) { o.setModuleDescriptor(descriptor.getModuleDescriptor()); // for the case of extension descriptor not // present, set the metadata-complete attribute // value of the extension descriptor using the
new HashMap<ExtensionsArchivist, RootDeploymentDescriptor>(); for (WebFragmentDescriptor wfDesc : wfList) { super.readAnnotations(archive, wfDesc, localExtensions);
newArchivist.readAnnotations(embeddedArchive, descriptor, extensions); newArchivist.postAnnotationProcess(descriptor, embeddedArchive); newArchivist.postOpen(descriptor, embeddedArchive);
newArchivist.readAnnotations(embeddedArchive, descriptor, extensions); newArchivist.postAnnotationProcess(descriptor, embeddedArchive); newArchivist.postOpen(descriptor, embeddedArchive);