1 25 package org.objectweb.jonas_ws.deployment.rules; 26 27 import org.apache.commons.digester.Digester; 28 29 import org.objectweb.jonas_lib.deployment.rules.JRuleSetBase; 30 31 34 public class JonasWebserviceDescriptionRuleSet extends JRuleSetBase { 35 36 40 public JonasWebserviceDescriptionRuleSet(String prefix) { 41 super(prefix); 42 } 43 44 48 public void addRuleInstances(Digester digester) { 49 digester.addObjectCreate(prefix + "jonas-webservice-description", "org.objectweb.jonas_ws.deployment.xml.JonasWebserviceDescription"); 50 digester.addSetNext(prefix + "jonas-webservice-description", "addJonasWebserviceDescription", 51 "org.objectweb.jonas_ws.deployment.xml.JonasWebserviceDescription"); 52 digester.addCallMethod(prefix + "jonas-webservice-description/webservice-description-name", "setWebserviceDescriptionName", 0); 53 digester.addCallMethod(prefix + "jonas-webservice-description/default-endpoint-uri", "setDefaultEndpointURI", 0); 54 digester.addCallMethod(prefix + "jonas-webservice-description/wsdl-publish-directory", "setWsdlPublishDirectory", 0); 55 56 digester.addRuleSet(new JonasPortComponentRuleSet(prefix + "jonas-webservice-description/")); 58 } 59 60 } | Popular Tags |