1 27 28 package org.objectweb.jonas_ws.deployment.rules; 29 30 import org.apache.commons.digester.Digester; 31 import org.objectweb.jonas_lib.deployment.rules.JRuleSetBase; 32 33 38 39 public class ServiceImplBeanRuleSet extends JRuleSetBase { 40 41 45 public ServiceImplBeanRuleSet(String prefix) { 46 super(prefix); 47 } 48 52 53 public void addRuleInstances(Digester digester) { 54 digester.addObjectCreate(prefix + "service-impl-bean", 55 "org.objectweb.jonas_ws.deployment.xml.ServiceImplBean"); 56 digester.addSetNext(prefix + "service-impl-bean", 57 "setServiceImplBean", 58 "org.objectweb.jonas_ws.deployment.xml.ServiceImplBean"); 59 digester.addCallMethod(prefix + "service-impl-bean/ejb-link", 60 "setEjbLink", 0); 61 digester.addCallMethod(prefix + "service-impl-bean/servlet-link", 62 "setServletLink", 0); 63 } 64 } 65 | Popular Tags |