Plug in registry for XMLBeanInfo 's.
This decouples the implementation of the XMLBeanInfo cache.
Users can plug in the standard implementations found
in this package to switch caching on and off.
Alternatively, they can plug-in an exotic cache of their own devising.
Users can also prime a cache with XMLBeanInfo
classes created programmatically.
To find a XMLBeanInfo for a class,
XMLIntrospector checks in the registry first
before starting introspection.
If the registry returns an XMLBeanInfo , then that's used.
Otherwise, the XMLBeanInfo will be found by standard introspection
and then
XMLBeanInfoRegistry.put will be called so that the registry
can cache - if it wished - the XMLBeanInfo . |