public class DefaultXMLBeanInfoRegistry extends Object implements XMLBeanInfoRegistry
| Modifier and Type | Field and Description |
|---|---|
private Map |
xmlBeanInfos
Used to associated
XMLBeanInfo's to classes |
| Constructor and Description |
|---|
DefaultXMLBeanInfoRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Flush existing cached
XMLBeanInfo's. |
XMLBeanInfo |
get(Class forThisClass)
Get
XMLBeanInfo from cache. |
void |
put(Class forThisClass,
XMLBeanInfo beanInfo)
Put into cache
|
private Map xmlBeanInfos
XMLBeanInfo's to classespublic XMLBeanInfo get(Class forThisClass)
XMLBeanInfo from cache.get in interface XMLBeanInfoRegistryforThisClass - the class for which to find a XMLBeanInfoXMLBeanInfo associated with given class
or null if no XMLBeanInfo has been associatedpublic void put(Class forThisClass, XMLBeanInfo beanInfo)
put in interface XMLBeanInfoRegistryforThisClass - the class to cache the XMLBeanInfo forbeanInfo - the XMLBeanInfo to cachepublic void flush()
XMLBeanInfo's.flush in interface XMLBeanInfoRegistry