@PostConstruct
 private void initialize() throws RepositoryAdminException {
   try {
     indexCreators = mavenIndexerUtils.getAllIndexCreators();
     indexer = plexusSisuBridge.lookup(NexusIndexer.class);
   } catch (PlexusSisuBridgeException e) {
     throw new RepositoryAdminException(e.getMessage(), e);
   }
   for (RemoteRepository remoteRepository : getRemoteRepositories()) {
     createIndexContext(remoteRepository);
   }
 }
 @Inject
 public NexusIndexerConsumer(
     @Named(value = "archivaTaskScheduler#indexing")
         ArchivaTaskScheduler<ArtifactIndexingTask> scheduler,
     @Named(value = "archivaConfiguration") ArchivaConfiguration configuration,
     FileTypes filetypes,
     PlexusSisuBridge plexusSisuBridge,
     MavenIndexerUtils mavenIndexerUtils,
     ManagedRepositoryAdmin managedRepositoryAdmin)
     throws PlexusSisuBridgeException {
   this.configuration = configuration;
   this.filetypes = filetypes;
   this.scheduler = scheduler;
   this.nexusIndexer = plexusSisuBridge.lookup(NexusIndexer.class);
   this.allIndexCreators = mavenIndexerUtils.getAllIndexCreators();
   this.managedRepositoryAdmin = managedRepositoryAdmin;
 }