org.apache.maven.repository.internal
Class DefaultServiceLocator

java.lang.Object
  extended by org.sonatype.aether.impl.internal.DefaultServiceLocator
      extended by org.apache.maven.repository.internal.DefaultServiceLocator
All Implemented Interfaces:
ServiceLocator

Deprecated. use MavenServiceLocator instead, which is more explicit.

public class DefaultServiceLocator
extends DefaultServiceLocator

A simple service locator that is already setup with all components from this library. To acquire a complete repository system, clients need to add some repository connectors for remote transfers. Note: This component is meant to assists those clients that employ the repository systems outside of an IoC container, Maven plugins should instead always use regular dependency injection to acquire the repository system.

Author:
Benjamin Bentmann

Constructor Summary
DefaultServiceLocator()
          Deprecated. Creates a new service locator that already knows about all service implementations included this library.
 
Method Summary
 
Methods inherited from class org.sonatype.aether.impl.internal.DefaultServiceLocator
addService, getService, getServices, serviceCreationFailed, setService, setServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultServiceLocator

public DefaultServiceLocator()
Deprecated. 
Creates a new service locator that already knows about all service implementations included this library.



Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.