1 27 package org.objectweb.jonas_rar.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 import org.objectweb.jonas_lib.deployment.rules.JRuleSetBase; 31 32 37 38 public class TmConfigPropertyRuleSet extends JRuleSetBase { 39 40 44 public TmConfigPropertyRuleSet(String prefix) { 45 super(prefix); 46 } 47 51 52 public void addRuleInstances(Digester digester) { 53 digester.addObjectCreate(prefix + "tm-config-property", 54 "org.objectweb.jonas_rar.deployment.xml.TmConfigProperty"); 55 digester.addSetNext(prefix + "tm-config-property", 56 "addTmConfigProperty", 57 "org.objectweb.jonas_rar.deployment.xml.TmConfigProperty"); 58 digester.addCallMethod(prefix + "tm-config-property/tm-config-property-name", 59 "setTmConfigPropertyName", 0); 60 digester.addCallMethod(prefix + "tm-config-property/tm-config-property-value", 61 "setTmConfigPropertyValue", 0); 62 63 } 64 } 65 | Popular Tags |