* @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;