1 25 26 package org.objectweb.jonas_lib.deployment.rules; 27 28 import org.apache.commons.digester.Digester; 29 30 34 public class JonasServiceRefRuleSet extends JRuleSetBase { 35 36 37 41 public JonasServiceRefRuleSet(String prefix) { 42 super(prefix); 43 } 44 45 46 50 public void addRuleInstances(Digester digester) { 51 digester.addObjectCreate(prefix + "jonas-service-ref", 52 "org.objectweb.jonas_lib.deployment.xml.JonasServiceRef"); 53 digester.addSetNext(prefix + "jonas-service-ref", 54 "addJonasServiceRef", 55 "org.objectweb.jonas_lib.deployment.xml.JonasServiceRef"); 56 57 digester.addCallMethod(prefix + "jonas-service-ref/service-ref-name", 59 "setServiceRefName", 0); 60 61 digester.addCallMethod(prefix + "jonas-service-ref/alt-wsdl", "setAltWsdl", 0); 63 64 digester.addRuleSet(new JonasCustomParamRuleSet(prefix + "jonas-service-ref/", "jonas-init-param", "JonasInitParam")); 66 digester.addRuleSet(new JonasPortComponentRefRuleSet(prefix + "jonas-service-ref/")); 68 } 69 70 } 71 | Popular Tags |