org.apache.archiva.web.startup
Class ArchivaStartup

java.lang.Object
  extended by org.apache.archiva.web.startup.ArchivaStartup
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class ArchivaStartup
extends Object
implements javax.servlet.ServletContextListener

ArchivaStartup - the startup of all archiva features in a deterministic order.


Field Summary
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 Summary
ArchivaStartup()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent contextEvent)
           
 void contextInitialized(javax.servlet.ServletContextEvent contextEvent)
           
private  ExecutorService getExecutorServiceForTTQE(org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor ttqe)
           
private  void stopTaskQueueExecutor(org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor taskQueueExecutor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tqeDbScanning

private org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor tqeDbScanning

tqeRepoScanning

private org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor tqeRepoScanning

tqeIndexing

private org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor tqeIndexing

repositoryTaskScheduler

private DefaultRepositoryArchivaTaskScheduler repositoryTaskScheduler

plexusSisuBridge

private PlexusSisuBridge plexusSisuBridge

nexusIndexer

private org.apache.maven.index.NexusIndexer nexusIndexer
Constructor Detail

ArchivaStartup

public ArchivaStartup()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent contextEvent)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent contextEvent)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

stopTaskQueueExecutor

private void stopTaskQueueExecutor(org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor taskQueueExecutor)

getExecutorServiceForTTQE

private ExecutorService getExecutorServiceForTTQE(org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor ttqe)


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.