
be.bagofwords.application.MinimalApplicationContextFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bow-utils Show documentation
Show all versions of bow-utils Show documentation
Utility classes that are used in the count-db project and other bow-* projects
The newest version!
package be.bagofwords.application;
import be.bagofwords.application.memory.MemoryManager;
import be.bagofwords.cache.CachesManager;
public class MinimalApplicationContextFactory extends BaseApplicationContextFactory {
@Override
public void wireApplicationContext(ApplicationContext context) {
super.wireApplicationContext(context);
MemoryManager memoryManager = new MemoryManager();
BowTaskScheduler bowTaskScheduler = new BowTaskScheduler();
context.registerBean(memoryManager);
context.registerBean(bowTaskScheduler);
CachesManager cachesManager = new CachesManager(context);
context.registerBean(cachesManager);
ApplicationManager manager = new ApplicationManager(context);
context.registerBean(manager);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy