Package org.geotools.xsd.impl
Class PicoMap
Object
PicoMap
- All Implemented Interfaces:
Map,Disposable,MutablePicoContainer,PicoContainer,Startable
A
Map decorator which implements the MutablePicoContainer interface.
This class is used internally to help transition from pico container to a map based system for registering bindings.
- Author:
- Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(PicoVisitor visitor) booleanaddChildContainer(PicoContainer child) voidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) voiddispose()entrySet()booleanComponentAdaptergetComponentAdapter(Object componentKey) ComponentAdaptergetComponentAdapterOfType(Class componentType) getComponentAdaptersOfType(Class componentType) getComponentInstance(Object componentKey) getComponentInstanceOfType(Class componentType) getComponentInstancesOfType(Class componentType) PicoContainerinthashCode()booleanisEmpty()keySet()MutablePicoContainervoidComponentAdapterregisterComponent(ComponentAdapter componentAdapter) ComponentAdapterregisterComponentImplementation(Class componentImplementation) ComponentAdapterregisterComponentImplementation(Object componentKey, Class componentImplementation) ComponentAdapterregisterComponentImplementation(Object componentKey, Class componentImplementation, Parameter[] parameters) ComponentAdapterregisterComponentInstance(Object componentInstance) ComponentAdapterregisterComponentInstance(Object componentKey, Object componentInstance) booleanremoveChildContainer(PicoContainer child) intsize()voidstart()voidstop()ComponentAdapterunregisterComponent(Object componentKey) ComponentAdapterunregisterComponentByInstance(Object componentInstance) values()voidverify()Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
PicoMap
-
-
Method Details
-
clear
public void clear() -
containsKey
- Specified by:
containsKeyin interfaceMap
-
containsValue
- Specified by:
containsValuein interfaceMap
-
entrySet
-
equals
-
get
-
hashCode
public int hashCode() -
isEmpty
public boolean isEmpty() -
keySet
-
put
-
putAll
-
remove
-
size
public int size() -
values
-
addChildContainer
public boolean addChildContainer(PicoContainer child) - Specified by:
addChildContainerin interfaceMutablePicoContainer
-
makeChildContainer
public MutablePicoContainer makeChildContainer()- Specified by:
makeChildContainerin interfaceMutablePicoContainer
-
registerComponent
public ComponentAdapter registerComponent(ComponentAdapter componentAdapter) - Specified by:
registerComponentin interfaceMutablePicoContainer
-
registerComponentImplementation
- Specified by:
registerComponentImplementationin interfaceMutablePicoContainer
-
registerComponentImplementation
public ComponentAdapter registerComponentImplementation(Object componentKey, Class componentImplementation) - Specified by:
registerComponentImplementationin interfaceMutablePicoContainer
-
registerComponentImplementation
public ComponentAdapter registerComponentImplementation(Object componentKey, Class componentImplementation, Parameter[] parameters) - Specified by:
registerComponentImplementationin interfaceMutablePicoContainer
-
registerComponentInstance
- Specified by:
registerComponentInstancein interfaceMutablePicoContainer
-
registerComponentInstance
- Specified by:
registerComponentInstancein interfaceMutablePicoContainer
-
removeChildContainer
public boolean removeChildContainer(PicoContainer child) - Specified by:
removeChildContainerin interfaceMutablePicoContainer
-
unregisterComponent
- Specified by:
unregisterComponentin interfaceMutablePicoContainer
-
unregisterComponentByInstance
- Specified by:
unregisterComponentByInstancein interfaceMutablePicoContainer
-
accept
public void accept(PicoVisitor visitor) - Specified by:
acceptin interfacePicoContainer
-
getComponentAdapter
- Specified by:
getComponentAdapterin interfacePicoContainer
-
getComponentAdapterOfType
- Specified by:
getComponentAdapterOfTypein interfacePicoContainer
-
getComponentAdapters
- Specified by:
getComponentAdaptersin interfacePicoContainer
-
getComponentAdaptersOfType
- Specified by:
getComponentAdaptersOfTypein interfacePicoContainer
-
getComponentInstance
- Specified by:
getComponentInstancein interfacePicoContainer
-
getComponentInstanceOfType
- Specified by:
getComponentInstanceOfTypein interfacePicoContainer
-
getComponentInstances
- Specified by:
getComponentInstancesin interfacePicoContainer
-
getComponentInstancesOfType
- Specified by:
getComponentInstancesOfTypein interfacePicoContainer
-
getParent
public PicoContainer getParent()- Specified by:
getParentin interfacePicoContainer
-
verify
public void verify() throws PicoVerificationException- Specified by:
verifyin interfacePicoContainer- Throws:
PicoVerificationException
-
start
public void start()- Specified by:
startin interfaceStartable
-
stop
public void stop()- Specified by:
stopin interfaceStartable
-
dispose
public void dispose()- Specified by:
disposein interfaceDisposable
-