use of act.mail.bytecode.MailerByteCodeScanner in project actframework by actframework.
the class App method loadBuiltInScanners.
private void loadBuiltInScanners() {
scannerManager.register(new GenieModuleScanner());
scannerManager.register(new ClassInfoByteCodeScanner());
scannerManager.register(new ClassFinderByteCodeScanner());
scannerManager.register(new ControllerByteCodeScanner());
scannerManager.register(new MailerByteCodeScanner());
scannerManager.register(new JobByteCodeScanner());
scannerManager.register(new Password.ByteCodeScanner());
scannerManager.register(new SimpleBean.ByteCodeScanner());
scannerManager.register(new SimpleEventListenerByteCodeScanner());
scannerManager.register(new CommanderByteCodeScanner());
scannerManager.register(new EntityInfoByteCodeScanner());
scannerManager.register(new RythmTransformerScanner());
scannerManager.register(new MetricContextScanner());
scannerManager.register(new ImplicitVariableProvider.TemplateVariableScanner(this));
scannerManager.register(new ConfigurationByteCodeScanner());
}
use of act.mail.bytecode.MailerByteCodeScanner in project actframework by actframework.
the class MailerEnhancerTest method setup.
@Before
public void setup() throws Exception {
super.setup();
invokeLog = mock(InvokeLog.class);
scanner = new MailerByteCodeScanner();
scanner.setApp(mockApp);
classLoader = new TestingAppClassLoader(mockApp);
infoSrc = classLoader.mailerClassMetaInfoManager();
scannerManager = mock(AppCodeScannerManager.class);
when(mockApp.classLoader()).thenReturn(classLoader);
when(mockApp.scannerManager()).thenReturn(scannerManager);
C.List<AppByteCodeScanner> scanners = C.list(scanner);
when(scannerManager.byteCodeScanners()).thenReturn(scanners);
InvokeLogFactory.set(invokeLog);
base = new File("./target/test-classes");
}
Aggregations