@PostConstruct public void construct() throws Exception { counter.start(); Oort oort = counter.getOort(); BayeuxServer bayeuxServer = oort.getBayeuxServer(); bayeuxServer.addListener(this); bayeuxServer.createChannelIfAbsent( CHANNEL, new ConfigurableServerChannel.Initializer.Persistent()); oort.observeChannel(CHANNEL); }