1 26 27 package org.objectweb.jonas_lib.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 31 35 public class JonasInitParamRuleSet extends JRuleSetBase { 36 37 41 public JonasInitParamRuleSet(String prefix) { 42 super(prefix); 43 } 44 45 49 public void addRuleInstances(Digester digester) { 50 digester.addObjectCreate(prefix + "jonas-init-param", 51 "org.objectweb.jonas_lib.deployment.xml.JonasInitParam"); 52 53 digester.addSetNext(prefix + "jonas-init-param", 54 "addJonasInitParam", 55 "org.objectweb.jonas_lib.deployment.xml.JonasInitParam"); 56 digester.addCallMethod(prefix + "jonas-init-param/param-name", 57 "setParamName", 0); 58 digester.addCallMethod(prefix + "jonas-init-param/param-value", 59 "setParamValue", 0); 60 61 } 62 63 64 } 65 | Popular Tags |