org.codehaus.plexus.personality.plexus.lifecycle.phase
Interface ServiceLocator
- All Known Implementing Classes:
- PlexusContainerLocator
public interface ServiceLocator
lookup
Object lookup(String role)
throws ComponentLookupException
- Throws:
ComponentLookupException
lookup
Object lookup(String role,
String hint)
throws ComponentLookupException
- Throws:
ComponentLookupException
lookupMap
Map<String,Object> lookupMap(String role)
throws ComponentLookupException
- Throws:
ComponentLookupException
lookupList
List<Object> lookupList(String role)
throws ComponentLookupException
- Throws:
ComponentLookupException
release
void release(Object component)
throws ComponentLifecycleException
- Throws:
ComponentLifecycleException
releaseAll
void releaseAll(Map<String,?> components)
throws ComponentLifecycleException
- Throws:
ComponentLifecycleException
releaseAll
void releaseAll(List<?> components)
throws ComponentLifecycleException
- Throws:
ComponentLifecycleException
hasComponent
boolean hasComponent(String role)
hasComponent
boolean hasComponent(String role,
String hint)
Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.