public class ArchivaStartup extends Object implements javax.servlet.ServletContextListener
Modifier and Type | Field and Description |
---|---|
private org.apache.maven.index.NexusIndexer |
nexusIndexer |
private PlexusSisuBridge |
plexusSisuBridge |
private DefaultRepositoryArchivaTaskScheduler |
repositoryTaskScheduler |
private org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor |
tqeDbScanning |
private org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor |
tqeIndexing |
private org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor |
tqeRepoScanning |
Constructor and Description |
---|
ArchivaStartup() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent contextEvent) |
void |
contextInitialized(javax.servlet.ServletContextEvent contextEvent) |
private ExecutorService |
getExecutorServiceForTTQE(org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor ttqe,
javax.servlet.ServletContext servletContext) |
private void |
stopTaskQueueExecutor(org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor taskQueueExecutor,
javax.servlet.ServletContext servletContext) |
private org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor tqeDbScanning
private org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor tqeRepoScanning
private org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor tqeIndexing
private DefaultRepositoryArchivaTaskScheduler repositoryTaskScheduler
private PlexusSisuBridge plexusSisuBridge
private org.apache.maven.index.NexusIndexer nexusIndexer
public ArchivaStartup()
public void contextInitialized(javax.servlet.ServletContextEvent contextEvent)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent contextEvent)
contextDestroyed
in interface javax.servlet.ServletContextListener
private void stopTaskQueueExecutor(org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor taskQueueExecutor, javax.servlet.ServletContext servletContext)
private ExecutorService getExecutorServiceForTTQE(org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor ttqe, javax.servlet.ServletContext servletContext)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.