Add method to Registrar
Object getRegistered(Object typeOrInstance)
to allow user-defined registrations based on the content of the registered components.
This enhancement is backward compatible for all registrar implementations that extend AbstractRegistrar.
AbstractRegistrar should also expose to subclasses a protected method to access the ComponentRegistry retrieved from the servlet context.