@Init
 public void start() {
   processorRegistry.register(this);
 }
 @Destroy
 public void stop() {
   processorRegistry.unregister(this);
 }
 public CompositeResourceProcessor(
     @Reference ProcessorRegistry processorRegistry, @Reference Loader loader) {
   processorRegistry.register(this);
   this.loader = loader;
   this.xmlFactory = XMLInputFactory.newFactory();
 }