The processor is used in this way:
BayeuxServer bayeux = ...; ServerAnnotationProcessor processor = ServerAnnotationProcessor.get(bayeux); MyService s = new MyService(); processor.process(s);
50515253545556
private ServerAnnotationProcessor processor; @PostConstruct private void init() { this.processor = new ServerAnnotationProcessor(bayeuxServer); }