1 26 27 package org.objectweb.jonas_lib.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 31 35 public class JonasPortComponentRefRuleSet extends JRuleSetBase { 36 37 41 public JonasPortComponentRefRuleSet(String prefix) { 42 super(prefix); 43 } 44 45 49 public void addRuleInstances(Digester digester) { 50 digester.addObjectCreate(prefix + "jonas-port-component-ref", 51 "org.objectweb.jonas_lib.deployment.xml.JonasPortComponentRef"); 52 53 digester.addSetNext(prefix + "jonas-port-component-ref", "addJonasPortComponentRef", 54 "org.objectweb.jonas_lib.deployment.xml.JonasPortComponentRef"); 55 digester.addCallMethod(prefix + "jonas-port-component-ref/service-endpoint-interface", 56 "setServiceEndpointInterface", 0); 57 58 digester.addRuleSet(new WsdlPortRuleSet(prefix + "jonas-port-component-ref/")); 59 60 digester.addRuleSet(new JonasCustomParamRuleSet(prefix + "jonas-port-component-ref/", "jonas-stub-property", 61 "JonasStubProperty")); 62 digester.addRuleSet(new JonasCustomParamRuleSet(prefix + "jonas-port-component-ref/", "jonas-call-property", 63 "JonasCallProperty")); 64 } 65 66 } | Popular Tags |