public interface ActiveMap extends ActiveCollection, Map
Map
, which is backed by a PlexusContainer
instance, and retrieves a
fresh batch of elements for each method call. Entries consist of
component-role-hint -> component-instance.
UnsupportedOperationException
if a mutator method is called.Modifier and Type | Method and Description |
---|---|
boolean |
checkedContainsKey(Object key)
Same as
Map.containsKey(Object) , except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
boolean |
checkedContainsValue(Object value)
Same as
Map.containsValue(Object) , except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
Set |
checkedEntrySet()
Same as
Map.entrySet() , except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
Object |
checkedGet(Object key)
Same as
Map.get(Object) , except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
Set |
checkedKeySet()
Same as
Map#keySet(Object) , except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
Collection |
checkedValues()
Same as
Map#values(Object) , except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
checkedIsEmpty, checkedSize, getRole, isEmpty, size
static final String ROLE
boolean checkedContainsKey(Object key) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
Map.containsKey(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.boolean checkedContainsValue(Object value) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
Map.containsValue(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.Set checkedEntrySet() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
Map.entrySet()
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.Object checkedGet(Object key) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
Map.get(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.Set checkedKeySet() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
Map#keySet(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.Collection checkedValues() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
Map#values(Object)
, except this method will throw a
ComponentLookupException
if one or more elements in the set fail during lookup.org.codehaus.plexus.component.repository.exception.ComponentLookupException
- if one or more elements of the set fail during lookup.Copyright © 2001-2013 Codehaus. All Rights Reserved.