org.apache.archiva.scheduler.indexing
Class DefaultDownloadRemoteIndexScheduler
java.lang.Object
org.apache.archiva.scheduler.indexing.DefaultDownloadRemoteIndexScheduler
- All Implemented Interfaces:
- ConfigurationListener, DownloadRemoteIndexScheduler
@Service(value="downloadRemoteIndexScheduler#default")
public class DefaultDownloadRemoteIndexScheduler
- extends Object
- implements ConfigurationListener, DownloadRemoteIndexScheduler
- Since:
- 1.4-M1
- Author:
- Olivier Lamy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private org.slf4j.Logger log
taskScheduler
@Inject
@Named(value="taskScheduler#indexDownloadRemote")
private org.springframework.scheduling.TaskScheduler taskScheduler
archivaConfiguration
@Inject
private ArchivaConfiguration archivaConfiguration
wagonFactory
@Inject
private WagonFactory wagonFactory
remoteRepositoryAdmin
@Inject
private RemoteRepositoryAdmin remoteRepositoryAdmin
proxyConnectorAdmin
@Inject
private ProxyConnectorAdmin proxyConnectorAdmin
networkProxyAdmin
@Inject
private NetworkProxyAdmin networkProxyAdmin
plexusSisuBridge
@Inject
private PlexusSisuBridge plexusSisuBridge
mavenIndexerUtils
@Inject
private MavenIndexerUtils mavenIndexerUtils
nexusIndexer
private org.apache.maven.index.NexusIndexer nexusIndexer
indexUpdater
private org.apache.maven.index.updater.IndexUpdater indexUpdater
indexPacker
private org.apache.maven.index.packer.IndexPacker indexPacker
runningRemoteDownloadIds
private List<String> runningRemoteDownloadIds
DefaultDownloadRemoteIndexScheduler
public DefaultDownloadRemoteIndexScheduler()
startup
@PostConstruct
public void startup()
throws ArchivaException,
RepositoryAdminException,
PlexusSisuBridgeException,
IOException,
org.apache.maven.index.context.UnsupportedExistingLuceneIndexException,
DownloadRemoteIndexException
- Throws:
ArchivaException
RepositoryAdminException
PlexusSisuBridgeException
IOException
org.apache.maven.index.context.UnsupportedExistingLuceneIndexException
DownloadRemoteIndexException
shutdown
@PreDestroy
public void shutdown()
throws RepositoryAdminException,
IOException
- Throws:
RepositoryAdminException
IOException
configurationEvent
public void configurationEvent(ConfigurationEvent event)
- Description copied from interface:
ConfigurationListener
- Generic event point to notify components that something has happend in the configuration.
- Specified by:
configurationEvent
in interface ConfigurationListener
scheduleDownloadRemote
public void scheduleDownloadRemote(String repositoryId,
boolean now,
boolean fullDownload)
throws DownloadRemoteIndexException
- Specified by:
scheduleDownloadRemote
in interface DownloadRemoteIndexScheduler
- Throws:
DownloadRemoteIndexException
getTaskScheduler
public org.springframework.scheduling.TaskScheduler getTaskScheduler()
setTaskScheduler
public void setTaskScheduler(org.springframework.scheduling.TaskScheduler taskScheduler)
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.