@PostConstruct
 public void start() {
   threadedAgent.start();
 }
 @PreDestroy
 public void stop() {
   threadedAgent.stop();
 }