Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Repository Scanning and Indexing

Registry Listeners

A RegistryListener (plexus-registry) is an interface that receives notification for every change in the Registry. There are a handlful of classes in Archiva that implements this and performs some processes every time there's a change in the configuration.

...

Class

...

What does it do?

...

DuplicateArtifactsConsumer

...

Looks or checks for duplicate artifacts using SHA1 checksum.

...

LocationArtifactsConsumer

...

Validates if the location of the artifact in the repository is correct based on the groupId, artifactId and version specified in the pom.

...

ArtifactMissingChecksumConsumer

...

Create missing checksum for the artifact.

...

ArtifactUpdateDatabaseConsumer

...

 

...

AutoRemoveConsumer

...

 

...

IndexArtifactConsumer

...

Index the artifact checksums for 'Find Artifact' functionality. It stores the data as hashcodes in the index (HashcodesRecord).

...

IndexContentConsumer

...

 

...

ProjectModelToDatabaseConsumer

...

Update database with project model info.

...

ActiveManagedRepositories

...

Provides a real-time listing of the active managed repositories within Archiva.

...

ConfigurationSynchronization

...

Synchronizes the repositories in the configuration file with the database.

...

DefaultArchivaConfiguration

...

Configuration holder that retrieves the configuration from the registry.

...

DefaultCrossRepositorySearch

...

Search across repositories in Lucene indices. It gets or filters which are the managed and indexed repositories.

...

DefaultRepositoryProxyConnectors

...

Handlers for potential repository proxy connectors.

...

DefaultArchivaTaskScheduler

...

Default scheduling component for Archiva.

...

BidirectionalRepositoryLayoutFactory

...

Creates a BidirectionalRepositoryLayout.

...

RepositoryProjectModelResolverFactory

...

Creates ProjectModelResolver objects.

...

RepositoryServlet

...

Configuration and Registry Listeners

...

Database Scanning

The database is scanned and specific consumers process these artifacts.

...