use of org.infinispan.tasks.DummyTaskEngine in project infinispan by infinispan.
the class TasksResourceTest method defineCaches.
@Override
protected void defineCaches(EmbeddedCacheManager cm) {
cm.defineConfiguration("default", getDefaultCacheBuilder().build());
GlobalComponentRegistry gcr = cm.getGlobalComponentRegistry();
TaskManager taskManager = gcr.getComponent(TaskManager.class);
TaskEngine taskEngine = new DummyTaskEngine();
taskManager.registerTaskEngine(taskEngine);
}
Aggregations