com.khubla.pragmatach.framework.scanner
Class AnnotationScanner

java.lang.Object
  extended by com.khubla.pragmatach.framework.scanner.AnnotationScanner

public class AnnotationScanner
extends Object

Author:
tome

Constructor Summary
AnnotationScanner()
           
 
Method Summary
static Set<Class<?>> getAllClasses(Class<?> annotationClass)
          get classes with annotation
static Set<Method> getAllMethods(Class<?> annotationClass)
          get classes with annotation
static org.scannotation.AnnotationDB getAnnotationDB()
           
static void scan(javax.servlet.ServletContext servletContext)
          do the scan
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationScanner

public AnnotationScanner()
Method Detail

getAllClasses

public static Set<Class<?>> getAllClasses(Class<?> annotationClass)
                                   throws PragmatachException
get classes with annotation

Throws:
PragmatachException

getAllMethods

public static Set<Method> getAllMethods(Class<?> annotationClass)
                                 throws PragmatachException
get classes with annotation

Throws:
PragmatachException

getAnnotationDB

public static org.scannotation.AnnotationDB getAnnotationDB()

scan

public static void scan(javax.servlet.ServletContext servletContext)
                 throws PragmatachException
do the scan

Throws:
PragmatachException


Copyright © 2014 khubla.com. All rights reserved.