org.eclipse.aether.spi.locator

## Interface Service

- All Known Implementing Classes:
    BasicRepositoryConnectorFactory, ClasspathTransporterFactory, DefaultArtifactResolver, DefaultChecksumPolicyProvider, DefaultDependencyCollector, DefaultDeployer, DefaultInstaller, DefaultLocalRepositoryProvider, DefaultMetadataResolver, DefaultOfflineController, DefaultRemoteRepositoryManager, DefaultRepositoryConnectorProvider, DefaultRepositoryEventDispatcher, DefaultRepositoryLayoutProvider, DefaultRepositorySystem, DefaultTransporterProvider, DefaultUpdateCheckManager, DefaultUpdatePolicyAnalyzer, EnhancedLocalRepositoryManagerFactory, FileTransporterFactory, HttpTransporterFactory, SimpleLocalRepositoryManagerFactory, Slf4jLoggerFactory, WagonTransporterFactory

      public interface Service

  A stateless component of the repository system. The primary purpose of this interface is to provide a convenient means to programmatically wire the several components of the repository system together when it is used outside of an IoC container.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `initService(ServiceLocator locator)` Provides the opportunity to initialize this service and to acquire other services for its operation from the locator.

- - ### Method Detail

    - #### initService

          void initService(ServiceLocator locator)

      Provides the opportunity to initialize this service and to acquire other services for its operation from the locator. A service must not save the reference to the provided service locator.
      Parameters:
        `locator` - The service locator, must not be `null`.

Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.