public static class MongoDocumentLoader {
public void load() throws Exception {
final Enhancer enhancer = new MongoEnhancer(settings());
final List<CtClass> classList = new ArrayList<CtClass>();
ScanService scanService = new DefaultScanService();
scanService.setLoader(mongoConfiguration.classLoader);
scanService.scanArchives(settings().get("application.document"), new ScanService.LoadClassEnhanceCallBack() {
public Class loaded(DataInputStream classFile) {
try {
classList.add(enhancer.enhanceThisClass(classFile));
} catch (Exception e) {