Class JmsRealmsFactory
java.lang.Object
org.apache.commons.digester3.AbstractObjectCreationFactory<Object>
org.frankframework.configuration.digester.AbstractSpringPoweredDigesterFactory
org.frankframework.configuration.digester.JmsRealmsFactory
- All Implemented Interfaces:
org.apache.commons.digester3.ObjectCreationFactory<Object>
,IDigesterRuleAware
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
Factory for the JMS Realms instance, which holds all JMS Realm definitions
found in the Configuration File.
This bean is a singleton, not a prototype, which is why the GenericFactory
can not be used.
- Author:
- Tim van der Leeuw
-
Field Summary
Fields inherited from class org.frankframework.configuration.digester.AbstractSpringPoweredDigesterFactory
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSuggest the name of the bean which should be retrieved from the Spring BeanFactory.boolean
Returntrue
is only prototype beans from the Spring Context will be returned,false
is a Spring singleton bean might be returned.Methods inherited from class org.frankframework.configuration.digester.AbstractSpringPoweredDigesterFactory
copyAttrsToMap, createBeanAndAutoWire, createObject, createObject, getApplicationContext, setApplicationContext, setDigesterRule
Methods inherited from class org.apache.commons.digester3.AbstractObjectCreationFactory
getDigester, setDigester
-
Constructor Details
-
JmsRealmsFactory
public JmsRealmsFactory()
-
-
Method Details
-
getSuggestedBeanName
Description copied from class:AbstractSpringPoweredDigesterFactory
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 suggestedBeanName. 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.- Specified by:
getSuggestedBeanName
in classAbstractSpringPoweredDigesterFactory
-
isPrototypesOnly
public boolean isPrototypesOnly()Description copied from class:AbstractSpringPoweredDigesterFactory
Returntrue
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 returntrue
only in this class. If a subclass wishes to allow using singleton-beans, then this method should be overridden.- Overrides:
isPrototypesOnly
in classAbstractSpringPoweredDigesterFactory
- Returns:
true
-