1 26 27 package org.objectweb.jonas_lib.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 31 35 public class EjbLocalRefRuleSet extends JRuleSetBase { 36 37 38 42 public EjbLocalRefRuleSet(String prefix) { 43 super(prefix); 44 } 45 46 47 51 public void addRuleInstances(Digester digester) { 52 digester.addObjectCreate(prefix + "ejb-local-ref", 53 "org.objectweb.jonas_lib.deployment.xml.EjbLocalRef"); 54 digester.addSetNext(prefix + "ejb-local-ref", 55 "addEjbLocalRef", 56 "org.objectweb.jonas_lib.deployment.xml.EjbLocalRef"); 57 58 digester.addCallMethod(prefix + "ejb-local-ref/description", 59 "setDescription", 0); 60 digester.addCallMethod(prefix + "ejb-local-ref/ejb-ref-name", 61 "setEjbRefName", 0); 62 digester.addCallMethod(prefix + "ejb-local-ref/ejb-ref-type", 63 "setEjbRefType", 0); 64 digester.addCallMethod(prefix + "ejb-local-ref/local-home", 65 "setLocalHome", 0); 66 digester.addCallMethod(prefix + "ejb-local-ref/local", 67 "setLocal", 0); 68 digester.addCallMethod(prefix + "ejb-local-ref/ejb-link", 69 "setEjbLink", 0); 70 71 72 } 73 74 75 } 76 | Popular Tags |