Package org.apache.felix.scrplugin.annotations

Examples of org.apache.felix.scrplugin.annotations.AnnotationProcessor


        // create a log
        this.iLog = new IssueLog(this.options.isStrictMode());

        // create the annotation processor manager
        final AnnotationProcessor aProcessor = new AnnotationProcessorManager(this.logger,
                        this.project.getClassLoader());

        // create the class scanner - and start scanning
        this.scanner = new ClassScanner(logger, iLog, project, aProcessor);
        final List<ClassDescription> scannedDescriptions = scanner.scanSources();
View Full Code Here


        // search for providers
        final Map<String, AnnotationProcessor> processorMap = new HashMap<String, AnnotationProcessor>();

        final Iterator<AnnotationProcessor> serviceIter = ServiceRegistry.lookupProviders(AnnotationProcessor.class, classLoader);
        while ( serviceIter.hasNext() ) {
            final AnnotationProcessor processor = serviceIter.next();
            // check if this processor is already loaded
            final String key = processor.getClass().getName();
            if ( !processorMap.containsKey(key) ) {
                processorMap.put(key, processor);
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.felix.scrplugin.annotations.AnnotationProcessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.