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