Examples of enableMetaAnnotations()


Examples of org.apache.xbean.finder.AnnotationFinder.enableMetaAnnotations()

    public IAnnotationFinder create(DeploymentModule module) throws Exception {
        IAnnotationFinder finder;
        if (module instanceof WebModule) {
            WebModule webModule = (WebModule) module;
            final AnnotationFinder annotationFinder = new AnnotationFinder(new WebappAggregatedArchive(webModule, webModule.getScannableUrls()));
            if (annotationFinder.hasMetaAnnotations()) annotationFinder.enableMetaAnnotations();
            if (enableFindSubclasses()) annotationFinder.enableFindSubclasses();
            finder = annotationFinder;
        } else if (module instanceof ConnectorModule) {
          ConnectorModule connectorModule = (ConnectorModule) module;
          finder = new AnnotationFinder(new ConfigurableClasspathArchive(connectorModule, connectorModule.getLibraries())).link();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.