Package org.ocpsoft.rewrite.annotation.scan

Examples of org.ocpsoft.rewrite.annotation.scan.ByteCodeFilter


         annotationHandlers.add(handler);
         annotationType.add(handler.handles());
      }

      // this class will identify the classes that should be scanned without loading them
      ByteCodeFilter byteCodeFilter = new ByteCodeFilter(annotationType);

      // users can configure the annotation scanner to scan only specific packages
      PackageFilter packageFilter = new PackageFilter(packageFilters);

      // ClassVisitor will process all classes that ByteCodeFilter considers as worth scanning them
View Full Code Here


         classloader = this.getClass().getClassLoader();
      }

      List<ClassFinder> classFinders = new ArrayList<ClassFinder>();

      ByteCodeFilter byteCodeFilter = getByteCodeFilter();

      classFinders.add(new WebClassesFinder(servletContext, classloader, packageFilter, byteCodeFilter));

      // does the user want to scan /WEB-INF/lib ?
      String jarConfig = servletContext.getInitParameter(CONFIG_SCAN_LIB_DIR);
View Full Code Here

      annotations.add(URLBeanName.class);
      annotations.add(URLMapping.class);
      annotations.add(URLMappings.class);
      annotations.add(URLQueryParameter.class);
      annotations.add(URLValidator.class);
      ByteCodeFilter byteCodeFilter = new ByteCodeFilter(annotations);
      return byteCodeFilter;
   }
View Full Code Here

TOP

Related Classes of org.ocpsoft.rewrite.annotation.scan.ByteCodeFilter

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.