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 ActivationConfigRuleSet extends JRuleSetBase { 41 42 46 public ActivationConfigRuleSet(String prefix) { 47 super(prefix); 48 } 49 53 54 public void addRuleInstances(Digester digester) { 55 digester.addObjectCreate(prefix + "activation-config", 56 "org.objectweb.jonas_ejb.deployment.xml.ActivationConfig"); 57 digester.addSetNext(prefix + "activation-config", 58 "setActivationConfig", 59 "org.objectweb.jonas_ejb.deployment.xml.ActivationConfig"); 60 digester.addCallMethod(prefix + "activation-config/description", 61 "setDescription", 0); 62 digester.addRuleSet(new ActivationConfigPropertyRuleSet(prefix + "activation-config/")); 63 } 64 } 65 | Popular Tags |