org.apache.maven.repository.internal
Class MavenServiceLocator

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

public class MavenServiceLocator
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 assist 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
MavenServiceLocator()
          Creates a new service locator that already knows about all service implementations included in 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

MavenServiceLocator

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



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