Package net.ellwein.routey.internal.AnnotationScanner

Examples of net.ellwein.routey.internal.AnnotationScanner.AnnotationScannerNotifier


   * @throws ClassNotFoundException
   */
  void scanMappingAnnotations() throws IOException, ClassNotFoundException {
    // TODO: refactor this method!
    for ( final String aPackage : findPackagesToScan() ) {
      AnnotationScanner.scanPackage( aPackage, Mapping.class, new AnnotationScannerNotifier() {

        @Override
        public void foundClass( final String packageName, final Class<?> classFound, final Method methodFound ) {
          LOGGER.debug( "found annotated method: " + classFound.getName() + "." + methodFound.getName() + "()" );
          RequestMethod[] methods;
View Full Code Here

TOP

Related Classes of net.ellwein.routey.internal.AnnotationScanner.AnnotationScannerNotifier

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.