1 26 27 package org.objectweb.jonas_lib.deployment.rules; 28 29 import org.apache.commons.digester.Digester; 30 31 35 public class MessageDestinationRefRuleSet extends JRuleSetBase { 36 37 41 public MessageDestinationRefRuleSet(String prefix) { 42 super(prefix); 43 } 44 45 49 public void addRuleInstances(Digester digester) { 50 digester.addObjectCreate(prefix + "message-destination-ref", 51 "org.objectweb.jonas_lib.deployment.xml.MessageDestinationRef"); 52 digester.addSetNext(prefix + "message-destination-ref", 53 "addMessageDestinationRef", 54 "org.objectweb.jonas_lib.deployment.xml.MessageDestinationRef"); 55 56 digester.addCallMethod(prefix + "message-destination-ref/description", 57 "setDescription", 0); 58 digester.addCallMethod(prefix + "message-destination-ref/message-destination-ref-name", 59 "setMessageDestinationRefName", 0); 60 digester.addCallMethod(prefix + "message-destination-ref/message-destination-type", 61 "setMessageDestinationType", 0); 62 digester.addCallMethod(prefix + "message-destination-ref/message-destination-usage", 63 "setMessageDestinationUsage", 0); 64 digester.addCallMethod(prefix + "message-destination-ref/message-destination-link", 65 "setMessageDestinationLink", 0); 66 67 } 68 69 70 } 71 | Popular Tags |