org.codehaus.plexus.collections
Class AbstractActiveMap
java.lang.Object
org.codehaus.plexus.collections.AbstractActiveMap
- All Implemented Interfaces:
- Map, ActiveCollection, ActiveMap, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- Direct Known Subclasses:
- DefaultActiveMap
public abstract class AbstractActiveMap
- extends Object
- implements ActiveMap, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.codehaus.plexus.logging.LogEnabled
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Fields inherited from interface org.codehaus.plexus.collections.ActiveMap |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractActiveMap
protected AbstractActiveMap()
AbstractActiveMap
protected AbstractActiveMap(org.codehaus.plexus.PlexusContainer container,
String role)
clear
public void clear()
- Specified by:
clear
in interface Map
put
public Object put(Object arg0,
Object arg1)
- Specified by:
put
in interface Map
putAll
public void putAll(Map arg0)
- Specified by:
putAll
in interface Map
remove
public Object remove(Object key)
- Specified by:
remove
in interface Map
getLogger
protected final org.codehaus.plexus.logging.Logger getLogger()
getMap
protected final Map getMap()
checkedGetMap
protected final Map checkedGetMap()
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLookupException
getRole
public final String getRole()
- Description copied from interface:
ActiveCollection
- Retrive the role, or type of component, which is collected in the current instance. The current
collection will only "contain" elements that specify this role in their component definitions.
- Specified by:
getRole
in interface ActiveCollection
setRole
protected final void setRole(String role)
contextualize
public final void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
- Specified by:
contextualize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- Throws:
org.codehaus.plexus.context.ContextException
enableLogging
public final void enableLogging(org.codehaus.plexus.logging.Logger logger)
- Specified by:
enableLogging
in interface org.codehaus.plexus.logging.LogEnabled
Copyright © 2001-2011 Codehaus. All Rights Reserved.