1 26 27 package org.objectweb.jonas_lib.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 31 35 public class JonasMessageDestinationRefRuleSet extends JRuleSetBase { 36 37 41 public JonasMessageDestinationRefRuleSet(String prefix) { 42 super(prefix); 43 } 44 45 49 public void addRuleInstances(Digester digester) { 50 digester.addObjectCreate(prefix + "jonas-message-destination-ref", 51 "org.objectweb.jonas_lib.deployment.xml.JonasMessageDestinationRef"); 52 digester.addSetNext(prefix + "jonas-message-destination-ref", 53 "addJonasMessageDestinationRef", 54 "org.objectweb.jonas_lib.deployment.xml.JonasMessageDestinationRef"); 55 56 digester.addCallMethod(prefix + "jonas-message-destination-ref/message-destination-ref-name", 57 "setMessageDestinationRefName", 0); 58 digester.addCallMethod(prefix + "jonas-message-destination-ref/jndi-name", 59 "setJndiName", 0); 60 61 } 62 63 64 } 65 | Popular Tags |