1 26 27 package org.objectweb.jonas_lib.deployment.rules; 28 29 30 import org.apache.commons.digester.Digester; 31 32 33 37 public class ServiceQnameRuleSet extends JRuleSetBase { 38 39 43 public ServiceQnameRuleSet(String prefix) { 44 super(prefix); 45 } 46 47 51 public void addRuleInstances(Digester digester) { 52 53 digester.addObjectCreate(prefix + "service-qname", 54 "org.objectweb.jonas_lib.deployment.xml.Qname"); 55 56 digester.addRule(prefix + "service-qname", new QNameRule()); 58 59 digester.addSetNext(prefix + "service-qname", 60 "setServiceQname", 61 "org.objectweb.jonas_lib.deployment.xml.Qname"); 62 63 } 64 65 66 } 67 68 | Popular Tags |