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