Factory for retrieving ConfigurationDigester instance from BeanFactory, for
use with the 'include' element in the IBIS Configuration XML.
The GenericFactory can not be used because it is not desirable to add an
alias to the bean 'configurationDigester' under the name 'proto-include',
which would be chosen by the GenericFactory, and because the
configurationDigester bean is a singleton instead of a prototype.
Suggest the name of the bean which should be retrieved from
the Spring BeanFactory.
If a className attribute has also been specified in the XML,
then that takes precedence over finding a bean with given
If for the className multiple bean-definitions are found in
the factory, then a bean is selected from those with this
given suggestedBeanName. If no such bean exists, an error is thrown
because the factory can not select between multiple beans.
Return true is only prototype beans from the
Spring Context will be returned, false is
a Spring singleton bean might be returned.
This is hard-coded to return true only in this
class. If a subclass wishes to allow using singleton-beans,
then this method should be overridden.