1 26 27 package org.objectweb.jonas_lib.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 31 35 public class PortComponentRefRuleSet extends JRuleSetBase { 36 37 41 public PortComponentRefRuleSet(String prefix) { 42 super(prefix); 43 } 44 45 49 public void addRuleInstances(Digester digester) { 50 digester.addObjectCreate(prefix + "port-component-ref", 51 "org.objectweb.jonas_lib.deployment.xml.PortComponentRef"); 52 53 digester.addSetNext(prefix + "port-component-ref", 54 "addPortComponentRef", 55 "org.objectweb.jonas_lib.deployment.xml.PortComponentRef"); 56 digester.addCallMethod(prefix + "port-component-ref/service-endpoint-interface", 57 "setServiceEndpointInterface", 0); 58 digester.addCallMethod(prefix + "port-component-ref/port-component-link", 59 "setPortComponentLink", 0); 60 } 61 62 63 } 64 | Popular Tags |