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 JonasActivationspecRuleSet extends JRuleSetBase { 39 40 44 public JonasActivationspecRuleSet(String prefix) { 45 super(prefix); 46 } 47 48 52 53 public void addRuleInstances(Digester digester) { 54 digester.addObjectCreate(prefix + "jonas-activationspec", 55 "org.objectweb.jonas_rar.deployment.xml.JonasActivationspec"); 56 digester.addSetNext(prefix + "jonas-activationspec", 57 "addJonasActivationspec", 58 "org.objectweb.jonas_rar.deployment.xml.JonasActivationspec"); 59 digester.addCallMethod(prefix + "jonas-activationspec/id", 60 "setId", 0); 61 digester.addCallMethod(prefix + "jonas-activationspec/description", 62 "addDescription", 0); 63 digester.addCallMethod(prefix + "jonas-activationspec/jndi-name", 64 "setJndiName", 0); 65 digester.addCallMethod(prefix + "jonas-activationspec/defaultAS", 66 "setDefaultAS", 0); 67 } 68 } 69 | Popular Tags |