1 27 package org.objectweb.jonas_ejb.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 import org.objectweb.jonas_lib.deployment.rules.JRuleSetBase; 31 32 33 34 39 40 public class ActivationConfigPropertyRuleSet extends JRuleSetBase { 41 42 46 public ActivationConfigPropertyRuleSet(String prefix) { 47 super(prefix); 48 } 49 53 54 public void addRuleInstances(Digester digester) { 55 digester.addObjectCreate(prefix + "activation-config-property", 56 "org.objectweb.jonas_ejb.deployment.xml.ActivationConfigProperty"); 57 digester.addSetNext(prefix + "activation-config-property", 58 "addActivationConfigProperty", 59 "org.objectweb.jonas_ejb.deployment.xml.ActivationConfigProperty"); 60 digester.addCallMethod(prefix + "activation-config-property/activation-config-property-name", 61 "setActivationConfigPropertyName", 0); 62 digester.addCallMethod(prefix + "activation-config-property/activation-config-property-value", 63 "setActivationConfigPropertyValue", 0); 64 } 65 } 66 | Popular Tags |