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 32 37 public class JonasPortComponentRuleSet extends JRuleSetBase { 38 39 43 public JonasPortComponentRuleSet(String prefix) { 44 super(prefix); 45 } 46 47 51 public void addRuleInstances(Digester digester) { 52 digester.addObjectCreate(prefix + "jonas-port-component", "org.objectweb.jonas_ws.deployment.xml.JonasPortComponent"); 53 digester.addSetNext(prefix + "jonas-port-component", "addJonasPortComponent", 54 "org.objectweb.jonas_ws.deployment.xml.JonasPortComponent"); 55 digester.addCallMethod(prefix + "jonas-port-component/port-component-name", "setPortComponentName", 0); 56 digester.addCallMethod(prefix + "jonas-port-component/endpoint-uri", "setEndpointURI", 0); 57 } 58 59 } 60 | Popular Tags |