1 27 package org.objectweb.jonas_rar.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 import org.objectweb.jonas_lib.deployment.rules.JRuleSetBase; 31 32 37 38 public class InboundResourceadapterRuleSet extends JRuleSetBase { 39 40 44 public InboundResourceadapterRuleSet(String prefix) { 45 super(prefix); 46 } 47 51 52 public void addRuleInstances(Digester digester) { 53 digester.addObjectCreate(prefix + "inbound-resourceadapter", 54 "org.objectweb.jonas_rar.deployment.xml.InboundResourceadapter"); 55 digester.addSetNext(prefix + "inbound-resourceadapter", 56 "setInboundResourceadapter", 57 "org.objectweb.jonas_rar.deployment.xml.InboundResourceadapter"); 58 digester.addRuleSet(new MessageadapterRuleSet(prefix + "inbound-resourceadapter/")); 59 } 60 } 61 | Popular Tags |