Class FrankDigesterRules
java.lang.Object
org.frankframework.configuration.digester.FrankDigesterRules
- All Implemented Interfaces:
org.apache.commons.digester3.binder.RulesModule
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class FrankDigesterRules
extends Object
implements org.apache.commons.digester3.binder.RulesModule, org.springframework.context.ApplicationContextAware
Custom implementation that replaces the old digester-rules.xml file.
Where previously you had to specify a 'create', 'set-properties' and a 'set-next-rule'
In this implementation you only have to call 'createRule(rulesBinder, PATTERN, NEXT-RULE')
- Author:
- Niels Meijer
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFrankDigesterRules
(org.apache.commons.digester3.Digester digester) We need to parse the Digester in case a factory create rule is usedFrankDigesterRules
(org.apache.commons.digester3.Digester digester, Resource digesterRules) -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(org.apache.commons.digester3.binder.RulesBinder rulesBinder) void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext)
-
Field Details
-
DIGESTER_RULES_FILE
- See Also:
-
-
Constructor Details
-
FrankDigesterRules
public FrankDigesterRules(org.apache.commons.digester3.Digester digester) We need to parse the Digester in case a factory create rule is used -
FrankDigesterRules
-
-
Method Details
-
configure
public void configure(org.apache.commons.digester3.binder.RulesBinder rulesBinder) - Specified by:
configure
in interfaceorg.apache.commons.digester3.binder.RulesModule
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
-