Class GenericFactory
- All Implemented Interfaces:
 IDigesterFactory
- Direct Known Subclasses:
 JobFactory,ListenerFactory,ParameterFactory
This factory uses the name of the current element for name of the bean, instead of hard-wiring a bean name. The name of current element is prefixed with the string "proto-", to prevent unwanted auto-wiring cascaded of other prototype beans defined in the Spring Factory which are supposed to be defined in the IBIS Configuration File.
 If a className attribute is specified in the configuration file, then
 this is used together with the bean-name to find the bean to be
 instantiated from the Spring Factory (see the rules laid out in
 AbstractSpringPoweredDigesterFactory.
 In particular, the bean-name is ignored when the class-name is specified
 and the Spring Factory contains exactly 1 bean-definition for that
 class.
 
This is useful for those kinds of rules in the digester-rules.xml where the className was always mandatory in older versions, but also for those rules where className is never specified and only 1 possible implementation exists.
NB: The Apache Digester cannot read a factory-create-rule from XML and supply parameters to the factory created from the XML digester-rules, so there is no way to configure a factory instance with a bean-name from the digester-rules.
- Since:
 - 4.8
 - Author:
 - Tim van der Leeuw
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionAll Frank elements must be created via a classNameMethods inherited from class org.frankframework.configuration.digester.AbstractSpringPoweredDigesterFactory
copyAttrsToMap, createBean, createBean, isPrototypesOnly, setDigesterRuleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.frankframework.configuration.digester.IDigesterFactory
setDigester 
- 
Constructor Details
- 
GenericFactory
public GenericFactory() 
 - 
 - 
Method Details
- 
getSuggestedBeanName
All Frank elements must be created via a className- Specified by:
 getSuggestedBeanNamein classAbstractSpringPoweredDigesterFactory- See Also:
 
 
 -