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:
org.sonatype.aether.spi.locator.ServiceLocator

public class DefaultServiceLocator
extends org.sonatype.aether.impl.internal.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()
          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()
Creates a new service locator that already knows about all service implementations included this library.



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