}
framework.interceptor(new AtmosphereResourceLifecycleInterceptor())
.interceptor(new TrackMessageSizeInterceptor())
.addAnnotationPackage(PushEndpointProcessor.class)
.objectFactory(new PushObjectFactory());
EventBusFactory f = new EventBusFactory();
framework.getAtmosphereConfig().properties().put("evenBus", f.eventBus());
framework.getAtmosphereConfig().startupHook(new AtmosphereConfig.StartupHook() {