org.codehaus.plexus.collections
public interface ActiveMap extends ActiveCollection, java.util.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 | Field and Description |
---|---|
static java.lang.String |
ROLE |
Modifier and Type | Method and Description |
---|---|
boolean |
checkedContainsKey(java.lang.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(java.lang.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. |
java.util.Set |
checkedEntrySet()
Same as
Map.entrySet() , except this method will throw a
ComponentLookupException if one or more elements in the set fail during lookup. |
java.lang.Object |
checkedGet(java.lang.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. |
java.util.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. |
java.util.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
boolean checkedContainsKey(java.lang.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(java.lang.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.java.util.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.java.lang.Object checkedGet(java.lang.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.java.util.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.java.util.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 © 2014. All Rights Reserved.