org.codehaus.plexus.personality.plexus.lifecycle.phase
Interface ServiceLocator
public interface ServiceLocator
Provides services to components by means of a lookup.
- Author:
- Dan Diephouse
lookup
Object lookup(String componentKey)
throws ComponentLookupException
- Throws:
ComponentLookupException
lookup
Object lookup(String role,
String roleHint)
throws ComponentLookupException
- Throws:
ComponentLookupException
lookupMap
Map lookupMap(String role)
throws ComponentLookupException
- Throws:
ComponentLookupException
lookupList
List lookupList(String role)
throws ComponentLookupException
- Throws:
ComponentLookupException
release
void release(Object component)
throws ComponentLifecycleException
- Throws:
ComponentLifecycleException
releaseAll
void releaseAll(Map components)
throws ComponentLifecycleException
- Throws:
ComponentLifecycleException
releaseAll
void releaseAll(List components)
throws ComponentLifecycleException
- Throws:
ComponentLifecycleException
hasComponent
boolean hasComponent(String componentKey)
hasComponent
boolean hasComponent(String role,
String roleHint)
Copyright © 2001-2008 Codehaus. All Rights Reserved.