Interface Service

All Known Implementing Classes:
BasicRepositoryConnectorFactory, BfDependencyCollector, DefaultArtifactResolver, DefaultDependencyCollector, DefaultDeployer, DefaultInstaller, DefaultLocalRepositoryProvider, DefaultMetadataResolver, DefaultRemoteRepositoryManager, DefaultRepositoryConnectorProvider, DefaultRepositoryEventDispatcher, DefaultRepositoryLayoutProvider, DefaultRepositorySystem, DefaultSyncContextFactory, DefaultSyncContextFactory, DefaultTransporterProvider, DefaultUpdateCheckManager, DfDependencyCollector, EnhancedLocalRepositoryManagerFactory, NamedLockFactoryAdapterFactoryImpl, SimpleLocalRepositoryManagerFactory, Slf4jLoggerFactory, WagonTransporterFactory

@Deprecated public interface Service
Deprecated.
Use of out-of-the-box DI implementation recommended, or, as alternative new supplier from module maven-resolver-supplier.
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

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Provides the opportunity to initialize this service and to acquire other services for its operation from the locator.
  • Method Details

    • initService

      void initService(ServiceLocator locator)
      Deprecated.
      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.