@PreDestroy
 public void destroy() throws Exception {
   Oort oort = counter.getOort();
   oort.deobserveChannel(CHANNEL);
   BayeuxServer bayeuxServer = oort.getBayeuxServer();
   bayeuxServer.getChannel(CHANNEL).setPersistent(false);
   bayeuxServer.removeListener(this);
   counter.stop();
 }
 @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);
 }