final EventBus eventBus = new SimpleEventBus();
QueueableCacheStorage cache = new VolatileQueueableCacheStorage();
CallbackFilter cachingCallbackFilter = new CachingCallbackFilter(cache);
CallbackFactory callbackFactory = new DefaultCallbackFactory(cachingCallbackFilter,
new ModelChangeCallbackFilter(eventBus));
DispatcherFilter cachingDispatcherFilter = new CachingDispatcherFilter(cache, callbackFactory);
Dispatcher dispatcher = new DefaultFilterawareDispatcher(cachingDispatcherFilter);
Defaults.setDispatcher(dispatcher);