Package org.jboss.papaki

This is the main package of the Papaki project.

See: Description

Package org.jboss.papaki Description

This is the main package of the Papaki project.

The goal of the project is to provide an annotation scanning mechanism and present the annotations found in an annotation repository which can be queried.

This project supports different strategies for scanning the class and jar files for annotations. This allows the user of the project to choose the best strategy for their case or just use the default strategy.

The interaction with the project is simple:

AnnotationScanner as = AnnotationScannerFactory.getDefault();
URL[] urls = ...; // URLs to all your JAR files
AnnotationRepository ar = as.scan(urls);
List<Annotation> l = ar.getAnnotation(MyAnnotation.class);

Copyright ? 2009 Red Hat Middleware LLC (http://www.jboss.com/)